diff --git a/src/equicordplugins/channelTabs/index.tsx b/src/equicordplugins/channelTabs/index.tsx index 0743fb3c..06d5abd6 100644 --- a/src/equicordplugins/channelTabs/index.tsx +++ b/src/equicordplugins/channelTabs/index.tsx @@ -79,7 +79,7 @@ export default definePlugin({ { find: ".messagesPopoutWrap", replacement: { - match: /\i&&\((\i).maxHeight.{1,5}\)/, + match: /\i&&\((\i).maxHeight.{0,5}\)/, replace: "$&;$1.maxHeight-=$self.containerHeight" } }, diff --git a/src/equicordplugins/messageColors/index.tsx b/src/equicordplugins/messageColors/index.tsx index 4d79a6c5..d90f069d 100644 --- a/src/equicordplugins/messageColors/index.tsx +++ b/src/equicordplugins/messageColors/index.tsx @@ -55,8 +55,8 @@ export default definePlugin({ find: ".defaultRules.text,match:", group: true, replacement: { - // $) - match: /\$\)/, + // $) don't match with a " after the ) + match: /\$\)(?!")/, // hsl(|rgb(|$& replace: requiredFirstCharacters.join("|") + "|$&", }, diff --git a/src/equicordplugins/messageLoggerEnhanced/index.tsx b/src/equicordplugins/messageLoggerEnhanced/index.tsx index 382a09e5..7e7aff12 100644 --- a/src/equicordplugins/messageLoggerEnhanced/index.tsx +++ b/src/equicordplugins/messageLoggerEnhanced/index.tsx @@ -580,8 +580,8 @@ export default definePlugin({ { find: '"MessageStore"', replacement: { - match: /getOrCreate\(\i\);\i=\i\.loadComplete.*?}\),/, - replace: "$&$self.messageLoadSuccess(arguments[0]);" + match: /(getOrCreate\(\i\);)(\i=\i\.loadComplete.*?}\),)/, + replace: "$1$self.messageLoadSuccess(arguments[0]);$2" } }, {