Disable Right Click Admin
document.addEventListener(‘contextmenu’, function(e) { e.preventDefault(); });Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
document.addEventListener(‘contextmenu’, function(e) { e.preventDefault(); });Continue reading
function deleteOmCookie() { document.cookie = “omGlobalInteractionCookie=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;”; } deleteOmCookie();Continue reading
jQuery(‘input[value=”All US States”]’).click(function() { if (this.checked==true) { jQuery(‘fieldset.us_states > div > div > div > input’).prop( “checked”, true ); } else { jQuery(‘fieldset.us_states > div > div > div > input’).prop( “checked”, false ); } }); jQuery(‘input[value^=”Midwest”]’).click(function() { jQuery(‘input[value=”Illinois”],input[value=”Wisconsin”],input[value=”Indiana”],input[value=”North Dakota”],input[value=”South…Continue reading
window.dataLayer = window.dataLayer || []; dataLayer.push({‘en_id’: ‘ENTESTID’, ‘event’:’en_id_set’});Continue reading
var myInterval = setInterval(checkForJquery, 50); function checkForJquery() { if (window.jQuery) { clearInterval(myInterval); fixPageTitles(); } } function fixPageTitles() { /* find the page title */ var originalString = jQuery(‘h1.elementor-heading-title.elementor-size-default’).text(); /* replace raw special characters with the proper HTML entity */ if…Continue reading
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’: new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src= ‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f); })(window,document,’script’,’dataLayer’,’GTM-PS5CP37N’);Continue reading
jQuery(document).ready(function($) { $(‘a[class*=”campaign”]’).addClass(“manual-optin-trigger”); $(‘a[class*=”campaign”]’).attr(“data-optin-slug”, “pm6fnflhiocj7cge”); });Continue reading