From e36e4ce96399db97f80c8833fa6ef2982a249e51 Mon Sep 17 00:00:00 2001 From: sameerasw Date: Tue, 25 Feb 2025 13:58:42 +0530 Subject: initial zeninternet commit - remote css loading from repository - for github.com only --- manifest.json | 130 ++++------------------------------------------------------ 1 file changed, 7 insertions(+), 123 deletions(-) (limited to 'manifest.json') diff --git a/manifest.json b/manifest.json index 6e23666..41693a4 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Transparent Zen", "version": "0.1.10", - "description": "Inject custom styles to make your favorite websites transparent. PLEASE KEEP IN MIND THAT THIS IS STILL WORK IN PROGRESS, SO THINGS MIGHT BREAK!", + "description": "Inject custom styles to make your favorite websites transparent.", "browser_specific_settings": { "gecko": { "id": "{74186d10-f6f2-4f73-b33a-83bb72e50654}" @@ -22,131 +22,15 @@ "default_popup": "popup/popup.html", "default_title": "Transparent Zen" }, + "background": { + "scripts": ["background.js"], + "persistent": false + }, "content_scripts": [ - { - "matches": [""], - "css": ["transparent-zen.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.steampowered.com/*", "*://*.steamcommunity.com/*"], - "css": ["./styles/websites/steam.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.bing.com/*"], - "css": ["./styles/websites/bing.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.amazon.com/*", "*://*.amazon.de/*"], - "css": ["./styles/websites/amazon.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.ddl-warez.cc/*"], - "css": ["./styles/websites/ddl-warez.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.epicgames.com/*"], - "css": ["./styles/websites/epicgames.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.gog.com/*"], - "css": ["./styles/websites/gog.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.kinguin.net/*"], - "css": ["./styles/websites/kinguin.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.kryptex.com/*"], - "css": ["./styles/websites/kryptex.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.lieferando.at/*"], - "css": ["./styles/websites/lieferando.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.proton.me/*"], - "css": ["./styles/websites/proton.css"], - "run_at": "document_start" - }, - { - "matches": ["*://mail.proton.me/*"], - "css": ["./styles/websites/mail.proton.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.wuwatracker.com/*"], - "css": ["./styles/websites/wuwatracker.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.youtube.com/*"], - "css": ["./styles/websites/youtube.css"], - "run_at": "document_start" - }, { "matches": ["*://*.github.com/*"], - "css": ["./styles/websites/github.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.reddit.com/*"], - "css": ["./styles/websites/reddit.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.nexusmods.com/*"], - "css": ["./styles/websites/nexusmods.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.wikipedia.org/*"], - "css": ["./styles/websites/wikipedia.css"], - "run_at": "document_start" - }, - { - "matches": ["*://copilot.microsoft.com/*"], - "css": ["./styles/websites/copilot.microsoft.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.chatgpt.com/*"], - "css": ["./styles/websites/chatgpt.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.chess.com/*"], - "css": ["./styles/websites/chess.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.leetcode.com/*"], - "css": ["./styles/websites/leetcode.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.programiz.com/*"], - "css": ["./styles/websites/programiz.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.duckduckgo.com/*"], - "css": ["./styles/websites/duckduckgo.css"], - "run_at": "document_start" - }, - { - "matches": ["*://*.google.com/*"], - "css": ["./styles/websites/google.css"], + "js": ["inject-css.js"], "run_at": "document_start" } ] -} \ No newline at end of file +} -- cgit v1.2.3