feat: add chrome extension

This commit is contained in:
Steven
2023-07-11 08:37:27 +08:00
parent 28df6e35fb
commit 1cbab78989
6 changed files with 87 additions and 2 deletions

18
extension/manifest.json Normal file
View File

@@ -0,0 +1,18 @@
{
"name": "Shortify",
"description": "",
"version": "0.1.0",
"manifest_version": 3,
"omnibox": {
"keyword": "s/"
},
"action": {
"default_popup": "popup.html"
},
"background": {
"service_worker": "background.js",
"type": "module"
},
"permissions": ["tabs", "activeTab", "storage"],
"host_permissions": ["*://s/*"]
}