feat(browser-extension): allow the extension to match skips by more than one wildcard
This commit is contained in:
parent
14847cc7ea
commit
cf1b0e3091
@ -193,7 +193,7 @@ function fix() {
|
||||
}
|
||||
}
|
||||
|
||||
if (skips.every((x) => !hostname.match(x.replace(/\*/g, '[^ ]*')))) {
|
||||
if (skips.every((x) => !hostname.match(x.replaceAll(/\*/g, '[^ ]*')))) {
|
||||
for (const element of [document.body, document.documentElement]) {
|
||||
element?.classList.remove(...(data?.classes ?? []));
|
||||
element?.style.setProperty('position', 'initial', 'important');
|
||||
|
Loading…
Reference in New Issue
Block a user