Possible Duplicate:
JavaScript alert not working in Firefox 6
I often execute Javascript code in the address bar (mostly for debugging and testing):
javascript:alert(some_function_with_interesting_return_value(‘blah’));
Or – more obvious:
javascript:alert(‘interesting value’);
This doesn’t seem to work anymore with Firefox 6:
Error: uncaught exception: ReferenceError: alert is not defined
How is it possible for alert() not to be defined ?
I’ve double-checked it with Firefox 5, Epiphany, Midori and Chromium – works fine.
I think it’s maybe prevention, because a lot of sites abused this.
https://bugzilla.mozilla.org/show_bug.cgi?id=527530#c6