Created
September 7, 2015 17:49
-
-
Save Altreus/a2fbc52591181936797e to your computer and use it in GitHub Desktop.
Tampermonkey for ultimate guitar tabs
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 Ultimate Guitar cleanup | |
// @version 0.1 | |
// @match http://tabs.ultimate-guitar.com/* | |
// ==/UserScript== | |
(function() { | |
var tab = document.getElementById('cont'); | |
var body = document.body; | |
while (body.hasChildNodes()) { | |
body.removeChild(body.lastChild); | |
} | |
body.appendChild(tab); | |
tab.style.background = "white"; | |
tab.style.padding="5%"; | |
tab.class = ""; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what do