Skip to content

Instantly share code, notes, and snippets.

@freaktechnik
Last active August 29, 2015 14:25
Show Gist options
  • Save freaktechnik/34f4541c4f31c9842ec4 to your computer and use it in GitHub Desktop.
Save freaktechnik/34f4541c4f31c9842ec4 to your computer and use it in GitHub Desktop.
var am = require("sdk/preferences/utils");
var self = require("sdk/self");
// Open the add-on manager with the preference page for this add-on.
am.open(self);
// Returns a promise that resolves once the tab is open.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment