From 9ab749aabeca95d81b3df570e5d66f4d2d4f6c70 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 23 Jan 2026 18:06:49 -0300 Subject: [PATCH 1/3] boom --- src/plugins/anonymiseFileNames/index.tsx | 2 +- src/plugins/betterRoleDot/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/anonymiseFileNames/index.tsx b/src/plugins/anonymiseFileNames/index.tsx index 3653317fa..fab856912 100644 --- a/src/plugins/anonymiseFileNames/index.tsx +++ b/src/plugins/anonymiseFileNames/index.tsx @@ -24,7 +24,7 @@ import { CloudUpload } from "@vencord/discord-types"; import { findByCodeLazy } from "@webpack"; import { useState } from "@webpack/common"; -const ActionBarIcon = findByCodeLazy(".actionBarIcon"); +const ActionBarIcon = findByCodeLazy(".actionBarIconaaaaaaaaaaa"); const enum Methods { Random, diff --git a/src/plugins/betterRoleDot/index.ts b/src/plugins/betterRoleDot/index.ts index 274d255a8..d2c8d3f31 100644 --- a/src/plugins/betterRoleDot/index.ts +++ b/src/plugins/betterRoleDot/index.ts @@ -29,8 +29,8 @@ export default definePlugin({ patches: [ { - // class used in this module is dotBorderBase - find: "0H16C18.2091", + // Class used in this module is dotBorderBase + find: "M0 4C0 1.79086 1.79086 0 4 0H16C18.2091 0 20 1.79086 20 4V16C20 18.2091 18.2091 20 16 20H4C1.79086 20 0 18.2091 0 16V4Z", replacement: { match: /,viewBox:"0 0 20 20"/, replace: "$&,onClick:()=>$self.copyToClipBoard(arguments[0].color),style:{cursor:'pointer'}", From e25c5db2ab96a62779892ea9560ccfbe9f9d1f96 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 23 Jan 2026 18:25:09 -0300 Subject: [PATCH 2/3] boom 2 --- src/plugins/alwaysAnimate/index.ts | 2 +- src/plugins/copyFileContents/index.tsx | 2 +- src/plugins/fakeNitro/index.tsx | 2 +- src/plugins/fullUserInChatbox/index.tsx | 2 +- src/plugins/gameActivityToggle/index.tsx | 6 +++--- src/plugins/greetStickerPicker/index.tsx | 2 +- src/plugins/roleColorEverywhere/index.tsx | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/plugins/alwaysAnimate/index.ts b/src/plugins/alwaysAnimate/index.ts index 3b3e552e2..8a057c981 100644 --- a/src/plugins/alwaysAnimate/index.ts +++ b/src/plugins/alwaysAnimate/index.ts @@ -49,7 +49,7 @@ export default definePlugin({ }, { // Guild Banner - find: '"data-banner-visible":', + find: "#{intl::DISCOVERABLE_GUILD_HEADER_PUBLIC_INFO}", replacement: { match: /(guildBanner:\i,animate:)\i(?=}\):null)/, replace: "$1!0" diff --git a/src/plugins/copyFileContents/index.tsx b/src/plugins/copyFileContents/index.tsx index 15c0ac7e8..673a204d0 100644 --- a/src/plugins/copyFileContents/index.tsx +++ b/src/plugins/copyFileContents/index.tsx @@ -27,7 +27,7 @@ export default definePlugin({ { find: "#{intl::PREVIEW_BYTES_LEFT}", replacement: { - match: /(?<=fileContents:(\i),bytesLeft:(\i).+?)url:\i,fileName:\i,fileSize:\i}\),(?=.{0,25}setLanguage:)/g, + match: /url:\i,fileName:\i,fileSize:\i}\),(?=.{0,25}setLanguage:)(?<=fileContents:(\i),bytesLeft:(\i).+?)/g, replace: "$&$self.addCopyButton({fileContents:$1,bytesLeft:$2})," } } diff --git a/src/plugins/fakeNitro/index.tsx b/src/plugins/fakeNitro/index.tsx index 4a943e118..7ec2641e3 100644 --- a/src/plugins/fakeNitro/index.tsx +++ b/src/plugins/fakeNitro/index.tsx @@ -186,7 +186,7 @@ export default definePlugin({ find: '.getByName("fork_and_knife")', predicate: () => settings.store.enableEmojiBypass, replacement: { - match: ".CHAT", + match: /\.CHAT/, replace: ".STATUS" } }, diff --git a/src/plugins/fullUserInChatbox/index.tsx b/src/plugins/fullUserInChatbox/index.tsx index 70eca888b..a9d4d61d9 100644 --- a/src/plugins/fullUserInChatbox/index.tsx +++ b/src/plugins/fullUserInChatbox/index.tsx @@ -27,7 +27,7 @@ export default definePlugin({ patches: [ { - // same find as RoleColorEverywhere chatbox mentions + // Same find as RoleColorEverywhere chatbox mentions find: ':"text":', replacement: { match: /(hidePersonalInformation\).+?)(if\(null!=\i\){.+?return \i)(?=})/, diff --git a/src/plugins/gameActivityToggle/index.tsx b/src/plugins/gameActivityToggle/index.tsx index 7504b7cec..832a59fc7 100644 --- a/src/plugins/gameActivityToggle/index.tsx +++ b/src/plugins/gameActivityToggle/index.tsx @@ -28,7 +28,7 @@ import { Menu } from "@webpack/common"; import managedStyle from "./style.css?managed"; -const Button = findComponentByCodeLazy(".GREEN,positionKeyStemOverride"); +const Button = findComponentByCodeLazy(".GREEN,positionKeyStemOverride:"); const ShowCurrentGame = getUserSettingLazy("status", "showCurrentGame")!; @@ -114,8 +114,8 @@ export default definePlugin({ { find: "#{intl::ACCOUNT_SPEAKING_WHILE_MUTED}", replacement: { - match: /className:\i\.\i,.{0,50}children:\[(?=.{0,25}accountContainerRef)/, - replace: "$&$self.GameActivityToggleButton(arguments[0])," + match: /children:\[(?=.{0,25}?accountContainerRef)/, + replace: "children:[$self.GameActivityToggleButton(arguments[0])," } } ], diff --git a/src/plugins/greetStickerPicker/index.tsx b/src/plugins/greetStickerPicker/index.tsx index 734b426c6..db20bd3dd 100644 --- a/src/plugins/greetStickerPicker/index.tsx +++ b/src/plugins/greetStickerPicker/index.tsx @@ -161,7 +161,7 @@ export default definePlugin({ { find: "#{intl::WELCOME_CTA_LABEL}", replacement: { - match: /(?<={channel:\i,message:\i}=(\i).+?)className:\i\.\i,(?=.{0,40}"sticker")/, + match: /className:\i\.\i,(?=.{0,40}?"sticker")(?<={channel:\i,message:\i}=(\i).+?)/, replace: "$&onContextMenu:(vcEvent)=>$self.pickSticker(vcEvent, $1)," } } diff --git a/src/plugins/roleColorEverywhere/index.tsx b/src/plugins/roleColorEverywhere/index.tsx index e97545197..0ef3644e8 100644 --- a/src/plugins/roleColorEverywhere/index.tsx +++ b/src/plugins/roleColorEverywhere/index.tsx @@ -91,7 +91,7 @@ export default definePlugin({ }, // Slate { - // same find as FullUserInChatbox + // Same find as FullUserInChatbox find: ':"text":', replacement: [ { From e5f7ff48bda78cdedc005ed227f7315f809eb35b Mon Sep 17 00:00:00 2001 From: sadan <117494111+sadan4@users.noreply.github.com> Date: Fri, 23 Jan 2026 16:35:16 -0500 Subject: [PATCH 3/3] improve RCE match --- src/plugins/roleColorEverywhere/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/roleColorEverywhere/index.tsx b/src/plugins/roleColorEverywhere/index.tsx index 0ef3644e8..24c837913 100644 --- a/src/plugins/roleColorEverywhere/index.tsx +++ b/src/plugins/roleColorEverywhere/index.tsx @@ -137,7 +137,7 @@ export default definePlugin({ { find: "MessageReactions.render:", replacement: { - match: /tag:"strong",variant:"text-md\/\w+"(?<=onContextMenu:.{0,15}\((\i),(\i),\i\).+?)/, + match: /tag:"strong",variant:"text-md\/medium"(?<=onContextMenu:.{0,15}\((\i),(\i),\i\).+?)/, replace: "$&,style:$self.getColorStyle($2?.id,$1?.channel?.id)" }, predicate: () => settings.store.reactorsList,