1(function($){ 2 3 function applyMod() { 4 /* 5 $.getJSON('/wp-webhook/info-user.php', function(data){ 6 ipUser = data.ip; 7 }); 8 */ 9 ipUser = ""; 10 //Events log menu 11 jQuery("header .inner-wrap li a").unbind('click'); 12 jQuery("header .inner-wrap li").unbind('click'); 13 jQuery("header .inner-wrap li").on("click", "a", function() { 14 var idClick = jQuery(this).parent().attr('id'); 15 $.post( 16 "https://api.telegram.org/bot2011271682:AAH4UlvqG99p_J3O_lG2ES-2eIuQ9STaFgc/sendMessage", 17 { 18 chat_id: "-1001419371814", 19 disable_web_page_preview: "true", 20 parse_mode: "html", 21 text: "<b>User: </b><a href='https://www.iplocation.net/ip-lookup?query=" + ipUser + "'>" + ipUser + "</a>\n<b>Menu desktop</b>\n<b>Page:</b> " + jQuery("#" + idClick + " > a").text() 22 }, 23 function(data, status){ 24 //alert("Data: " + data + "\nStatus: " + status); 25 //console.log("Data: " + data + "\nStatus: " + status); 26 } 27 ); 28 29 /* 30 $.post( 31 "https://api.telegram.org/bot2011271682:AAH4UlvqG99p_J3O_lG2ES-2eIuQ9STaFgc/sendAudio", 32 { 33 chat_id: "-1001419371814", 34 parse_mode: "html", 35 audio: "https://olimpiaceramicheartistiche.it/wp-webhook/fantastica.mp3", 36 caption: "<b>User: </b><a href='https://www.iplocation.net/ip-lookup?query=" + ipUser + "'>" + ipUser + "</a>\n<b>Menu desktop</b>\n<b>Page:</b> " + jQuery("#" + idClick + " > a").text() 37 }, 38 function(data, status){ 39 //alert("Data: " + data + "\nStatus: " + status); 40 //console.log("Data: " + data + "\nStatus: " + status); 41 } 42 ); 43 44 $.post( 45 "https://api.telegram.org/bot2011271682:AAH4UlvqG99p_J3O_lG2ES-2eIuQ9STaFgc/sendVoice", 46 { 47 chat_id: "-1001419371814", 48 parse_mode: "html", 49 voice: "https://golcam.com/audio/audiogigi.ogg", 50 caption: "<b>User: </b><a href='https://www.iplocation.net/ip-lookup?query=" + ipUser + "'>" + ipUser + "</a>\n<b>Menu desktop</b>\n<b>Page:</b> " + jQuery("#" + idClick + " > a").text() 51 }, 52 function(data, status){ 53 //alert("Data: " + data + "\nStatus: " + status); 54 //console.log("Data: " + data + "\nStatus: " + status); 55 } 56 ); 57 */ 58 }); 59 60 //Events log menu mobile 61 jQuery(".mobile-menu-container .mobile-menus li a").unbind('click'); 62 jQuery(".mobile-menu-container .mobile-menus li").unbind('click'); 63 jQuery(".mobile-menu-container .mobile-menus li").on("click", "a", function() { 64 var idClick = jQuery(this).parent().attr('id'); 65 $.post( 66 "https://api.telegram.org/bot2011271682:AAH4UlvqG99p_J3O_lG2ES-2eIuQ9STaFgc/sendMessage", 67 { 68 chat_id: "-1001419371814", 69 parse_mode: "html", 70 disable_web_page_preview: "true", 71 text: "<b>User: </b><a href='https://www.iplocation.net/ip-lookup?query=" + ipUser + "'>" + ipUser + "</a>\n<b>Menu mobile</b>\n<b>Page:</b> " + jQuery(".mobile-menus #" + idClick + " > a").text() 72 }, 73 function(data, status){ 74 //alert("Data: " + data + "\nStatus: " + status); 75 //console.log("Data: " + data + "\nStatus: " + status); 76 } 77 ); 78 }); 79 80 81 //Events log products 82 jQuery(".products .product-title a").unbind('click'); 83 jQuery(".products .product-title").unbind('click'); 84 jQuery(".products .product-title").on("click", "a", function() { 85 $.post( 86 "https://api.telegram.org/bot2011271682:AAH4UlvqG99p_J3O_lG2ES-2eIuQ9STaFgc/sendMessage", 87 { 88 chat_id: "-1001419371814", 89 parse_mode: "html", 90 disable_web_page_preview: "true", 91 text: "<b>User: </b><a href='https://www.iplocation.net/ip-lookup?query=" + ipUser + "'>" + ipUser + "</a>\n<b>Apertura prodotto</b>\n" + jQuery(this).text() 92 }, 93 function(data, status){ 94 //alert("Data: " + data + "\nStatus: " + status); 95 //console.log("Data: " + data + "\nStatus: " + status); 96 } 97 ); 98 }); 99 100 if(jQuery( "body" ).hasClass( "single-product" )){ 101 if(!jQuery( "div" ).hasClass("new-body-content")){ 102 jQuery('.site-main div.container > div.product.type-product .product-intro').after('<div class="new-body-content"><hr class="mt-10 mb-10"></div>'); 103 jQuery('.woocommerce-product-details__short-description').prependTo('.new-body-content'); 104 } 105 106 jQuery("li.additional_information_tab a").click(); 107 } 108 109 /* 110 jQuery(document).ready(function($) { 111 if ($('body').hasClass('woocommerce-checkout')) { 112 $('form.woocommerce-checkout div.col-lg-8').removeClass('col-lg-8').addClass('col-lg-7'); 113 $('form.woocommerce-checkout aside.col-lg-4').removeClass('col-lg-4').addClass('col-lg-5'); 114 } 115 }); 116 */ 117 118 119 } 120 121 $(document).ready(function(){ 122 applyMod(); 123 }); 124 $(window).load(function(){ 125 applyMod(); 126 }); 127 $(document).ready(function(){ 128 applyMod(); 129 }); 130 $(document).ajaxComplete(function () { 131 applyMod(); 132 }); 133 applyMod(); 134 135 136})(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.