Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Learn More

Make firefox load a script on startup or for a particular url pattern

  • 2 përgjigje
  • 1 e ka hasur këtë problem
  • 11 parje
  • Përgjigjja më e re nga sreyan32

more options

Is there any way for Firefox to load a local Javascript file that is stored on the computer to load on startup ? Also similarly is there any way for it to be loaded if and only if the user opens a particular url pattern ? I am not talking about recognizing the exact pattern, maybe just the domain. For example all urls that have the domain of xyz.com. In the first case I want the script to be loaded for all webpages, and in the second case I want it to be loaded for only a select set of webpages. The script must be stored locally on the computer.

Is there any way for Firefox to load a local Javascript file that is stored on the computer to load on startup ? Also similarly is there any way for it to be loaded if and only if the user opens a particular url pattern ? I am not talking about recognizing the exact pattern, maybe just the domain. For example all urls that have the domain of xyz.com. In the first case I want the script to be loaded for all webpages, and in the second case I want it to be loaded for only a select set of webpages. The script must be stored locally on the computer.

Krejt Përgjigjet (2)

more options

See if this will help you. http://en.wikipedia.org/wiki/Bookmarklet

more options

the-edmeister said

See if this will help you. http://en.wikipedia.org/wiki/Bookmarklet

No unfortunately this does not help me. Since the page will not be bookmarked. Also what about loading a script for the whole browser ? Whenever the user makes a request for a web page matching a url pattern then a javascript file present in the local disk will be loaded.

What about the page-mod sdk ? Will that help me ?