diff --git a/build/manifest.json b/build/manifest.json index b3410f1..c792180 100644 --- a/build/manifest.json +++ b/build/manifest.json @@ -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"] } ]