mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 14:28:33 +02:00
Make separators page-dependent as well
This commit is contained in:
@@ -40,6 +40,7 @@ chrome.contextMenus.create({
|
||||
chrome.contextMenus.create({
|
||||
id: "separator-1",
|
||||
type: "separator",
|
||||
documentUrlPatterns: ["*://developer.mozilla.org/*"],
|
||||
contexts: ["all"]
|
||||
}, onCreated);
|
||||
|
||||
@@ -64,6 +65,7 @@ chrome.contextMenus.create({
|
||||
chrome.contextMenus.create({
|
||||
id: "separator-2",
|
||||
type: "separator",
|
||||
documentUrlPatterns: ["*://developer.mozilla.org/*"],
|
||||
contexts: ["all"]
|
||||
}, onCreated);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user