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
12
votes
2 answers

Where to find source code of Mozilla NoScript extension?

I read in wiki that NoScript is open source http://en.wikipedia.org/wiki/NoScript, but on official site http://noscript.net/, I can't find any sources. So my question is: where to find sources? Or, is there something I did not understand, and the…
Suhan
  • 1,434
  • 2
  • 13
  • 28
12
votes
2 answers

document.activeElement not available on firefox addon's content script only for Gmail

I am developing a Firefox addon using the addon-sdk. This addon adds a menu item to the context menu and user can right click on any edit controls to activate this menu item. Once activated, it shows a small popup with suggestions when user types…
Navaneeth K N
  • 15,295
  • 38
  • 126
  • 184
12
votes
3 answers

Accessing Variables from Greasemonkey to Page & vice versa

I have the following code in test.js which is run right before : alert('stovetop'); alert(greasy); I have the following code in test.user.js: (function () { 'use strict'; var greasy = 'greasy variable'; document.title = 'greasy…
kittycat
  • 14,983
  • 9
  • 55
  • 80
12
votes
2 answers

Extracting an image from a running Flash SWF file?

Is there a way to extract an raw image file from a SWF file that is already running in a browser? I have had limited success by installing FlashFirebug (Firefox 14.0.1) and then doing the following: use "Inspector" to select the Bitmap a tree…
Andrew MacLeod
  • 203
  • 1
  • 2
  • 10
12
votes
4 answers

cross-browser extension development alternatives

I would like to develop a browser extension for all major browsers. From what I've read this can be quite painful, particularly for IE. Before starting with the project, I would like to know what are my basic alternatives. I can think of…
11
votes
3 answers

Add a Keyboard Shortcut to Firefox Extension

I'm developing a Firefox Extension. I added a new item to the "Tools" Menu to open my extension, but I would like to add a keyboard shortcut to open my extension (something like 'control + alt + x').
11
votes
3 answers

inserting local css file with firefox extension

I am building a firefox extension and need to insert some elements and css into the doc. I tried following How can a Firefox extension inject a local css file into a webpage? and Inserting CSS with a Firefox Extension, but had no luck. I know am…
Anidhya Ahuja
  • 883
  • 7
  • 22
11
votes
5 answers

How can I construct an object using an array of values for parameters, rather than listing them out, in JavaScript?

Is this possible? I am creating a single base factory function to drive factories of different types (but have some similarities) and I want to be able to pass arguments as an array to the base factory which then possibly creates an instance of a…
Bjorn
  • 69,215
  • 39
  • 136
  • 164
11
votes
6 answers

Pixel perfect (firebug addon) alternative

I've been using pixel perfect for quite a long time, and grown to love it (despite it's annoyances). Now, when pp is no longer compatibile with fx 6, I'm looking for a tool to replace it. I found x-precise and am one step from buying it, but I don't…
Litek
  • 4,888
  • 1
  • 24
  • 28
11
votes
5 answers

Increase (youtube flash) video's sound volume by means of JavaScript

Background story: many users (including me) browse the web from notebooks that are not constructed for sound performance. That means (besides other things) that the sound volume for most videos is too low, especially if the video itself is recorded…
11
votes
2 answers

Load additional CSS file through browser add on?

Is there a way (eg a firefox add on) that lets you load a CSS file on your hard drive to a site your viewing? Im looking for something similar to firebug but where I can make more complicated changes and refresh the page to see them in…
Evanss
  • 23,390
  • 94
  • 282
  • 505
11
votes
4 answers

Create Firefox addon to fix broken webpage on the fly

At my job they use a "central login" facility on internal webpages. Whenever an internal webpage requires authentication, it forwards you to the central login, and after logging in, it sends you back to the page you were trying to view. The very…
BrianH
  • 7,932
  • 10
  • 50
  • 71
11
votes
1 answer

Inspect Websocket Frames with Firefox Quantum

I want to inspect Websocket frames in Firefox Quantum. I haven't found an option to inspect the frames (as it's possible with Chrome Developer). Is it not possible with Firefox Quantum? Really? What have I missed?
powerpete
  • 2,663
  • 2
  • 23
  • 49
11
votes
3 answers

localStorage in a Firefox extension

I am trying to access the localStorage of a page from a Firefox extension. My understanding is that content gives a reference to the window of the current page. When I try and access the localStorage for the page with content.localStorage, I think…
Alexis
  • 23,545
  • 19
  • 104
  • 143
11
votes
7 answers

Page size: Firefox add on

Does anyone know any Firefox add-on that can show you the size of the current viewing page?
Jack
  • 9,843
  • 23
  • 78
  • 111