Skip to content

Instantly share code, notes, and snippets.

@aniline
Created September 6, 2014 14:51
Show Gist options
  • Save aniline/eceaadf7173850302de6 to your computer and use it in GitHub Desktop.
Save aniline/eceaadf7173850302de6 to your computer and use it in GitHub Desktop.
lyahdark.user.js
var bgw = document.getElementsByClassName("bgwrapper")[0];
var fixed_spans = document.getElementsByClassName('fixed');
var hint_boxen = document.getElementsByClassName('hintbox');
bgw.style.backgroundColor = '#000';
bgw.style.color = 'white';
for (i in fixed_spans) {
var fs = fixed_spans[i];
if (fs.style != undefined) fs.style.backgroundColor = '#222';
}
for (i in hint_boxen) {
var hb = hint_boxen[i];
if (hb.style != undefined) {
hint_boxen[i].style.backgroundImage = 'none';
hint_boxen[i].style.backgroundColor = '#222';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment