Compare commits

...

2 Commits

Author SHA1 Message Date
39d508ced3
Use a different image since userscript icons don't animate 2024-12-27 17:37:41 +00:00
d4e4ca94bb
Rebrand userscript 2024-12-27 17:29:45 +00:00
8 changed files with 43 additions and 24 deletions

View File

@ -1,4 +1,4 @@
From 412e2a5246226a3f2b330d62eb9a04fec7ae7cdb Mon Sep 17 00:00:00 2001 From 8c6b81abedb92547879abe1497c80b732178383e Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Wed, 24 Apr 2024 23:30:05 +0100 Date: Wed, 24 Apr 2024 23:30:05 +0100
Subject: [PATCH 1/8] Remove donator badges Subject: [PATCH 1/8] Remove donator badges
@ -26,10 +26,10 @@ index 7a041f1..fefbd43 100644
return badges; return badges;
} }
diff --git a/src/plugins/_api/badges/index.tsx b/src/plugins/_api/badges/index.tsx diff --git a/src/plugins/_api/badges/index.tsx b/src/plugins/_api/badges/index.tsx
index c44d98b..28a7edb 100644 index d02b5e1..64ccb8b 100644
--- a/src/plugins/_api/badges/index.tsx --- a/src/plugins/_api/badges/index.tsx
+++ b/src/plugins/_api/badges/index.tsx +++ b/src/plugins/_api/badges/index.tsx
@@ -41,19 +41,6 @@ const ContributorBadge: ProfileBadge = { @@ -43,19 +43,6 @@ const ContributorBadge: ProfileBadge = {
onClick: (_, { userId }) => openContributorModal(UserStore.getUser(userId)) onClick: (_, { userId }) => openContributorModal(UserStore.getUser(userId))
}; };
@ -49,7 +49,7 @@ index c44d98b..28a7edb 100644
export default definePlugin({ export default definePlugin({
name: "BadgeAPI", name: "BadgeAPI",
description: "API to add badges to users.", description: "API to add badges to users.",
@@ -89,20 +76,8 @@ export default definePlugin({ @@ -91,20 +78,8 @@ export default definePlugin({
} }
], ],
@ -70,7 +70,7 @@ index c44d98b..28a7edb 100644
}, },
getBadges(props: { userId: string; user?: User; guildId: string; }) { getBadges(props: { userId: string; user?: User; guildId: string; }) {
@@ -122,74 +97,4 @@ export default definePlugin({ @@ -124,74 +99,4 @@ export default definePlugin({
const Component = badge.component!; const Component = badge.component!;
return <Component {...badge} />; return <Component {...badge} />;
}, { noop: true }), }, { noop: true }),
@ -146,5 +146,5 @@ index c44d98b..28a7edb 100644
- } - }
}); });
-- --
2.46.1 2.47.1

View File

@ -1,14 +1,15 @@
From f9329b5410af89414658bfa063fde81052dcfaf4 Mon Sep 17 00:00:00 2001 From cb7cd2ea4ead4d6e90bdbc954afeb2d512de6212 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Sat, 8 Jun 2024 22:58:09 +0100 Date: Fri, 27 Dec 2024 17:36:49 +0000
Subject: [PATCH 2/8] Small rebrand Subject: [PATCH 2/8] Small rebrand
There's a litevex in here! It's got my gun!!! AHHHHHHHH There's a litevex in here! It's got my gun!!! AHHHHHHHH
--- ---
README.md | 48 ++++++++----------- README.md | 48 ++++++++-----------
browser/userscript.meta.js | 4 +-
src/components/VencordSettings/VencordTab.tsx | 4 +- src/components/VencordSettings/VencordTab.tsx | 4 +-
src/plugins/vencordToolbox/index.tsx | 10 ++-- src/plugins/vencordToolbox/index.tsx | 10 ++--
3 files changed, 28 insertions(+), 34 deletions(-) 4 files changed, 30 insertions(+), 36 deletions(-)
diff --git a/README.md b/README.md diff --git a/README.md b/README.md
index 61575d4..995af92 100644 index 61575d4..995af92 100644
@ -103,6 +104,24 @@ index 61575d4..995af92 100644
</details> </details>
+ +
+big big chungus big chungus big chungus +big big chungus big chungus big chungus
diff --git a/browser/userscript.meta.js b/browser/userscript.meta.js
index 1d986aa..922212a 100644
--- a/browser/userscript.meta.js
+++ b/browser/userscript.meta.js
@@ -1,11 +1,11 @@
// ==UserScript==
-// @name Vencord
+// @name Vexcord
// @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
-// @icon https://raw.githubusercontent.com/Vendicated/Vencord/refs/heads/main/browser/icon.png
+// @icon https://critter.1024x2.xyz/i/0b284d16.png
// @license GPL-3.0
// @match *://*.discord.com/*
// @grant GM_xmlhttpRequest
diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx
index 97f82e7..675682e 100644 index 97f82e7..675682e 100644
--- a/src/components/VencordSettings/VencordTab.tsx --- a/src/components/VencordSettings/VencordTab.tsx
@ -148,5 +167,5 @@ index 00805fb..7d935f4 100644
/> />
)} )}
-- --
2.46.1 2.47.1

View File

