04/20/2026 enhance the extension

This commit is contained in:
2026-04-20 16:45:09 -04:00
parent bb000e0aff
commit df8628e71c
2 changed files with 96 additions and 90 deletions
+27 -17
View File
@@ -3,42 +3,52 @@
"name": "PassKeeper",
"version": "1.0.0",
"description": "Autofill and manage your PassKeeper vault",
"permissions": ["storage", "activeTab", "tabs"],
"host_permissions": [
"https://pwkeeper.ngodanguyen.tech/*"
"permissions": [
"storage",
"activeTab",
"tabs",
"idle"
],
"host_permissions": [
"http://*/*",
"https://*/*"
],
"background": {
"service_worker": "background.js"
},
"action": {
"default_popup": "popup/popup.html",
"default_title": "PassKeeper",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"js": ["content/content.js"],
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"content/content.js"
],
"run_at": "document_idle"
},
{
"matches": ["https://pwkeeper.ngodanguyen.tech/*"],
"js": ["bridge/bridge.js"],
"matches": [
"https://pwkeeper.ngodanguyen.tech/*"
],
"js": [
"bridge/bridge.js"
],
"run_at": "document_idle"
}
],
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
}
}