AlwaysTrust: Fix disabling suspicious file popup

This commit is contained in:
Nuckyz 2024-12-02 21:51:29 -03:00
parent d70e0f27dc
commit 3f61fe722d
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -51,7 +51,7 @@ export default definePlugin({
{ {
find: "bitbucket.org", find: "bitbucket.org",
replacement: { replacement: {
match: /function \i\(\i\){(?=.{0,60}\.parse\(\i\))/, match: /function \i\(\i\){(?=.{0,30}pathname:\i)/,
replace: "$&return null;" replace: "$&return null;"
}, },
predicate: () => settings.store.file predicate: () => settings.store.file