Created
August 28, 2014 20:05
-
-
Save haliphax/cb9c2d513e5a832df2e8 to your computer and use it in GitHub Desktop.
TV Guide Tidy (userscript)
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== | |
// @match http://www.tvguide.com/listings/ | |
// @name TV Guide Tidy | |
// @description Cleans up the TV Guide listings page | |
// @version 1.0 | |
// ==/UserScript== | |
window.onload = function(){ | |
var l = document.querySelector(".listings-w"); | |
var b = document.querySelector("body"); | |
l.parentNode.removeChild(l); | |
b.innerHTML = ""; | |
b.appendChild(l); | |
l.setAttribute("style", "position:absolute;top:0;left:0;width:100%;height:100%"); | |
document.querySelector(".gridDiv").setAttribute("style", "height:auto;overflow-x:hidden;border-bottom:solid 1px #DCDDCB"); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment