Skip to content

Commit

Permalink
Merge pull request #17 from onozaty/16-supports-manifest-v3
Browse files Browse the repository at this point in the history
Supports Manifest v3
  • Loading branch information
onozaty committed May 26, 2024
2 parents 232a83e + 875a209 commit 089371e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/background.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
chrome.browserAction.onClicked.addListener(() => {
chrome.action.onClicked.addListener(() => {
chrome.tabs.create({url: 'ui/index.html', active: true});
});
14 changes: 8 additions & 6 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
{
"name": "__MSG_extensionName__",
"manifest_version": 2,
"version": "2.0.4",
"manifest_version": 3,
"version": "3.0.0",
"author": "onozaty",
"description": "__MSG_extensionDescription__",
"icons": {
"128": "icons/icon128.png"
},
"browser_action": {
"action": {
"default_icon": "icons/icon128.png"
},
"permissions": [
"storage",
"unlimitedStorage",
"unlimitedStorage"
],
"host_permissions": [
"https://api.pinboard.in/*",
"https://www.google.com/bookmarks/*",
"https://b.hatena.ne.jp/*"
],
"background": {
"scripts": ["background.js"]
"service_worker": "background.js"
},
"commands": {
"_execute_browser_action": {
"_execute_action": {
"suggested_key": {
"default": "Ctrl+Shift+O"
}
Expand Down

0 comments on commit 089371e

Please sign in to comment.