1jQuery(document).ready(function($){ 2 3 var el = $('.advanced-browser-check'); 4 5 if(el.length > 0) { // If the wrapper container exists, continue 6 7 var url = el.data('url'); 8 9 if(!$.cookie('abc-hide'))Â { 10 11 var ajax_action = {'action': 'abc_ajax'}; 12 13 $.post(url.abc_url, ajax_action, function(response) { 14 15 if(response) { 16 17 // We will need to add a css class to the body 18 // if we detect IE 6 for combability css to load 19 // properly 20 if ($(response).find('.old-ie').length > 0) { 21 $('body').addClass('abc-old-ie'); 22 } 23 24 // Put in HTML response into the wrapper container 25 el.html(response).show(); 26 27 // Hide the overlay if the close btn is clicked 28 el.on('click','a.abc-hide',function(e){ 29 e.preventDefault(); 30 31 el.fadeOut('slow'); 32 $.cookie("abc-hide", true, { expires: 1, path: '/' }); 33 }); 34 35 } 36 37 }); 38 39 } 40 41 } 42 43});
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.