Last active
July 11, 2020 06:58
-
-
Save peey/57693cd5e7a35aee30bb3644bce78159 to your computer and use it in GitHub Desktop.
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 Hide Hot Network Questions and Hot Meta Posts | |
// @namespace http://CHANGE.TO.YOUR.WEBPAGE | |
// @version 0.2 | |
// @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.querySelector('.s-sidebarwidget:first-child'); | |
if (bar) bar.style.display="none"; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment