Created
November 3, 2017 18:21
-
-
Save eduard93/b10ea076b49367729e0e53da6db0c3c0 to your computer and use it in GitHub Desktop.
Removes titles from imgur posts - tampermonkey user script
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 imgur.com title remover | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Removes titles from imgur posts | |
// @author eduard93 | |
// @match https://imgur.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var title = document.getElementsByClassName('post-header')[0]; | |
if (title) { | |
title.parentNode.removeChild(title); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment