1jQuery(document).ready(function($){ 2 // /* ProTip: Javascript can be most performant IF ONLY switching CLASS NAMES */ 3 // var banzaiLINK = $('.menu-item-443 a').prop('href'); 4 // $('.menu-item-443 a').attr('href','#'); 5 // $('.menu-item-443 a').attr('id','banzai_link'); 6 // $('.menu-item-443').on('click', function(e){ 7 // setTimeout(function(){ 8 // window.open(banzaiLINK, '_blank'); 9 // }, 3000); 10 // }); 11 12 /* external link popup schtuffs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 13 var siteURL = 'https://fsbwever.com'; 14 $('a').each(function(index){ 15 let href = $(this).attr('href'); 16 if(href != '' && href !== undefined){ 17 if( href.startsWith(siteURL) || href.startsWith('/') || href.startsWith('tel') || href.startsWith('#') || href.startsWith('https://secure.') ){ 18 /* don't do nothin ... */ 19 }else{ 20 $(this).addClass('external'); 21 console.log('['+index+']'+href); 22 } 23 } 24 }); 25 $('a.external').on('click', function(e){ 26 e.preventDefault(); 27 let href = $(this).attr('href'); 28 $('#leave_site a').attr('href', href); 29 console.log(href); 30 setTimeout(function(){ 31 $('#leave_site a').attr('href', href); 32 $('#stay_here').on('click',function(e){ 33 e.preventDefault(); 34 $('div[id^="elementor-popup-modal-"]').find('.dialog-close-button').click(); 35 }); 36 }, 100); 37 }); 38});
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.