KaiWeb Chrome Extension
February 2018

Noooooo


For when the internet is both an amazing tool and an amazing distraction.


Premise


I’m a software engineer. That means I sometimes get stuck on code problems, and when I’m stuck and frustrated I’m particularly vulnerable to distraction. Enter: StackOverflow’s “Hot Network Questions.” They have nothing to do with my current problem, and other peoples’ problems are so much more fun to think about than that thing that still isn’t frickin’ working! But luckily, I’m a software engineer and get to experience the internet the way I want to. So I deleted the “Hot Network Questions”.


Then I thought, what else can I delete or change to make the internet exactly how I want it?


Results


Much of this can be accomplished using a built-in feature in adblocking extensions like uBlock, but most of the reason I did this was to learn how to write my own extensions.


I started out with a popup script, since that allowed me to configure or trigger the script manually. Unfortunately that also meant I had to click the extension, then click another button, for every tab I wanted to modify. By then I’d already seen the dreaded, extremely interesting divs. I instead switched to much a simpler, automatically running, content script.


This is very much a [WIP] but here’s what I’m doing so far:

Hide the above-mentioned "Hot Network Questions."
Hide the GitHub `notfications` bell/indicator, since I'm an inbox-zero kind of person but I'm also on vacation, dangit.


Future Development


I’d like to add an EXTREEEM MODE which is activated using the popup, that will allow me to delete things like the twitter timeline, news sites content, hacker news comment threads, and other things which are so so tempting when looking at the internet is part of my job. Ideally each of the features would come with a checkbox, so I can turn things like Github notifications on when I need them.


Check out the full write-up and code on github!