1jQuery( document ).ready( function( $ ) { 2 // Make an AJAX call to the pmprolpv_get_restriction_js action. 3 $.ajax( { 4 url: pmprolpv.ajaxurl + '?action=pmprolpv_get_restriction_js', 5 type: 'POST', 6 data: { 7 url: window.location.href 8 }, 9 success: function( response ) { 10 // If the response is not empty, eval it. 11 console.log(response); 12 if (response.success) { 13 // Wrap the response data in a function to avoid illegal return statement 14 var wrappedCode = '(function() {' + response.data + '})();'; 15 eval(wrappedCode); 16 } 17 } 18 } ); 19} );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.