Skip to content

Commit 854857a

Browse files
(v1.0.5) Update to Manifest V3
1 parent e3b66c5 commit 854857a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

background.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ chrome.runtime.onInstalled.addListener(function(details) {
1717

1818
chrome.runtime.setUninstallURL("https://chrome.google.com/webstore/detail/dnhngfnfolbmhgealdpolmhimnoliiok/support");
1919

20+
chrome.contextMenus.removeAll();
2021
chrome.contextMenus.create({
2122
id: "review",
2223
title: "🌟 " + chrome.i18n.getMessage("cm_review"),

manifest.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
2-
"manifest_version": 2,
2+
"manifest_version": 3,
33
"name": "__MSG_manifest_name__",
44
"description": "__MSG_manifest_description__",
5-
"version": "1.0.4",
5+
"version": "1.0.5",
66
"background": {
7-
"scripts": ["background.js"],
8-
"persistent": false
7+
"service_worker": "background.js"
98
},
10-
"browser_action": {
9+
"action": {
1110
"default_title": "__MSG_manifest_title__",
1211
"default_icon":"icon.png"
1312
},

0 commit comments

Comments
 (0)