Questions tagged [firefox-addon-sdk]

The Add-on SDK is a set of tools and APIs that allow you to create Firefox add-ons using standard web technologies (HTML, CSS, and JavaScript). The SDK includes APIs, a test framework and documentation as well as a command-line tool for creating, running and testing extensions.

The Add-on SDK was an API for creating simple Firefox extensions using standard web technologies (HTML, CSS, and JavaScript). The SDK included APIs, a test framework and documentation as well as a command-line tool for creating, running and testing extensions. Earlier versions of the Add-on SDK were released under the name Jetpack.

The Add-on SDK was deprecated in Firefox 53 and EOL'd in Firefox 57 in favor of WebExtensions. The Add-on SDK is now considered to be a legacy technology, as extensions built with it will not work after Firefox 57.

For general information about Firefox add-ons incl. SDK add-ons, see the tag.


Documentation :

2083 questions
0
votes
2 answers

Getting page title in Firefox add-on using Add-on SDK

I am trying to get page title on every page using new Firefox add-on builder. How can I do that? Edit More info I want to get page title on every page load event .
Vivek Goel
  • 22,942
  • 29
  • 114
  • 186
0
votes
1 answer

how to add a jquery plugi for firefox-extension-developlment using add-on builder

I'm writing a firefox extension and want to solve this problem: how to know when the DOM of an iFrame is ready again after changing its content? I found this Plugin which probably will solve my problem. But I don't know how to add this in my…
Weedjo
  • 335
  • 1
  • 6
  • 17
0
votes
1 answer

Problems Repackaging Mozilla Addon Builder Extension Files

Have made quite a bit of progress in my quest to figuring out the Mozilla extension platform, but am still struggling with a few issues.. Hoping someone here can point me in the right direction once again :) Ok, so here is the issue... I have been…
delta9
  • 403
  • 1
  • 7
  • 16
0
votes
1 answer

Error on xmlrpcresp Object

I'm working on a project that I write a Firefox addon to communicate with a service on my client server. My add send a POST request and then the server encounter an error with xmlrpcresp Object that is: Error: xmlrpcresp Object ( [val] => 0 …
leegor
  • 472
  • 5
  • 15
0
votes
1 answer

Questions on backwards compatibility of Firefox Addons/Extensions

Background info: Over the past week, I have been messing around with Chrome extensions and had no problem creating my extension. Great, Chrome rocks for making the development process very easy to learn, and, well... just easy! Now I have it in my…
delta9
  • 403
  • 1
  • 7
  • 16
0
votes
0 answers

How can I add keyboard navigation to the popup or sidebar UI of a Firefox extension?

I haven't written any extensions but am wondering if this is possible. I did some looking up, it looks like its possible to open an extension's popup with browserAction.openPopup() (MDN link), and have it triggered with a command. You can also open…
0
votes
1 answer

Add-on SDK calling dispatchEvent does not send event from content script to a page

I have simple Firefox extension (based on Add-on SDK) with pageMod. pageMod injects some script to a page, which calls one function: function dispatchEvent(name, data){ try { data = data || {}; // passing some data through html…
0
votes
0 answers

Firefox add-on: background script unloads even though setInterval is running regularly

I am trying to have a second-by-second timer update reliably in a Firefox add-on for more than 2 minutes, it as a Chrome extension, but not in Firefox. I have a simple Firefox add-on that is two files: Here is the manifest.json { "name": "firefox…
pizzaisdavid
  • 455
  • 3
  • 13
0
votes
0 answers

how do I detect if the tab has changed or refreshed in a firefox addon

help!! this is what i have in my javascript file and i am not sure why it is not working. i am trying to set a background image on refresh and tab change. the changing of the background seems to work but the other part does not. anything helps.…
0
votes
0 answers

How should a browser extension modify the elements on an iframe?

There is a web page whose URL is like https://some.site.com/page, but that page itself is just for hosting menus and the real content page, whose URL is like https://some.site.com/realpage,is embedded as an iframe. I want to modify some elements on…
Damn Vegetables
  • 11,484
  • 13
  • 80
  • 135
0
votes
1 answer

Is there a way to modify XML page, like "page-mod" do to the HTML page?

I'm developing a Firefox extension. A HTML page makes a XMLHttpRequest ,parses the response and display it on the page. I want to block this XML response and edit its content in order to affect the display. According to Firefox Add-on SDK document,…
0
votes
1 answer

Firefox extension proxy

I am trying to create a Firefox extension to block search terms on school computers. I'd like to prohibit a list of keywords, but the blocking doesn't seem to be working. I found an example through a plugin gallery…
0
votes
1 answer

Why doesn't the content script open a new window using the windows.create method of the JavaScript APIs for WebExtensions to develop Firefox add-ons?

I'm learning add-ons (browser extensions) development for Mozilla Firefox. I want to create an add-on that lets the user open a new Firefox window containing multiple tabs when he/she presses a keyboard key combination. I'm using windows.create(),…
0
votes
1 answer

How can I anchor a panel to a DOM element in addon-builder?

The addon-builder documentation says this for the panel API, but doesn't go into details: show(anchor) Displays the panel. [ anchor : handle ] A handle to a DOM node in a page to which the panel should appear to be anchored. If not given, the panel…
Jochen Bedersdorfer
  • 4,093
  • 24
  • 26
0
votes
3 answers

firefox addon repack

I create a firefox addon using the addon builder https://builder.addons.mozilla.org/ From there I downloaded the distributable file, but they didnt include an option for setting the addon icon. I heard that by default it uses icon.png, so I unzipped…
Drake
  • 3,851
  • 8
  • 39
  • 48