fix: background.js, remove: unnecessary permissions

This commit is contained in:
2026-03-18 13:46:03 +01:00
parent e8a14e7e69
commit 3176af094e
7 changed files with 85 additions and 57 deletions

View File

@@ -4,15 +4,12 @@
"version": "4.0",
"description": "Rellena automáticamente el código 2FA en la Universidad de Sevilla.",
"permissions": [
"activeTab",
"scripting",
"tabs",
"storage"
],
"background": {
"service_worker": "background.js",
"service_worker": "scripts/background.js",
"type": "module",
"scripts": ["background.js"]
"scripts": ["scripts/background.js"]
},
"action": {
"default_popup": "index.html"
@@ -22,9 +19,9 @@
},
"content_scripts": [
{
"matches": ["https://sso.us.es/*"],
"matches": ["*://sso.us.es/*"],
"js": ["scripts/content.js"],
"run_at": "document_start"
"run_at": "document_idle"
}
],
"host_permissions": [