Skip to content

Instantly share code, notes, and snippets.

@heavyLobster2
Last active November 28, 2018 06:06
Show Gist options
  • Save heavyLobster2/892026a60c79a34ca1ca42385da3fa1a to your computer and use it in GitHub Desktop.
Save heavyLobster2/892026a60c79a34ca1ca42385da3fa1a to your computer and use it in GitHub Desktop.
// ==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