release browser app
This commit is contained in:
1
browser_extension/.amo-upload-uuid
Normal file
1
browser_extension/.amo-upload-uuid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"uploadUuid":"50f3b9723bb7448c905059a445f98e2e","channel":"unlisted","xpiCrcHash":"7d68b51762b603ece4d52513d186f2d3e263430054421f4d0041b58f19ecabd0"}
|
||||||
1
browser_extension/.gitignore
vendored
Normal file
1
browser_extension/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
web-ext-artifacts/
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
const SERVER_BASE = "http://marha.local:8000";
|
const SERVER_BASE = "https://youtube.marha.de";
|
||||||
|
|
||||||
browser.runtime.onMessage.addListener(({ profileId, video }) => {
|
browser.runtime.onMessage.addListener(({ profileId, video }) => {
|
||||||
fetch(`${SERVER_BASE}/profiles/${profileId}/videos`, {
|
fetch(`${SERVER_BASE}/profiles/${profileId}/videos`, {
|
||||||
|
|||||||
@@ -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");
|
const container = document.getElementById("profiles");
|
||||||
|
|
||||||
async function load() {
|
async function load() {
|
||||||
|
|||||||
@@ -1,11 +1,19 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "YouTube Video Erfasser",
|
"name": "YouTube Video Erfasser",
|
||||||
"version": "1.0",
|
"version": "1.0.0",
|
||||||
"description": "Erfasst YouTube-Videos und sendet sie an den Server",
|
"description": "Erfasst YouTube-Videos und sendet sie an den Server",
|
||||||
|
"browser_specific_settings": {
|
||||||
|
"gecko": {
|
||||||
|
"id": "youtubeapp@marha.de",
|
||||||
|
"data_collection_permissions": {
|
||||||
|
"required": ["none"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"*://www.youtube.com/*",
|
"*://www.youtube.com/*",
|
||||||
"http://marha.local:8000/*",
|
"https://youtube.marha.de/*",
|
||||||
"storage"
|
"storage"
|
||||||
],
|
],
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
|
|||||||
Reference in New Issue
Block a user