საიტის გასაუმჯობესებელი სამუშაოების მიმდინარეობისას, შესაძლებლობების ნაწილი შეიზღუდება. თუ სტატიით ვერ მოახერხებ ხარვეზის გამოსწორება და შეკითხვის დასმა გსურთ, ჩვენი მხარდაჭერის გუნდი დაგეხმარებათ @FirefoxSupport გვერდის მეშვეობით Twitter-ზე და /r/firefox განყოფილებაში Reddit-ზე.

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

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

  • 2 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 1 ნახვა
  • ბოლოს გამოეხმაურა sreyan32

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.

ყველა პასუხი (2)

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

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 ?