Created
August 2, 2021 00:57
-
-
Save mattmc3/7f9fb8e482a94d7a9dac83dd09ea19e1 to your computer and use it in GitHub Desktop.
Tampermonkey - StackOverflow
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 stackoverflow tampering | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description StackOverflow - hide #hot-network-questions and deleted stuff. | |
// @author mattmc3 | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// @match https://*.stackoverflow.com/* | |
// @match https://*.stackexchange.com/* | |
// ==/UserScript== | |
$(document).ready(function() { | |
// hide just 'deleted by owner' | |
// $('.answer.deleted-answer:contains("deleted by owner"').hide(); | |
// or, hide all deleted answers | |
$('.answer.deleted-answer').hide(); | |
// you can hide other stuff too | |
$('#hot-network-questions').hide(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment