unable to run javascript from adressbar
After install firefox 6 I can not eun java from adressbar. I use a script in autohotkey to fill in som forms and send some commands . Example:
javascript:void(document.getElementById("searchButton").click())
to click an button on a page.
Is it any option to alow javascript from adress bar ?
If not, Is it possible to get and install Firefox 5. ?
Regards Dioden
All Replies (1)
That is the result of this bug;
- Bug 656433 – Disallow javascript: and data: URLs entered into the location bar from inheriting the principal of the currently-loaded page
(please do not comment in bug reports; you can vote instead)
You can create a keyword bookmark (e.g. eval) with this code to run the code via the location bar.
That seems to work.
javascript:void(eval('%s'));
Test code on this page:
javascript:void(document.getElementById("show-more-details").click());
Modified