From 91b692593fe455e7bc577fb82d3a0f3914fcdbbb Mon Sep 17 00:00:00 2001 From: Tussocky Joker Date: Thu, 26 Feb 2026 20:52:18 +0000 Subject: [PATCH] Added separate manifests for chrome and ff --- .gitignore | 2 ++ manifest_chrome.json | 35 +++++++++++++++++++++++++++++++++++ manifest_ff.json | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 manifest_chrome.json create mode 100644 manifest_ff.json diff --git a/.gitignore b/.gitignore index 7081bde..eeeda61 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ Archive.zip dev-resources content copy.js aula-fixer_v1-2.zip +.env +build_scripts \ No newline at end of file diff --git a/manifest_chrome.json b/manifest_chrome.json new file mode 100644 index 0000000..0fd29bd --- /dev/null +++ b/manifest_chrome.json @@ -0,0 +1,35 @@ +{ + "manifest_version": 3, + "name": "Aula Fixer", + "version": "1.3", + "description": "Removes all notifications about rooms for rent etc. on Aula and changes styling so that less screen space is wasted.", + + "background": { + "service_worker": "background.js", + "scripts": ["background.js"] + }, + + "content_scripts": [ + { + "matches": ["https://coventry.aula.education/*"], + "js": ["content.js"] + } + ], + + "host_permissions": [ + "https://git.wbell.dev/*" + ], + + "web_accessible_resources": [ + { + "resources": ["keywords.txt"], + "matches": ["https://coventry.aula.education/*"] + } + ], + + "browser_specific_settings": { + "gecko": { + "id": "aula-fixer@tussockyjoker.com" + } + } +} \ No newline at end of file diff --git a/manifest_ff.json b/manifest_ff.json new file mode 100644 index 0000000..0fd29bd --- /dev/null +++ b/manifest_ff.json @@ -0,0 +1,35 @@ +{ + "manifest_version": 3, + "name": "Aula Fixer", + "version": "1.3", + "description": "Removes all notifications about rooms for rent etc. on Aula and changes styling so that less screen space is wasted.", + + "background": { + "service_worker": "background.js", + "scripts": ["background.js"] + }, + + "content_scripts": [ + { + "matches": ["https://coventry.aula.education/*"], + "js": ["content.js"] + } + ], + + "host_permissions": [ + "https://git.wbell.dev/*" + ], + + "web_accessible_resources": [ + { + "resources": ["keywords.txt"], + "matches": ["https://coventry.aula.education/*"] + } + ], + + "browser_specific_settings": { + "gecko": { + "id": "aula-fixer@tussockyjoker.com" + } + } +} \ No newline at end of file