Created
October 25, 2020 08:46
-
-
Save hyperneutrino/bb64d147d77b121f1d03671fa5e42d47 to your computer and use it in GitHub Desktop.
Userscript: automatically unhide DMOJ comments
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 Automatically unhide DMOJ comments | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Automatically unhide all comments with negative feedback and disable the fade mask on them | |
// @author HyperNeutrino | |
// @match https://dmoj.ca/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
for (var x of $("#comments>ul>li")) comment_show_content(parseInt(x.id.substring(8))); | |
for (var x of $(".bad-comment")) x.classList.remove("bad-comment"); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment