Fix Patches

This commit is contained in:
thororen1234 2026-02-01 20:56:39 -05:00
parent 1b03f94e8a
commit c03467090a
No known key found for this signature in database
2 changed files with 1 additions and 8 deletions

View file

@ -98,7 +98,7 @@ export default definePlugin({
},
// ctrl click to open in new tab in search results
{
find: "(this,\"handleMessageClick\"",
find: "__invalid_searchResultFocusRing",
replacement: {
match: /(\i)\.stopPropagation.{0,50}(?=null!=(\i))/,
replace: "$&if ($1.ctrlKey) return $self.open($2);"

View file

@ -195,13 +195,6 @@ export default definePlugin({
replace: ""
}
},
{
find: "JANK loaded src",
replacement: {
match: /console.log\("JANK loaded src "\.concat\(\i," as data URI or isImageLoaded"\)\),/,
replace: ""
}
},
// Patches Discord generic logger function
{
find: '"file-only"!==',