aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/STFU.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/STFU.ts')
-rw-r--r--src/plugins/STFU.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/STFU.ts b/src/plugins/STFU.ts
index 96325ff..ff7094c 100644
--- a/src/plugins/STFU.ts
+++ b/src/plugins/STFU.ts
@@ -8,8 +8,8 @@ export default definePlugin({
patches: [{
find: "setDevtoolsCallbacks",
replacement: {
- match: /\.setDevtoolsCallbacks\(.+?else/,
- replace: ".setDevtoolsCallbacks(null,null);else"
+ match: /if\(.{0,10}\|\|"0.0.0"!==.{0,2}\.remoteApp\.getVersion\(\)\)/,
+ replace: "if(false)"
}
}]
});