7

Opening an Extension's About box from a FireFox Extension

 3 years ago
source link: http://www.mikechambers.com/blog/2004/11/29/opening-an-extension-s-about-box-from-a-firefox-extension/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Opening an Extension's About box from a FireFox Extension

Monday, November 29, 2004

Here is another quick FireFox extension tip (which took me forever to figure out). This code snippet shows how to open the About box for your extension from within the extension.

var aboutXULPath = "chrome://extensionname/content/about.xul";
openDialog(aboutXULPath, "", "chrome,modal");

Where aboutXULPath is the path to the about box XUL file specified in the extension’s install.rdf file.

Post any suggestions / tips in the comments


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK