Skip to content

Instantly share code, notes, and snippets.

@mitchmoser
Last active December 28, 2018 23:51
Show Gist options
  • Save mitchmoser/0d1ae23d50b01b6ffca1f1cbfa9964d7 to your computer and use it in GitHub Desktop.
Save mitchmoser/0d1ae23d50b01b6ffca1f1cbfa9964d7 to your computer and use it in GitHub Desktop.
browser.contextMenus.create({
id: "IP",
title: "IP",
contexts: ["selection"]
});
browser.contextMenus.create({
id: "Alien IP",
title: "AlienVault OTX",
contexts: ["selection"],
parentId: "IP",
icons: {
"48": "icons/alien_48.png"
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment