Robert Heaton

Software Engineer /
One-track lover / Down a two-way lane

Hide the internet

08 Aug 2016

When Facebook takes fifty minutes of your day, emails are crack and watching any kind of realtime feed is more fun than all but the most avant garde forms of sex, how is anyone meant to feel like they are in control on the information superhighway?

We can argue about whether Facebook’s fifty minutes is a testament to the engaging and valuable product that they have fashioned out of pure love, or whether it represents a nefarious plot to steal the world’s time and convert it to failed New Jersey schools. As with all things, it’s almost definitely a bit of both, but it’s worth remembering that delightful product and evil time vortex both look the same on a quarterly earnings call, and the latter is much easier to A/B test. If you believe that your level and style of internet usage is already right for you, and that it affords you the perfect balance of connectedness to the world, people you love and people with a similar name to someone you once met at a bar, then I’m not going to try and take us down the alleyway of debating whether there is a difference between value and perceived value. It’s a dark and dangerous side-road, and you look more intellectually muscular than me. When I use the general form of ‘you’, quash your anger and be assured that I am not talking about ‘you’ specifically.

Personally, I feel disproportionately grubby when I find myself standing in a knee-high sludge of Twitter feed or Articles That I Might Also Enjoy, with little recollection of how I got there. Even just flicking onto gmail.com and seeing that no one has contacted me since I went to get a glass of water makes me feel like I’ve lost something. Sometimes I sit down, fired up to do some focussed writing, and then just quickly check whether anything fun has happened on Hacker News in the last two hours. The time cost might only be a few minutes, or even only a few seconds if I can’t find any exposes of employee-soul-annhilation at Silicon Valley companies I don’t work for. But the gain is next to nothing, the dopamine monster living inside my brain gets slightly larger, and it destroys the idea that the most and only important thing for the next hour is writing.

On the other hand, there are times when you, being of sound mind and body, genuinely want to know what people you are interested in are thinking or doing. I still don’t entirely get Twitter (follow me here), but I can see how one might. News websites keep you in touch with the world, and news aggregators tell you which parts of the world to keep in touch with. Facebook messages, events and photos are all products with clear value according to even the most curmudgeonly and paternalistic definition of the word. Whilst every other heartbeat might be excessive, you do need to check Gmail sometimes.

You just need to be able to get in, do what you want to do and then get the hell out of Dodge without being waylaid by articles written from viewpoints that you are politically sympathetic to but will have forgotten completely come the morning. You need to ignore the parts of the page that are nothing more than a thin plastic tarp over a bottomless void, leaving only the predictable, old-fashioned widgets that enable you to have a specific plan and then click a button to execute that plan. “Dear Grandma, it was my birthday yesterday, where the fuck are my presents? Hope you are well. SEND. QUIT.” If the page is all bottomless void then you need to be able to insert some additional safety ropes around the entire thing, so that you only enter when you have a trained support team ready to drag you out.

Enter Stylus. Stylus is a browser extension for Chrome and Firefox that allows you to manipulate a webpage’s CSS into doing your bidding, rather than that of the organization that sent you the page. (NOTE: you should NOT use Stylish, a similar browser extension. It is spyware that steals and sells all your browsing history)

CSS is essentially the rules that tell your browser how to display a page. If you change the rules to say that a particular part of the page should be hidden, then your browser will hear and obey. It is straightforward to hide the Facebook newsfeed:

Or the Twitter newsfeed:

Or Hacker News:

Or BBC News:

Or even Gmail:

If you want to just hide a page completely, you can use the rule body {display: none} to obliterate everything (see below). But I quite like only hiding a portion of the page where possible, because it reminds me that the site hasn’t just failed to load and makes me feel like a subversive internet cowboy. Your changes can be easily temporarily disabled:

This gives you an out when you decide that you really would like to spend a bit of time catching up with your friends, or the state of the internet, or the world. But this tiny hack still inserts a friendly, inquisitive goblin that peeks over your shoulder and asks chirpily “are you sure you want to do that?” It yanks you outside of yourself for a brief second. It makes you remember that you have a definition of The Good Life, and whether it’s writing a screenplay, crushing your quarterly sales targets or simply being more present, it’s probably not this.


To hide distracting parts of the internet for yourself:

  • Download Stylus for Chrome or Firefox. NOTE: do NOT download Stylish, a similar extension. It is spyware that steals and sells all your browsing history.
  • Copy some or all of the above styles from here
  • If you would like to hide additional sites, you can either create new style with the rule body {display: none} to hide everything, or (advanced) use the developer tools to hide only that part of the site that is causing you problems
Subscribe to my new work on programming, security, and a few other topics. Published a few times a month.
Follow me on Twitter ➜ RSS ➜