fix: better tag filter

Also formatted it with biomejs

I didn't realize that Honkai Star R(ai)l has AI in it 💀
This commit is contained in:
2024-03-07 00:39:56 +07:00
parent 7e07d807d5
commit c28408cabc
8 changed files with 262 additions and 250 deletions

View File

@ -13,20 +13,20 @@
// ==/UserScript==
setTimeout(() => {
const header = document.querySelector(
".src-components-common-TopBar-assets-__pc_---top---uiHfPh",
);
if (header != null) {
header.remove();
console.log("Removed header");
}
setTimeout(() => {
const watermark = document.querySelector(
".src-components-pages-assets-__kv_---kv-slogan---IBwwuz.kv-slogan",
);
if (watermark != null) {
watermark.remove();
console.log("Removed watermark");
}
}, 5000);
const header = document.querySelector(
".src-components-common-TopBar-assets-__pc_---top---uiHfPh",
);
if (header != null) {
header.remove();
console.log("Removed header");
}
setTimeout(() => {
const watermark = document.querySelector(
".src-components-pages-assets-__kv_---kv-slogan---IBwwuz.kv-slogan",
);
if (watermark != null) {
watermark.remove();
console.log("Removed watermark");
}
}, 5000);
}, 5000);