Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// ==UserScript==
// @name Hide Hot Network Questions and Hot Meta Posts
// @namespace http://CHANGE.TO.YOUR.WEBPAGE
// @version 0.1
// @description Hide Hot-Network-Questions in StackExchange sites
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @match *://*.serverfault.com/*
// @match *://*.askubuntu.com/*
// @match *://*.stackapps.com/*
// @match *://*.mathoverflow.net/*
// @exclude *://chat.stackexchange.com/*
// @exclude *://chat.meta.stackexchange.com/*
// @exclude *://chat.stackoverflow.com/*
// ==/UserScript==
// thanks to https://meta.stackexchange.com/a/224430/
(function(){
var bar = document.getElementById('hot-network-questions');
if (bar) bar.style.display="none";
bar = document.getElementsByClassName('community-bulletin');
if (bar[0]) bar[0].style.display="none";
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.