tretrauit
c28408cabc
Also formatted it with biomejs
I didn't realize that Honkai Star R(ai)l has AI in it 💀
33 lines
1016 B
JavaScript
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);
|