diff --git a/extension/Chrome/background.js b/extension/Chrome/background.js index c822eba..6a9ebd9 100644 --- a/extension/Chrome/background.js +++ b/extension/Chrome/background.js @@ -2,7 +2,7 @@ import { getOptions, openInMPV, updateBrowserAction } from "./common.js"; updateBrowserAction(); -[["page", "url"], ["link", "linkUrl"], ["video", "srcUrl"], ["audio", "srcUrl"]].forEach(([item, linkType]) => { +[["page", "pageUrl"], ["link", "linkUrl"], ["video", "srcUrl"], ["audio", "srcUrl"]].forEach(([item, linkType]) => { chrome.contextMenus.create({ title: `Open this ${item} in mpv`, id: `open${item}inmpv`,