Firefox – How to view a page’s source when a javascript modal popup loads first

firefoxhtmljavascript

Scenario:

You go to a page. Before loading, a javascript modal popup loads. Firebug has yet to pick up on the source. However, this code is obviously living in your browser. How can you view the source, at this time?

EDIT: It appears that this popup is not javascript driven. I have disabled javascript and it still loads. However, it definitely looks like javascript… How would this occur without javscript?

Best Answer

Try prepending 'view-source:' to the URL;

view-source:http://www.google.co.uk

This works in Firefox and Chrome for me.

Related Question