I want to be able to run a function in my firefox sidebar js file when the selected tab in the main content window is reloaded or changed. So the sidebar can change depending on the site the user is looking at.
Anyone able to point me in the right direction?
...
If my own sidebar is left open when Firefox is closed, it is shown again on startup. I find this undesirable and would rather it remain hidden until opened manually. Is it possible to stop this happening?
I tried adding this bit of code to my extension's initialisation function in order to close the sidebar if it does appear:
toggleSid...
I am trying to do something like the following in my firefox plugin - I open a sidebar on which I show certain UI elements (like an image) and allow people to drag and drop those images from the sidebar onto the document. I am trying to achieve my goal by doing this:
var currentWindow = Components.classes["@mozilla.org/appshell/wind...
HI,
I am having a Firefox plug-in with sidebar. I am having a function in the sidebar. I want to check for the readiness of the document in the main window. If the main window document is ready, the function inside the sidebar should be called.
The coding should be inside the sidebar JavaScript as the main window content will be from d...
ff-overlay.xul
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://sidebar/skin/overlay.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://sidebar/locale/overlay.dtd">
<overlay id="sidebar-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="overlay.js"/>
<script s...
I'm developing a Firefox extension that runs a local Flash object (SWF and HTML files).
I'm new to extension development so I followed a few web tutorials to run a simple Hello World application in a new window in Firefox. The test extension was simply a popup window that opened when you selected it in Tools menu. All in all, I know tha...
I've been using firefox for Android and really like the use of the sidebar to hold shortcut icons and the like. How would I go about creating a similar bar myself with the following attributes:
progressively revealed as I swipe in one direction
progressively hides as I swipe in the other direction
can be a custom width
I can dynamica...