Questions tagged [firefox-addon]

Commonly, you should use this tag IN ADDITION TO the tag for the specific type of add-on which you are asking about. At this point, the most common is firefox-addon-webextensions for WebExtensions based add-ons. A Firefox add-on is a way of adding to or modifying the Firefox web browser. Most commonly, questions in this tag are about Firefox extensions, which add new functionality to the browser, although "add-on" may also refer to themes or plugins.

A Firefox add-on is a way of adding to or modifying the Firefox web browser. Most commonly, questions in this tag are about Firefox extensions, which add new functionality to the browser, although "add-on" may also refer to themes or browser plug-ins.

7386 questions
23
votes
3 answers

What is The difference between Firefox extension and plugin?

In Firefox there are plugins and extensions. Could you please explain to me why these addons have different name and tabs ? Does they differ so much so they need different names? I think it's a little unnatural to differ these things, extensions…
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
23
votes
6 answers

Convert Google Chrome Extension to Firefox or Safari extension

Is it possible to convert a Google Chrome extension to a Firefox or Safari browser extension?
21
votes
3 answers

How to specify the Keyword for search engines in Firefox?

It keeps bothering me that I cannot manage the Keyword for "One-click search engines". The keyword could be displayed as follows in Firefox 38.0.1 Through the help link, I found ways to add/hide/remove search engines. However, it did not give any…
llinfeng
  • 1,316
  • 1
  • 15
  • 39
21
votes
3 answers

Altering HTTP Responses in Firefox Extension

How can I alter the HTTP response body in a Firefox extension? I have setup an http-on-examine-response observer and an nsIStreamListener object with the code below. After I get the data, parse it, and alter it, how do I push the altered response…
Nadeem Douba
  • 211
  • 1
  • 2
  • 4
20
votes
4 answers

Is there a way to port a chrome extension to other browsers?

Is there a way to port a chrome extension to other browsers, without having to entirely re-write the code? My chrome extension uses the browser_action command to open "popup.html" in the extension window... Update: I found adblockforchrome port.js…
David
  • 13,619
  • 15
  • 45
  • 51
20
votes
2 answers

How to add java plugin for Firefox on Linux?

I want to add java plugin for FireFox (v10.0.12) on Linux(Centos 5.6 64bit). I have JDK 1.7.0_12 installed, and add a symbolic link to plugin folder under /usr/lib/mozilla to the file libnpjp2.so under (JRE)/lib/amd64/ Followd this…
Frank
  • 1,315
  • 7
  • 24
  • 43
20
votes
5 answers

Logging to console from Firefox extension?

I understand that I can log to the console when using a Firefox extension with the cfx run command. Is there a way to log to a console after the extension has been packaged with cfx xpi? Logging to Firebug is fine if possible. I have found two blog…
David Tuite
  • 22,258
  • 25
  • 106
  • 176
19
votes
3 answers

Firefox add-ons: how to install my own local add-on (extension) permanently in Firefox?

I have my own browser extension with some personal website customizations. Works fine in Chrome, but doesn't work in Firefox. Unlike Chrome, it seems Firefox can't install unpacked extensions or add-ons. Only in debug mode I can do Load Temporary…
RocketNuts
  • 9,958
  • 11
  • 47
  • 88
19
votes
4 answers

Disable cache on specific domains?

Is there a good way to disable cache for specific domains? For example, anytime I start building a new website can I block just that domain from caching? I would prefer the rest of the internet to be cache-able. I am currently using Firefox Web…
Dave
  • 8,879
  • 10
  • 33
  • 46
19
votes
8 answers

What is the difference between a Firefox extension and a Firefox add-on?

The terms "extension" and "add-on" seem interchangeable, but I have seen instances where people seem to mean different things with "extension" vs "add-on." Clarity please?
Crashalot
  • 33,605
  • 61
  • 269
  • 439
19
votes
7 answers

Geolocation provider for Firefox that allows manual input

Are there any easy ways to override the default behaviors of the geolocation api and just hard code your current location? I think this would be useful for testing and for privacy reasons (providing fake location data) I thought there was an add on…
Ryu
  • 8,641
  • 10
  • 65
  • 98
18
votes
5 answers

What programming language is required to create a Firefox plugin?

What are the minimum programming requirements to create a Firefox plugin?
michael
17
votes
3 answers

Firefox Addon SDK: Ways to display options to user?

I'm quite new to addon development with firefox. I picked the addon sdk for porting my chrome extension to firefox. What would you suggest to display a options page / options panel / options window to a user? Loading a options.html file from my…
patchrail
  • 2,007
  • 1
  • 23
  • 33
17
votes
4 answers

How to access add-on content script in Firefox console?

I have developed an add-on for Firefox and Chrome. It has content scripts. I want to access them in the browser tab's console (on Firefox the Web Console). For example, I want to enter a global variable defined in the content script(s) in the…
17
votes
3 answers

Override default jQuery selector context

I'm trying to use jQuery inside a Firefox extension, and actually want to use jQuery to manipulate the DOM of the current page, as opposed to the context of the XUL file. Thus, I load jQuery in my XUL file, and pass it to some of my scripts in a…
pmc255
  • 1,499
  • 2
  • 19
  • 31