Surfing is one of the biggest time consumers in modern peoples’ lives: many activities are related to surfing - checking for restaurant working time, searching for place, social sites, work research, fun sites, watching videos etc. Time spent on internet is growing each year and the average time per day for 2017 is considered to be 2 hours. Our online presence has some negative effects like: waiting a page to load, aggressive advertisements, mature content. If you want to block some or all of them you can try next steps. Do you know that average person will spend between 1 and 5 years of his life on internet:

Firefox

Time tracking add-on

Mind the Time

Record of spent time while surfing, and how you spend it. A toolbar information about the current site or the total time today. A summary page with aggregated data for 70 days, 10 weeks, and 6 months.

Advertisement blocking add-on

Adblock Plus

It's primary goal is blocking ads, but it can be configured to block almost anything.
Adblock Plus gives you good control of the surfing and content the web the way you want to. The add-on can be customized and come with big language support.

Cleaner and faster browsing

Ghostery

Your privacy and security are protected by this add-on. This add-on speed up your browsing experience and protect your personal data (from sharing on the sites you that visit). Some key features:

  1. Speed up surfing ( by blocking tracking services as google analytics)
  2. Notifications and filter of tracking sites.
  3. Protect personal data.

Google Chrome

Time tracking add-on

WasteNoTime

Tracking and blocking time-wasting sites. If you need to be focused and concentrated this extension is a perfect choice. Some of the useful features:

  1. time reports.
  2. Blocking for a period.
  3. limit site time per day.

Advertisement blocking add-on

Adblock Plus

Adblock

Cleaner and faster browsing

Ghostery

Windows block site on all browsers

If you have administrative rights and you want to block some sites at "lower level" then you can change host file by adding this lines below to your host file(on windows 7 this file is located - c:\windows\system32\drivers\etc):

  • Block Facebook(just a sample if you need a complete list you need to check it on internet)
    127.0.0.1 www.facebook.com
    127.0.0.1 facebook.com
    127.0.0.1 static.ak.fbcdn.net

Blocking in this way should work for all users, browsers, regardless of whether they support plugins.

Explanation: this adds a rule to the system's DNS resolver "override these host names by IP resolution with address 127.0.0.1 (which is reserved address for your local machine - something like "myself" for the computer), those sites won't load.

Note that you have to take into considerations IP protocol versions, proxies and all servers versions.

Linux restrict a page system wide

Similar method for blocking web sites in Linux will be /etc/hosts. If you want to block facebook then add the following lines to the end of /etc/hosts:

127.0.0.1 www.facebook.com
127.0.0.1 facebook.com
127.0.0.1 static.ak.fbcdn.net