Created
May 31, 2021 11:29
-
-
Save NiceAesth/fd2c188ed19609a69f532b0d5e84af93 to your computer and use it in GitHub Desktop.
Makes osu! user profiles blue instead of pink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name BlueUserpage | |
// @version 1 | |
// @grant none | |
// @include https://osu.ppy.sh/users/* | |
// ==/UserScript== | |
function addGlobalStyle(css) { | |
var head, style; | |
head = document.getElementsByTagName('head')[0]; | |
if (!head) { return; } | |
style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.innerHTML = css; | |
head.appendChild(style); | |
} | |
addGlobalStyle(`:root { --base-hue: 200 !important; --base-hue-deg: 200deg !important; }`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment