When I click a URL a redirect is taking place using window.location
I'm trying to see the code behind this html file but since it is redirecting I am unable to view it. How can I view the source code the redirecting file ? Can I force the browser to not execute the javascript code and instead view it ?
Inspect Element PaneRight-click on the page that is generating the redirect and choose "Inspect Element." Chrome opens a pane at the bottom of the browser window that shows all of the HTML code from the site. Scroll up to "<head>" in the Element Inspector and click the arrow next to it to expand the information.
Redirect information will be stored in the transition type of each visit. The current history API only has a boolean flag for redirects.
You can just curl or wget on the page URL from the command line
curl http://page/
Curl does not interpret javascript, so you will get the exact HTTP response!
Go to view-source:http://your-url-here/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With