Created
April 18, 2014 11:40
-
-
Save jerone/11039483 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Horizon TV issue | |
// @namespace https://github.com/jerone/UserScripts/ | |
// @include *horizon.tv* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function HorizonTVFixer() { | |
if (window !== window.top) return; | |
console.log("test 1"); | |
if (unsafeWindow.$) { | |
console.log("test 2", unsafeWindow.$(".channel-guide")); | |
unsafeWindow.$(".channel-guide").on("loaded", function() { | |
console.log("test FINAL"); | |
}); | |
console.log("test 3"); | |
} | |
console.log("test 4"); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment