Skip to content

A chrome extension that blocks distracting sites while allowing for a limited number of temporary unblock sessions per day.

Notifications You must be signed in to change notification settings

laurovborges/SessionBlock

Repository files navigation

sessionblock_icon_128

SessionBlock

A chrome extension that blocks distracting sites while allowing for a limited number of temporary unblock sessions per day.

With this chrome extension, you can give yourself timed breaks that unlock all the distracting sites that you blocked. Stay productive without burning yourself out!

Features:

  • Configurable unblock duration and unblocks per day
  • Choose what days of the week the extension is active
  • Allow specific URL exceptions (such as a specific YouTube video)
  • Customizable block page message

Usage:

Step 1:

Configure your settings. Choose how long you want each unblock session to be, how many per day, and which days of the week.

sessionblock_settings

Step 2:

Add the sites you want to block to the blocklist. Each site name should be formatted like youtube.com or twitch.tv and should be separated by a new line each.

If there are specific URLs from a blocked site that you would still like to access, such as a specific YouTube video or Reddit post, you can add the full URL to the Allowed URL's list. These must be the full links, such as https://www.youtube.com/watch?v=EerdGm-ehJQ, and are also separated by a new line.

sessionblock_blocklist sessionblock_whitelist

Step 3:

Make sure to save your changes! After doing so, the sites you listed will be blocked. Now, whenever you feel like taking a break, you can click the Unblock button which will start the timer and temporarily grant you access to all your distractions!

sessionblock_mainpage sessionblock_unblocked

Installation

sessionblock_unblocked

The easiest way is to install it from the Chrome Web Store.
If you'd like to install it manually, you can follow this guide.

Why does SessionBlock need access to my browsing history?

It is simply so that the blockpage can display the URL of the page that was just blocked.

sessionblock_blockpage_history_permission

About

A chrome extension that blocks distracting sites while allowing for a limited number of temporary unblock sessions per day.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published