Cari Bantuan

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

running javascript from address bar

  • 1 balas
  • 1 memiliki masalah ini
  • 12 kunjungan
  • Balasan terakhir oleh 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?

Solusi terpilih

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

Baca jawaban ini dalam konteks 👍 0

Semua Balasan (1)

more options

Solusi Terpilih

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