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": [