While I’m at work, I try to keep distractions at a minimum so I can concentrate on my work.
Like many .Net developers I tend to use StackOverflow a lot but one thing that gets the better of my curiosity is the Hot Network Questions tab on StackOverflow. I’ve clicked on non work related questions fare more time than I’d care to admit. To remedy this, on my workplace computer, I’ve made the HNQ tab go away.
Using the Grease Monkey Firefox add-on it’s possible to create JavaScript scripts, to modify the pages you surf.
I wrote a small script to make the entire thing go away on both StackOverFlow and SoftwareEngineering :
// ==UserScript== // @name HNQ Hider // @description Hides the Stackexchange HNQ // @include /^https?:\/\/(.*\.)?stackoverflow\.com/.*$/ // @include /^https?:\/\/(.*\.)?softwareengineering.stackexchange.com/.*$/ // @version 1 // @grant none // ==/UserScript== document.getElementById('hot-network-questions').outerHTML='';
A brilliant idea. I really need to do the same. 😀