Compare commits
1 Commits
7d8d3957ee
...
58bce2990c
Author | SHA1 | Date | |
---|---|---|---|
58bce2990c |
@ -378,25 +378,25 @@ function fix() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const backdrops = getElements(tokens.backdrops);
|
const backdrops = getElements(tokens.backdrops);
|
||||||
|
|
||||||
for (const backdrop of backdrops) {
|
for (const backdrop of backdrops) {
|
||||||
if (backdrop.children.length === 0 && !seen.has(backdrop)) {
|
if (backdrop.children.length === 0 && !seen.has(backdrop)) {
|
||||||
log.add(`${Date.now()}`);
|
log.add(`${Date.now()}`);
|
||||||
seen.add(backdrop);
|
seen.add(backdrop);
|
||||||
hide(backdrop);
|
hide(backdrop);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const skips = exclusions.overflows.map((x) => (x.split('.').length < 3 ? `*${x}` : x));
|
const skips = exclusions.overflows.map((x) => (x.split('.').length < 3 ? `*${x}` : x));
|
||||||
|
|
||||||
if (!skips.some((x) => hostname.match(x.replaceAll(/\*/g, '[^ ]*')))) {
|
if (!skips.some((x) => hostname.match(x.replaceAll(/\*/g, '[^ ]*')))) {
|
||||||
for (const element of [document.body, document.documentElement]) {
|
for (const element of [document.body, document.documentElement]) {
|
||||||
element?.classList.remove(...(tokens.classes ?? []));
|
element?.classList.remove(...(tokens.classes ?? []));
|
||||||
element?.style.setProperty('position', 'initial', 'important');
|
element?.style.setProperty('position', 'initial', 'important');
|
||||||
element?.style.setProperty('overflow-y', 'initial', 'important');
|
element?.style.setProperty('overflow-y', 'initial', 'important');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user