running javascript from address bar
"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?
Solución elegida
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
Todas las respuestas (1)
Solución elegida
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