Skip to content

Instantly share code, notes, and snippets.

@rohenaz
Created November 13, 2020 11:01
Show Gist options
  • Save rohenaz/7bb00e6603f495ec3c1b345521a2f56b to your computer and use it in GitHub Desktop.
Save rohenaz/7bb00e6603f495ec3c1b345521a2f56b to your computer and use it in GitHub Desktop.
// ==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