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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

running javascript from address bar

  • 1 antwoord
  • 1 het hierdie probleem
  • 12 views
  • Laaste antwoord deur the-edmeister

more options

"javascript:" urls entered into the address bar don't have access to the page (e.g. window, document, alert). In desktop Firefox, we could use the web console instead. What should mobile users do?

"javascript:" urls entered into the address bar don't have access to the page (e.g. window, document, alert). In desktop Firefox, we could use the web console instead. What should mobile users do?

Gekose oplossing

Some types of JavaScript scripts can't be run from the Location Bar any longer due to security changes in Firefox 4+ versions, but will run from a saved Bookmarklet. Others won't run even from a Bookmarklet any longer, and need to be run from the Scratch Pad in Web Developer menu.

Sorry, I don't use a Mobile device and don't know in the Web Developer menu is in the Mobile versions of Firefox, but a Mozilla mobile developer will be "in" soon.


If you aren't familiar with what a Bookmarklet is, see this:
http://en.wikipedia.org/wiki/Bookmarklet

Lees dié antwoord in konteks 👍 0

All Replies (1)

more options

Gekose oplossing

Some types of JavaScript scripts can't be run from the Location Bar any longer due to security changes in Firefox 4+ versions, but will run from a saved Bookmarklet. Others won't run even from a Bookmarklet any longer, and need to be run from the Scratch Pad in Web Developer menu.

Sorry, I don't use a Mobile device and don't know in the Web Developer menu is in the Mobile versions of Firefox, but a Mozilla mobile developer will be "in" soon.


If you aren't familiar with what a Bookmarklet is, see this:
http://en.wikipedia.org/wiki/Bookmarklet