From 1ca4371ea09b5261316ae9c9d05d4e03c12cf765 Mon Sep 17 00:00:00 2001 From: Marek Lenczewski Date: Wed, 15 Apr 2026 22:37:53 +0200 Subject: [PATCH] release browser app --- browser_extension/.amo-upload-uuid | 1 + browser_extension/.gitignore | 1 + browser_extension/api/background.js | 2 +- browser_extension/config/popup.js | 2 +- browser_extension/manifest.json | 12 ++++++++++-- 5 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 browser_extension/.amo-upload-uuid create mode 100644 browser_extension/.gitignore diff --git a/browser_extension/.amo-upload-uuid b/browser_extension/.amo-upload-uuid new file mode 100644 index 0000000..cad6680 --- /dev/null +++ b/browser_extension/.amo-upload-uuid @@ -0,0 +1 @@ +{"uploadUuid":"50f3b9723bb7448c905059a445f98e2e","channel":"unlisted","xpiCrcHash":"7d68b51762b603ece4d52513d186f2d3e263430054421f4d0041b58f19ecabd0"} \ No newline at end of file diff --git a/browser_extension/.gitignore b/browser_extension/.gitignore new file mode 100644 index 0000000..6311779 --- /dev/null +++ b/browser_extension/.gitignore @@ -0,0 +1 @@ +web-ext-artifacts/ diff --git a/browser_extension/api/background.js b/browser_extension/api/background.js index dafd8fa..33ace32 100644 --- a/browser_extension/api/background.js +++ b/browser_extension/api/background.js @@ -1,4 +1,4 @@ -const SERVER_BASE = "http://marha.local:8000"; +const SERVER_BASE = "https://youtube.marha.de"; browser.runtime.onMessage.addListener(({ profileId, video }) => { fetch(`${SERVER_BASE}/profiles/${profileId}/videos`, { diff --git a/browser_extension/config/popup.js b/browser_extension/config/popup.js index 81f0a1d..08aefd4 100644 --- a/browser_extension/config/popup.js +++ b/browser_extension/config/popup.js @@ -1,4 +1,4 @@ -const SERVER_URL = "http://marha.local:8000/profiles"; +const SERVER_URL = "https://youtube.marha.de/profiles"; const container = document.getElementById("profiles"); async function load() { diff --git a/browser_extension/manifest.json b/browser_extension/manifest.json index 7deca7b..a131a7a 100644 --- a/browser_extension/manifest.json +++ b/browser_extension/manifest.json @@ -1,11 +1,19 @@ { "manifest_version": 2, "name": "YouTube Video Erfasser", - "version": "1.0", + "version": "1.0.0", "description": "Erfasst YouTube-Videos und sendet sie an den Server", + "browser_specific_settings": { + "gecko": { + "id": "youtubeapp@marha.de", + "data_collection_permissions": { + "required": ["none"] + } + } + }, "permissions": [ "*://www.youtube.com/*", - "http://marha.local:8000/*", + "https://youtube.marha.de/*", "storage" ], "content_scripts": [