mike chambers | about

Opening an Extension's About box from a FireFox Extension

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

twitter github flickr behance