@ -1,4 +1,4 @@
From e3f248dc270bf91a3977bc221f60d9d457a779cb Mon Sep 17 00:00:00 2001 From f90908ad67f438a496a4e2fda772ae39f61863ac Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Thu, 13 Jun 2024 01:00:35 +0100 Date: Thu, 13 Jun 2024 01:00:35 +0100
Subject: [PATCH 3/8] Experiments: Re-add staging banner Subject: [PATCH 3/8] Experiments: Re-add staging banner
@ -55,5 +55,5 @@ index 82e20f7..5337d36 100644
], ],
-- --
2.46.1 2.47.1

View File

@ -1,4 +1,4 @@
From b093ee83a2038b3f7fd8fbed5d02e0089408551d Mon Sep 17 00:00:00 2001 From fae74dc16950e9d71e87ad47a514e53c708296c8 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Sat, 9 Mar 2024 08:00:55 +0000 Date: Sat, 9 Mar 2024 08:00:55 +0000
Subject: [PATCH 4/8] Updater: don't prompt for updates when on a local branch Subject: [PATCH 4/8] Updater: don't prompt for updates when on a local branch
@ -26,5 +26,5 @@ index 1955f7d..0226565 100644
const commits = res.stdout.trim(); const commits = res.stdout.trim();
return commits ? commits.split("\n").map(line => { return commits ? commits.split("\n").map(line => {
-- --
2.46.1 2.47.1

View File

@ -1,4 +1,4 @@
From ebb54d88ead73a80d3874020a798ccdc21119563 Mon Sep 17 00:00:00 2001 From 84d6aa9b4075d8d216e3b0ed9deced29dd687aca Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Wed, 27 Dec 2023 15:05:44 +0000 Date: Wed, 27 Dec 2023 15:05:44 +0000
Subject: [PATCH 5/8] Enable CSP bypass on stock discord desktop client Subject: [PATCH 5/8] Enable CSP bypass on stock discord desktop client
@ -25,5 +25,5 @@ index 5519d47..64e71c1 100644
let url = unsafeUrl.slice("vencord://".length); let url = unsafeUrl.slice("vencord://".length);
if (url.endsWith("/")) url = url.slice(0, -1); if (url.endsWith("/")) url = url.slice(0, -1);
-- --
2.46.1 2.47.1

View File

@ -1,4 +1,4 @@
From 7e2d8a5d6a1a1b54d6f423469cae5c6d7841feb1 Mon Sep 17 00:00:00 2001 From 5c6c76982665439c360e1016ffa48059ac640919 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Sun, 21 Apr 2024 21:22:25 +0100 Date: Sun, 21 Apr 2024 21:22:25 +0100
Subject: [PATCH 6/8] Updater: Disable auto-update by default Subject: [PATCH 6/8] Updater: Disable auto-update by default
@ -21,5 +21,5 @@ index ac116f5..0f4c269 100644
useQuickCss: true, useQuickCss: true,
themeLinks: [], themeLinks: [],
-- --
2.46.1 2.47.1

View File

@ -1,4 +1,4 @@
From 7032f3b6764ccf0b616a58f63aebb5208c9ddcfe Mon Sep 17 00:00:00 2001 From e48496af9f7ab356d864840882aeda533034c6d9 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Sat, 20 Jul 2024 00:21:22 +0100 Date: Sat, 20 Jul 2024 00:21:22 +0100
Subject: [PATCH 7/8] SupportHelper: Disable running arbitrary code snippets Subject: [PATCH 7/8] SupportHelper: Disable running arbitrary code snippets
@ -9,10 +9,10 @@ Why is this even a thing?
1 file changed, 22 deletions(-) 1 file changed, 22 deletions(-)
diff --git a/src/plugins/_core/supportHelper.tsx b/src/plugins/_core/supportHelper.tsx diff --git a/src/plugins/_core/supportHelper.tsx b/src/plugins/_core/supportHelper.tsx
index 432896f..60461f3 100644 index 1b9ce16..131b430 100644
--- a/src/plugins/_core/supportHelper.tsx --- a/src/plugins/_core/supportHelper.tsx
+++ b/src/plugins/_core/supportHelper.tsx +++ b/src/plugins/_core/supportHelper.tsx
@@ -300,28 +300,6 @@ export default definePlugin({ @@ -301,28 +301,6 @@ export default definePlugin({
</Button> </Button>
); );
} }
@ -42,5 +42,5 @@ index 432896f..60461f3 100644
return buttons.length return buttons.length
-- --
2.46.1 2.47.1

View File

@ -1,4 +1,4 @@
From 15830c1db71d6fb675711cbd6beb06c6d92cc224 Mon Sep 17 00:00:00 2001 From 7ee8704f2a2db14893b38ae31ca482689f217ac4 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Sat, 20 Jul 2024 00:04:36 +0100 Date: Sat, 20 Jul 2024 00:04:36 +0100
Subject: [PATCH 8/8] =?UTF-8?q?ReplaceGoogleSearch:=20=E9=87=8D=E6=96=B0?= Subject: [PATCH 8/8] =?UTF-8?q?ReplaceGoogleSearch:=20=E9=87=8D=E6=96=B0?=
@ -25,5 +25,5 @@ index 593c986..2b0022d 100644
Reddit: "https://www.reddit.com/search?q=", Reddit: "https://www.reddit.com/search?q=",
Wikipedia: "https://wikipedia.org/w/index.php?search=", Wikipedia: "https://wikipedia.org/w/index.php?search=",
-- --
2.46.1 2.47.1