Skip to content

Commit

Permalink
发布 2.0.6 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
p0we7 committed Apr 5, 2023
1 parent 89c725e commit ba2f761
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions background.js
Expand Up @@ -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
Expand All @@ -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: ['<all_urls>']
})
}
}
})

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
@@ -1,6 +1,6 @@
{
"name": "v2ex plus",
"version": "2.0.5",
"version": "2.0.6",
"manifest_version": 3,
"description": "优雅便捷的 V2EX 扩展",
"background": {
Expand Down

0 comments on commit ba2f761

Please sign in to comment.