Created
March 22, 2016 09:04
-
-
Save batigolix/b62284d35c9c27f78804 to your computer and use it in GitHub Desktop.
Hide annoying content
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 Hide annoying content | |
// @namespace hide-annoyance | |
// @version 0.1 | |
// @description Hide annoying content | |
// @author boris | |
// @match http*://*.europa.eu/* | |
// @grant none | |
// ==/UserScript== | |
var elmNewContent = document.createElement('p'); | |
elmNewContent.innerHTML = '<div id="smk-twitter_user_timeline" style="display: none;">Nada</div><p>Content removed by them monkies</p>'; | |
var elmExtra = document.getElementById('smk-twitter_user_timeline'); | |
elmExtra.parentNode.replaceChild(elmNewContent, elmExtra); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment