Questions tagged [firefox-sidebar]
19 questions
0
votes
1 answer
How to toggle sidebar in firefox
I want to toggle a sidebar on toolbar icon click. I define my toolbar in ff-sidebar.js file:
var mainWindow = null;
function startup() {
mainWindow = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
…

DarkLeafyGreen
- 69,338
- 131
- 383
- 601
0
votes
1 answer
Get url to mozilla sidebar with javascript
I'm trying to develop a mozilla sidebar.
I would like to send the url of the current webpage to my sidebar so i can do something with it.
I've tried with window.location.hostname and other stuff and the only thing i get is the location of my…
0
votes
1 answer
Is it possible to implement a Firefox add-on in XUL containing 2 sidebars?
I'm implementing a Firefox add-on which is a sidebar coded in XUL. Now I would like to implement a second sidebar that I could display at the same time than the first sidebar in the same add-on. So basically I would like to have one left sidebar and…

Claire
- 11
-1
votes
1 answer
Firefox Add-on SDK: communicating objects between a sidebar and the main script
I am hacking away at my first addon, so the problem I am running into probably has either an obvious solution or my general approach is flawed.
I am using the Add-on SDK. My lib/main.js contains an object foo. The data directory has the files…

timgeb
- 76,762
- 20
- 123
- 145