Created
July 20, 2017 05:48
-
-
Save AlexR1712/bbed4b92a59aac3ec6b3f900d628e10e to your computer and use it in GitHub Desktop.
solveshit.js
This file contains hidden or 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
var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1; | |
if (!isFirefox) { | |
document.styleSheets[2].addRule("::-webkit-scrollbar-thumb", "background: "+document.getElementsByTagName('meta')['theme-color'].content+';'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment