Apr 22 2014
Mozilla has disallowed javascript: execution via the address bar
If you try running javascript code via the address bar (not not from a bookmark) it no longer works as mozilla has disabled it for 2 years now.
Trying the following:
javascript:alert("hello");
Causes the following error to appear in the error console:
Error: uncaught exception: ReferenceError: alert is not defined
This is due to a patch implemented by firefox for security reasons. See:
- Mozilla Support: Bookmarklets not working
- BugĀ 656433 – Disallow javascript: and data: URLs entered into the location bar from inheriting the principal of the currently-loaded page