How to stop automatic redirects in Chrome, Firefox, Edge browsers