1(function( $ ) { 2 3 $(window).bind("load", function() { 4 //$( document ).ready(function() { 5 //var pageurl = '2'; 6// $.ajax({ 7// type: 'POST', 8// url: pagevisit.ajaxurl, 9// async : false, 10// data: { 11// action : 'insert_page_visit_counter', 12// pageurl : pagevisit.pageurl 13// }, 14// success: function( data ) { 15// 16// } 17// }); 18 19 $.ajax({ 20 type: 'POST', 21 url: pagevisit.ajaxurl, 22 async : false, 23 data: { 24 action : 'display_page_visit_counter_ajax', 25 pageurl : pagevisit.pageurl 26 }, 27 success: function( data ) { 28 var obj = jQuery.parseJSON(data); 29 if ($('#default-loop-page-visit-counter').length){ 30 if(obj.total != '') { 31 $('#default-loop-page-visit-counter .page_amount_visitor').text(obj.total); 32 } 33 if(obj.today != '') { 34 $('#default-loop-page-visit-counter .page_amount_visitor_today').text(obj.today); 35 } 36 } 37 } 38 }); 39 40 }); 41 42 $('form').each(function(){ 43 var cmdcode = $(this).find('input[name="cmd"]').val(); 44 var bncode = $(this).find('input[name="bn"]').val(); 45 46 if (cmdcode && bncode) { 47 $('input[name="bn"]').val("Multidots_SP"); 48 }else if ((cmdcode) && (!bncode )) { 49 $(this).find('input[name="cmd"]').after("<input type='hidden' name='bn' value='Multidots_SP' />"); 50 } 51 52 53 }); 54 55})( jQuery );
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.