-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathse-prodboost.js
More file actions
28 lines (23 loc) · 887 Bytes
/
se-prodboost.js
File metadata and controls
28 lines (23 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// ==UserScript==
// @name StackExchange Productivity Booster
// @version 5
// @description Hides Top Questions on StackExchange sites
// @author redbeam
// @match *://*.stackexchange.com/*
// @match *://stackoverflow.com/*
// @match *://*.stackoverflow.com/*
// @match *://serverfault.com/*
// @match *://superuser.com/*
// @match *://askubuntu.com/*
// @match *://stackapps.com/*
// @match *://mathoverflow.net/*
// @grant none
// ==/UserScript==
"use strict";
var hot = document.getElementById("hot-network-questions");
var hotOrig = hot.innerHTML;
hot.innerHTML = '<a id="hotUnhide">Hot Questions hidden; Click to unhide</a>';
document.getElementById("hotUnhide").addEventListener("click", function() {
hot.innerHTML = hotOrig;
});
console.log("Started StackExchange Productivity Booster");