Skip to content

Instantly share code, notes, and snippets.

@mattmc3
Created August 2, 2021 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmc3/7f9fb8e482a94d7a9dac83dd09ea19e1 to your computer and use it in GitHub Desktop.
Save mattmc3/7f9fb8e482a94d7a9dac83dd09ea19e1 to your computer and use it in GitHub Desktop.
Tampermonkey - StackOverflow
// ==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