diff --git a/background.js b/background.js index bf3ea76..ed31beb 100644 --- a/background.js +++ b/background.js @@ -24,8 +24,8 @@ chrome.runtime.onInstalled.addListener(async (e) => { chrome.notifications.create({ type: "basic", iconUrl: "icon/icon38_msg.png", - title: "更新至 2.0.5", - message: "增加推荐主题[更多]按钮,修复部分情况会误激活搜索框,如需反馈欢迎 @sciooga" + title: "更新至 2.0.6", + message: "Base64 Decode 改为弹窗、启用右键 sov2ex 时在所有网页生效,如需反馈欢迎 @sciooga" }); // 2.0.0 checkin typo @@ -49,6 +49,14 @@ chrome.runtime.onInstalled.addListener(async (e) => { options.searchShortcut = 1 chrome.storage.sync.set({ options }) } + + // 2.0.6 新增加功能 + if (!data.options.sov2exMenu) { + chrome.contextMenus.update( + "vplus.sov2ex", { + documentUrlPatterns: [''] + }) + } } }) diff --git a/manifest.json b/manifest.json index 14ee15a..1462d60 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "v2ex plus", - "version": "2.0.5", + "version": "2.0.6", "manifest_version": 3, "description": "优雅便捷的 V2EX 扩展", "background": {