When I put the script into Google chrome console
seems that when I am redirected to new website the script gets deleted
I need a way to preserve the script when we are redirected to another website.
Any ideas how we can perform such a script with out getting stopped by a redirect?
Here is a sample script that I am using
window.location.href = ‘examplesite.com’;
document.getElementById(‘example’).value = “No”;
After the " window.location.href" is performed the
command will not be preformed.
Thank you for your help