UserScript: Tidy up TVGuide.com listings
This content has been archived. Its subject matter is no longer relevant. This URL will remain active indefinitely, but the content will not otherwise be listed on the site.
Tags: Reading time: 1 minute Suggest a change
The way that TVGuide.com's listings are organized is difficult to work with. This UserScript (compatible with GreaseMonkey, Chrome, Opera, and perhaps more) will gut the listings from the layout and give you one all-encompassing, manageable scroll bar for perusal.
// ==UserScript==
// @match https://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",
);
};
The script is available for download at greasyfork.org.
Note: To install this UserScript in Chrome, you will have to download the file, open chrome://extensions
(Settings icon → Tools → Extensions) and drag the extension onto the page to avoid the web store requirement.
Posted: