Firefox – JavaScript executed through address bar is not working in Firefox 7, 8

firefoxjavascript

JavaScript executed through address bar is not working in Firefox 7, 8. For example, the code below works in Chrome, when I paste it into the address bar and press Enter:

javascript:alert("hello world!");

In the latest Firefox, it's not working. Why? How can I make it work?

Best Answer

It's a security issue. Other browsers will follow this restriction...

Use firebug instead ;)

Related Question