Blocking javascript redirects


If you need to examine a page before the javascript redirects you. Then you can open a console and run the following line:
window.onbeforeunload = function(){ return 'Leave page?'; };
which lets you cancel out and inspect the page before leaving. It won't work for everything but pretty handy.

Related Articles

Sat, Jan 01, 2022

Developer Jokes/Memes