-
-
Save NiceAesth/9d965e6777c2ccb899693f2234cf14a1 to your computer and use it in GitHub Desktop.
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 OsuStyle | |
// @version 1 | |
// @grant none | |
// @include https://osu.ppy.sh/* | |
// ==/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(`.beatmapset-panel { --stats-opacity: 1 !important; --menu-opacity: 1 !important; --menu-container-width: 30px !important; }`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment