Skip to content

Instantly share code, notes, and snippets.

@amrtn
Last active February 20, 2018 08:00
Show Gist options
  • Save amrtn/3ec581e356a94ef3fa0f to your computer and use it in GitHub Desktop.
Save amrtn/3ec581e356a94ef3fa0f to your computer and use it in GitHub Desktop.
Hide "Hot Network Questions" on StackOverflow (tampermonkey script)
// ==UserScript==
// @name Hide SO hot network questions
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description enter something useful
// @match *://stackoverflow.com/*
// @match *://*.stackexchange.com/*
// @match *://*serverfault.com/*
// @match *://*superuser.com/*
// @copyright 2012+, You
// ==/UserScript==
(function () {
document.querySelectorAll('#hot-network-questions')
.forEach(el => el.style.display = 'none');
document.querySelectorAll('.community-bulletin')
.forEach(el => el.style.display = 'none');
document.querySelectorAll('#chat-feature')
.forEach(el => el.style.display = 'none');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment