Quellcode durchsuchen

no longer attempts to inject buttons onto no-template pages

master
Haku vor 4 Jahren
Ursprung
Commit
535f8bfb43
1 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen
  1. +9
    -3
      build/manifest.json

+ 9
- 3
build/manifest.json Datei anzeigen

@@ -14,16 +14,22 @@
"https://*.nationstates.net/*"
],
"content_scripts": [
{
"matches": ["https://www.nationstates.net/*"],
"exclude_matches": ["https://forum.nationstates.net/*", "https://www.nationstates.net/template-overall=none/*"],
"run_at": "document_idle",
"js": ["scripts/buttons.js"]
},
{
"matches": ["https://www.nationstates.net/*"],
"exclude_matches": ["https://forum.nationstates.net/*"],
"run_at": "document_end",
"js": ["scripts/buttons.js", "scripts/main.js"]
"run_at": "document_idle",
"js": ["scripts/helpers.js", "scripts/main.js"]
},
{
"matches": ["https://www.nationstates.net/page=blank/raspberry=settings"],
"exclude_matches": ["https://forum.nationstates.net/*"],
"run_at": "document_end",
"run_at": "document_idle",
"js": ["scripts/settings.js"]
}
]

Laden…
Abbrechen
Speichern