Skip to main content

Productivity Hack - How to block the websites you visit often?

Dear Inner Circle Friends,

I know how you have been listening to me on productivity hacks and on improving your work-life balance. Today I have something to confess. I recently fell into a bad habit of wasting time and money. The habit formed when I started listening to business news and started reading articles related to stock markets. Then I fell into the trap of checking these websites very often and wasting time reading articles too many times a day.

I clocked my time wasted to be around 2 hours per day which was not I wanted exactly. I wanted to put a stop to this shitty behavior and get my time back. What did I do?

The solution that I came up with is what I have written below.

Solution 1 - Use a chrome plugin available in your chrome marketplace

The famous chrome plugin seems to be Block Site to accomplish the same is (

All you have to do is:

  1. Add the chrome plugin by visiting the website above
  2. The icon appears next to the url bar in the chrome. 
  3. Visit the website you can to block and click on the red icon to start blocking the website.

This works like magic and there is an option to sync between android too.

Solution 2 - Use your own local chrome plugin (I chose this)

I wrote a simple script for the chrome plugin and this script blocks the websites you mention. I have put it as open source for others to use. The source is here:

You can download the files and add the chrome from your local machine to start blocking the websites given in the background.js.

This might seem a little advanced but for those who want to customize the script, this might be a great answer. For others, looking for simple solutions, choose the first solution.

Solution 3 - Rewrite your /etc/hosts

All nix machines like MacOS, Linux, Ubuntu have a hosts files to check for ip addresses related to the domain urls. If you overwrite them, you can point the websites you want blocked to go local ip like which will inherently stop you from visiting these websites.

Thanks for reading this article. I hope I made a little change in your daily productivity and please leave a comment if you want to share something or ask me something.

Text me on TwitterFacebookLinkedIn or Website.


Post a Comment

Popular posts from this blog

B2B selling demystified like a Rockstar - Part One

I'm sure every person in the enterprise world knows the definition of b2b. B2B is short for “business to business.” It indicates sales made to other businesses, rather than sales to individuals. The latter is referred to as “business to consumer” sales, or b2c. This distinction makes the sales person think that b2b sales is very different from b2c. B2B requires a lot of interpersonal skills and lots of casestudies to get across to that particular influencer who needs to be convinced that your product/service is going to make a change to his organization. Is that right?

Before we get into the details of b2b selling, lets have a look at this particular statistic from Forrester Research.
1 million B2B sales jobs in the U.S. will be obsolete by the year 2020. – Forrester Research What does this mean? And why is the b2b landscape changing a lot? Before we answer those questions, lets have a look at what b2b selling means.
How do you approach B2B Sales? B2B selling is a step by proces…

Building Microservices For Quick Wins - An Insight - Part 1

Introduction Getting a quick win is hard because it needs multiple ideologies and practices to come together. It would ideally be a combination of least time to support the customer and to help the customer at the right point of their journey. By helping our customers to do the above, we help our products to grow steadily. Microservices can be likened to fast acting customer support, where we are building things in a faster and leaner way. Let’s talk about why an organization would need microservices in the first place.
Why Microservices? As a first hand believer of picking the right tools for the right jobs, I would caution the reader that Microservices might not be a good fit for all organizations. You will have to take a stock of the needs, the pros and cons of an architecture style and then take a decision to either migrate or start building through the specific architecture. Microservices do help in a few things as the organization grows and it helps the product to be modulariz…