Created
April 19, 2018 03:14
-
-
Save Hyftar/1e00b6b6c6cab559c1644b2e0c9124c5 to your computer and use it in GitHub Desktop.
Removes the Stream to Chromecast button on YouTube
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 ChromeCast Remover | |
// @namespace https://www.youtube.com/ | |
// @version 1.0 | |
// @description Removes the Chrome cast button on YouTube | |
// @author Hyftar | |
// @match https://www.youtube.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.querySelector('button[title="Play on TV"]').style.display = 'none'; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment