aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/STFU.ts2
-rw-r--r--src/plugins/settings.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/STFU.ts b/src/plugins/STFU.ts
index d154b4f..38b2064 100644
--- a/src/plugins/STFU.ts
+++ b/src/plugins/STFU.ts
@@ -7,7 +7,7 @@ export default definePlugin({
patches: [{
find: "setDevtoolsCallbacks",
replacement: {
- match: /\.default=function.+$/s,
+ match: /\.default=function.+$/,
replace: ".default=function(){}}"
}
}]
diff --git a/src/plugins/settings.ts b/src/plugins/settings.ts
index fe125e7..63c36d6 100644
--- a/src/plugins/settings.ts
+++ b/src/plugins/settings.ts
@@ -16,7 +16,7 @@ export default definePlugin({
}
},
{
- match: /\w\.createElement.+?["']Host ["'].+?\):null/s,
+ match: /\w\.createElement.+?["']Host ["'].+?\):null/,
replace: m => {
const idx = m.indexOf("Host") - 1;
const template = m.slice(0, idx);