From ba2f761e1bbc904808f0d47bee78a6607a8f8175 Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 5 Apr 2023 20:40:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=202.0.6=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 12 ++++++++++-- manifest.json | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) 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": {