Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

unable to run javascript from adressbar

  • 1 reply
  • 11 have this problem
  • 1 view
  • Last reply by cor-el

more options

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

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)

more options

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 by cor-el