In Firefox version 13, bookmarklets (bookmarks with a javascript:
URL, e.g. javascript: alert(\"it works\")
stopped working. Is there any solution to u
NOTE: this solution no longer appears to work as of FF41. See JS Bookmarklets stopped working in Firefox 41.
If you first load almost any URL, including about:blank, then a Javascript bookmark will work in that tab.
Since Firefox's default behavior for new tabs is about:newtab
, which is nothing, and bookmarklets only run once something is loaded, you can do the following to set a default page, and then run bookmarklets:
about:config
browser.newtab.url
about:newtab
to about:blank
(or URI of your choice)Ctrl-T
and run bookmarklets in new tabs!