Showing the single result
(function() { var TARGET = 'https://www.defenderparts.net/my-account/'; function fix() { document.querySelectorAll( 'a.register-link, a[href*="wp-login.php"], a[href*="registration=disabled"]' ).forEach(function(el) { el.setAttribute('href', TARGET); el.onclick = function(e) { e.preventDefault(); window.location.href = TARGET; }; }); } fix(); document.addEventListener('DOMContentLoaded', fix); window.addEventListener('load', fix); setTimeout(fix, 300); setTimeout(fix, 800); setTimeout(fix, 2000); new MutationObserver(fix).observe(document.documentElement, { childList: true, subtree: true }); })();
Showing the single result