From 6bf8d0202ccc2d741e97a875b500d964eaf743a4 Mon Sep 17 00:00:00 2001 From: Vuk Date: Tue, 13 Aug 2024 14:59:10 +0200 Subject: [PATCH] silly chrome store requirements and more boilerplate --- assets/README.md | 2 ++ manifest.json | 19 +++++++++++++++++-- milje.js | 1 + popup.html | 1 + scripts/content.js | 1 + 5 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 assets/README.md create mode 100644 milje.js create mode 100644 scripts/content.js diff --git a/assets/README.md b/assets/README.md new file mode 100644 index 0000000..c510577 --- /dev/null +++ b/assets/README.md @@ -0,0 +1,2 @@ +this is where milje image files go +should be transparent png's \ No newline at end of file diff --git a/manifest.json b/manifest.json index 123b94b..54d484f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,5 +6,20 @@ "action": { "default_popup": "popup.html", "default_icon": "browser-milje.png" - } -} \ No newline at end of file + }, + "icons": { + "16": "assets/icon-16.png", + "32": "assets/icon-32.png", + "48": "assets/icon-48.png", + "128": "assets/icon-128.png" + }, + "content_scripts": [ + { + "js": ["scripts/content.js"], + "matches": [ + "https://developer.chrome.com/docs/extensions/*", + "https://developer.chrome.com/docs/webstore/*" + ] + } + ] +} diff --git a/milje.js b/milje.js new file mode 100644 index 0000000..fa0e347 --- /dev/null +++ b/milje.js @@ -0,0 +1 @@ +console.log("this is where the milje code goes somehow...") \ No newline at end of file diff --git a/popup.html b/popup.html index ab0a495..d28b101 100644 --- a/popup.html +++ b/popup.html @@ -1,5 +1,6 @@

browser-milje!

+ \ No newline at end of file diff --git a/scripts/content.js b/scripts/content.js new file mode 100644 index 0000000..be45556 --- /dev/null +++ b/scripts/content.js @@ -0,0 +1 @@ +//this is probably where the milje code goes \ No newline at end of file