Skip to content

Instantly share code, notes, and snippets.

@rohenaz
Last active May 11, 2019 17:47
Show Gist options
  • Save rohenaz/976b87996d2842519171658f1b74636c to your computer and use it in GitHub Desktop.
Save rohenaz/976b87996d2842519171658f1b74636c to your computer and use it in GitHub Desktop.
Remove YouTube's political correctness banners
// ==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