Brian King wrote:
Sounds like the wrong scope, i.e. Try using the window manager to get the browser window (lets call it win), then replace all occurrences of document.getElementById with win.document.getElementById.

But how? Everything I have found was this:
Components.classes["@mozilla.org/appshell/component/browser/instance;1"].getService(Components.interfaces.nsIBrowserInstance);
but it doesn't have 'document' property.

However, the Customize dialog may not function properly if not opened by the main browser window.

I'm aware of this but I want to try.

--
Regards,
Bartosz Piec
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to