Scratchpad defaults to work web windows but wait. You can run scripts for Firefox chrome window, too.
type aout:config
copy and paste devtools.chrome.enabled in Search
double click to set it true
Go Web Developer > Scratchpad > Environment and set it Browser.
Voila! You can run scripts for Firefox main window.
Test it.
alert(window.location.href)
No comments:
Post a Comment