aboutsummaryrefslogtreecommitdiff
path: root/browser
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-22 01:22:44 +0200
committerVendicated <vendicated@riseup.net>2022-10-22 01:22:44 +0200
commit7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac (patch)
tree971ac9d2906651500cc6b505f73f92c9666896ef /browser
parentf92f3f1a5e2aba1ea6d765fd06b8a76217186085 (diff)
downloadVencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.gz
Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.bz2
Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.zip
fix userscript, lint new files
Diffstat (limited to 'browser')
-rw-r--r--browser/Vencord.ts2
-rw-r--r--browser/background.js18
-rw-r--r--browser/content.js19
-rw-r--r--browser/userscript.meta.js34
4 files changed, 18 insertions, 55 deletions
diff --git a/browser/Vencord.ts b/browser/Vencord.ts
index 24976a1..ab27f16 100644
--- a/browser/Vencord.ts
+++ b/browser/Vencord.ts
@@ -1,4 +1,4 @@
-/*
+/*!
* Vencord, a modification for Discord's desktop app
* Copyright (c) 2022 Vendicated and contributors
*
diff --git a/browser/background.js b/browser/background.js
index 5ffe8e8..b79c94e 100644
--- a/browser/background.js
+++ b/browser/background.js
@@ -1,21 +1,3 @@
-/*
- * 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 8abf653..2c4b40e 100644
--- a/browser/content.js
+++ b/browser/content.js
@@ -1,22 +1,3 @@
-/*
- * 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 0a73bc0..81cf3e7 100644
--- a/browser/userscript.meta.js
+++ b/browser/userscript.meta.js
@@ -1,20 +1,20 @@
-/*
- * 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/>.
-*/
+// ==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==
// this UserScript DOES NOT work on Firefox with Violentmonkey or Greasemonkey due to a bug that makes it impossible