Skip to content

Instantly share code, notes, and snippets.

@Altreus
Created September 7, 2015 17:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Altreus/a2fbc52591181936797e to your computer and use it in GitHub Desktop.
Save Altreus/a2fbc52591181936797e to your computer and use it in GitHub Desktop.
Tampermonkey for ultimate guitar tabs
// ==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 = "";
})();
@jinxdefusing
Copy link

what do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment