Created
November 13, 2020 11:01
-
-
Save rohenaz/7bb00e6603f495ec3c1b345521a2f56b 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 Remove clarify-box | |
// @author satchmo | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.1 | |
// @description This removes the propaganda box. | |
// @match https://www.youtube.com/* | |
// @match https://www.youtu.be/* | |
// @match https://youtube.com/* | |
// @match https://youtu.be/* | |
// @grant none | |
// @noframes | |
// ==/UserScript== | |
(function() { | |
"use strict"; | |
let interval = {} | |
window.onload = () => { | |
interval = setInterval(() => { | |
let box = document.getElementById("clarify-box"); | |
if (box) { | |
box.remove(); | |
clearInterval(interval) | |
} | |
}, 1000); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment