ContextMenus do not work in Edge

By design Issue #9529523


Mohamed M.
Oct 26, 2016
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I am creating a simple extension, but the background page doesn’t recognize chrome.contextMenus, what am I doing wrong?

// Always returning false
if (!chrome.contextMenus) {
  console.error('Cannot find contextmenus')

The manifest has the proper permissions:

  "permissions" : ["contextMenus" ],


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Assigned To from “Brad E.” to “Chee C.”

    Changed Status to “Confirmed”

    Changed Status from “Confirmed” to “By design”

  • Edge extensions use the browser.* namespace instead of the chrome.* namespace. If you replace chrome with browser and add "persistent": true to your background field in the manifest, your extension should start working as expected.

    We’ll update our documentation to make sure that the change in namespace is explicitly called out. Thanks for bringing this to our attention!

You need to sign in to your Microsoft account to add a comment.

Sign in