diff options
Diffstat (limited to 'browser')
-rw-r--r-- | browser/Vencord.ts | 18 | ||||
-rw-r--r-- | browser/VencordNativeStub.ts | 18 | ||||
-rw-r--r-- | browser/background.js | 18 | ||||
-rw-r--r-- | browser/content.js | 19 | ||||
-rw-r--r-- | browser/userscript.meta.js | 35 |
5 files changed, 90 insertions, 18 deletions
diff --git a/browser/Vencord.ts b/browser/Vencord.ts index 2d4315d..24976a1 100644 --- a/browser/Vencord.ts +++ b/browser/Vencord.ts @@ -1,3 +1,21 @@ +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + import "./VencordNativeStub"; export * from "../src/Vencord"; diff --git a/browser/VencordNativeStub.ts b/browser/VencordNativeStub.ts index ee093fa..dca7da8 100644 --- a/browser/VencordNativeStub.ts +++ b/browser/VencordNativeStub.ts @@ -1,3 +1,21 @@ +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + import IpcEvents from "../src/utils/IpcEvents"; import * as DataStore from "../src/api/DataStore"; diff --git a/browser/background.js b/browser/background.js index b79c94e..5ffe8e8 100644 --- a/browser/background.js +++ b/browser/background.js @@ -1,3 +1,21 @@ +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + if (typeof browser === "undefined") { var browser = chrome; } diff --git a/browser/content.js b/browser/content.js index 5922e8f..8abf653 100644 --- a/browser/content.js +++ b/browser/content.js @@ -1,4 +1,21 @@ -// This is just the bootstrap script +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + if (typeof browser === "undefined") { var browser = chrome; diff --git a/browser/userscript.meta.js b/browser/userscript.meta.js index e2a3de5..0a73bc0 100644 --- a/browser/userscript.meta.js +++ b/browser/userscript.meta.js @@ -1,20 +1,21 @@ -// ==UserScript== -// @name Vencord -// @description A Discord client mod - Web version -// @version %version% -// @author Vendicated (https://github.com/Vendicated) -// @namespace https://github.com/Vendicated/Vencord -// @supportURL https://github.com/Vendicated/Vencord -// @license GPL-3.0 -// @match *://*.discord.com/* -// @grant none -// @run-at document-start -// @compatible chrome Chrome + Tampermonkey or Violentmonkey -// @compatible firefox Firefox Tampermonkey -// @compatible opera Opera + Tampermonkey or Violentmonkey -// @compatible edge Edge + Tampermonkey or Violentmonkey -// @compatible safari Safari + Tampermonkey or Violentmonkey -// ==/UserScript== +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + // this UserScript DOES NOT work on Firefox with Violentmonkey or Greasemonkey due to a bug that makes it impossible // to overwrite stuff on the window on sites that use CSP. Use Tampermonkey or use a chromium based browser |