Last active
May 11, 2019 17:47
-
-
Save rohenaz/976b87996d2842519171658f1b74636c to your computer and use it in GitHub Desktop.
Remove YouTube's political correctness banners
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 Youtube Remove political correctness banners | |
// @namespace https://metalens.allaboard.cash/ | |
// @version 0.1 | |
// @description remove political correctness banners | |
// @author Satchmo | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @match *://*.youtube.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
waitForKeyElements ("#clarify-box", actionFunction); | |
function actionFunction (jNode) { | |
jNode.remove() | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment