scripts/userscripts/genshin-concert2022-wallpaper-mode.user.js
tretrauit c28408cabc fix: better tag filter
Also formatted it with biomejs

I didn't realize that Honkai Star R(ai)l has AI in it 💀
2024-03-07 00:39:56 +07:00

33 lines
1016 B
JavaScript

// ==UserScript==
// @name Wallpaper Mode
// @namespace tretrauit-dev
// @match *://genshin.hoyoverse.com/concert2022
// @icon https://genshin.hoyoverse.com/favicon.ico
// @grant none
// @version 1.0
// @author tretrauit
// @description 01:10:46, 26/9/2022
// @homepageURL https://gitlab.com/tretrauit/scripts
// @supportURL https://gitlab.com/tretrauit/scripts/-/issues
// @downloadURL https://git.tretrauit.me/tretrauit/scripts/raw/branch/main/userscripts/genshin-concert2022-wallpaper-mode.user.js
// ==/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);
}, 5000);