From 5effa304350764cf86033b8bf3cf19a76dc7e27c Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Tue, 12 May 2026 13:30:37 +0200 Subject: [PATCH] Replace `contextMenus` with `menus` Resolves `webextallexamples` flaws reported by `@mdn/rari`. --- examples.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples.json b/examples.json index 702fa86b..aeb5406a 100644 --- a/examples.json +++ b/examples.json @@ -106,8 +106,8 @@ { "description": "Add a context menu option to links to copy the link to the clipboard, as plain text and as a link in rich HTML.", "javascript_apis": [ - "contextMenus.create", - "contextMenus.onClicked", + "menus.create", + "menus.onClicked", "tabs.executeScript" ], "name": "context-menu-copy-link-with-types" @@ -494,8 +494,8 @@ "description": "Demonstrates how to use the idb-file-storage library to store and manipulate files in an extension.", "javascript_apis": [ "browserAction.onClicked", - "contextMenus.create", - "contextMenus.onClicked", + "menus.create", + "menus.onClicked", "runtime.onMessage", "runtime.sendMessage", "tabs.create",