diff --git a/src/plugins/nsfwGateBypass/index.ts b/src/plugins/nsfwGateBypass/index.ts index 3c5dbb4c..b6f0f3e8 100644 --- a/src/plugins/nsfwGateBypass/index.ts +++ b/src/plugins/nsfwGateBypass/index.ts @@ -27,8 +27,8 @@ export default definePlugin({ { find: ".nsfwAllowed=null", replacement: { - match: /(\w+)\.nsfwAllowed=/, - replace: "$1.nsfwAllowed=true;", + match: /(?<=\.nsfwAllowed=)null!==.+?(?=[,;])/, + replace: "!0", }, }, ],