Skip to content

Instantly share code, notes, and snippets.

@itsb
Created April 6, 2015 03:37
Show Gist options
  • Save itsb/1890a95edd70209afad1 to your computer and use it in GitHub Desktop.
Save itsb/1890a95edd70209afad1 to your computer and use it in GitHub Desktop.
NBA TV Companion Enhancements user script
// ==UserScript==
// @name NBA TV Companion Enhancements
// @description Extends "Play-by-Play" screen height (roughly doubles it)
// @version 0.1
// @author itsb
// @oujs:author itsbfb
// @license BSD
// @include http://www.nba.com/tvc/index.html*
// @grant none
// ==/UserScript==
var height = 500;
document.getElementById("playbyplay_screen_table_bg").style.height = height+'px';
document.getElementById("playbyplay_screen_table_bg").style.background = 'white';
document.getElementById("playbyplay_screen_table_holder").style.height = height+'px';
document.getElementById("playbyplay_screen_table").style.height = height-5+'px';
document.getElementsByClassName("jScrollPaneContainer")[0].style.height = height-5+'px';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment