Last active
November 28, 2018 06:06
-
-
Save heavyLobster2/892026a60c79a34ca1ca42385da3fa1a to your computer and use it in GitHub Desktop.
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== | |
// @name Hide Hulu Network Logos | |
// @description Hides network logos and share icons on Hulu videos | |
// @version 1.0.3 | |
// @author heavyLobster2 | |
// @namespace github.com/heavyLobster2 | |
// @downloadURL https://gist.github.com/heavyLobster2/892026a60c79a34ca1ca42385da3fa1a/raw/HideHuluNetworkLogos.user.js | |
// @match *://www.hulu.com/* | |
// @grant none | |
// ==/UserScript== | |
(function () { | |
"use strict"; | |
var rules = [ | |
"img.network-logo { display: none !important; }", | |
"div.share-toast { display: none !important; }", | |
"img.network-bug { display: none !important; }" | |
]; | |
var style = document.createElement("style"); | |
style.type = "text/css"; | |
document.head.appendChild(style); | |
for (var i = 0; i < rules.length; i++) { | |
style.sheet.insertRule(rules[i], i); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment