aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/experiments.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/experiments.ts')
-rw-r--r--src/plugins/experiments.ts21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/plugins/experiments.ts b/src/plugins/experiments.ts
deleted file mode 100644
index b441a76..0000000
--- a/src/plugins/experiments.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { Devs } from "../utils/constants";
-import definePlugin from "../utils/types";
-
-export default definePlugin({
- name: "Experiments",
- authors: [Devs.Ven, Devs.Megu],
- description: "Enable Experiments",
- patches: [{
- find: "Object.defineProperties(this,{isDeveloper",
- replacement: {
- match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/,
- replace: "true"
- }
- }, {
- find: 'type:"user",revision',
- replacement: {
- match: /(\w)\|\|"CONNECTION_OPEN".+?;/g,
- replace: "$1=!0;"
- }
- }]
-});