All Projects → raicem → impulse-blocker

raicem / impulse-blocker

Licence: MIT License
Block distracting websites when you are browsing the web. Use for procrastination.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to impulse-blocker

Scrollupfolder
A firefox addon wich goes up a folder of a website.
Stars: ✭ 18 (-86.57%)
Mutual labels:  webextensions, firefox-extension
Mue
Fast, open and free-to-use new tab page for modern browsers
Stars: ✭ 56 (-58.21%)
Mutual labels:  webextensions, firefox-extension
Read Aloud
An awesome browser extension that reads aloud webpage content with one click
Stars: ✭ 444 (+231.34%)
Mutual labels:  webextensions, firefox-extension
Browser Addon
Kee adds free, secure and easy password management features to your browser which save time and keep your private data more secure.
Stars: ✭ 386 (+188.06%)
Mutual labels:  webextensions, firefox-extension
containers-sync
A webextension which would sync firefox containers across multiple devices.
Stars: ✭ 34 (-74.63%)
Mutual labels:  webextensions, firefox-extension
Github Contribution Color Graph
Change colors of contribution graph in GitHub.
Stars: ✭ 70 (-47.76%)
Mutual labels:  webextensions, firefox-extension
Jsdemos
Home page for all listed extensions, if you have any suggestions/bugs, please file an issue in this repo
Stars: ✭ 14 (-89.55%)
Mutual labels:  webextensions, firefox-extension
pontoon-addon
Tools for Pontoon and its integration into the browser.
Stars: ✭ 13 (-90.3%)
Mutual labels:  webextensions, firefox-extension
quickjira
🚤 📂 Quickly access the JIRA of your choice by typing the ticket id
Stars: ✭ 65 (-51.49%)
Mutual labels:  webextensions, firefox-extension
Smartproxy
Firefox/Chrome browser extension. SmartProxy will automatically enable/disable proxy for the sites you visit, based on customizable patterns.
Stars: ✭ 199 (+48.51%)
Mutual labels:  webextensions, firefox-extension
fb-post-screenshot
Firefox Web Extension to save Facebook posts as images
Stars: ✭ 18 (-86.57%)
Mutual labels:  webextensions, firefox-extension
grammarly-markdown-extension
🖋 Convert Grammarly to Markdown (browser extension)
Stars: ✭ 23 (-82.84%)
Mutual labels:  webextensions, firefox-extension
stackOverflow focus
Remove all unnecessary clutter when looking for help on StackOverflow through a Chrome plugin.
Stars: ✭ 58 (-56.72%)
Mutual labels:  firefox-extension
youtube-video-quality
Watch YouTube in your preferred video quality
Stars: ✭ 37 (-72.39%)
Mutual labels:  firefox-extension
Socketify
Raw TCP and UDP Sockets API on Desktop Browsers
Stars: ✭ 67 (-50%)
Mutual labels:  firefox-extension
AniMouto
Let an imouto improve your AniList experience.
Stars: ✭ 44 (-67.16%)
Mutual labels:  firefox-extension
stylish-hub
🍹 A browser extension that brings new GitHub features and experience.
Stars: ✭ 14 (-89.55%)
Mutual labels:  firefox-extension
definitelytyped-firefox-webext-browser
Script to generate TypeScript definitions for WebExtension Development in FireFox
Stars: ✭ 24 (-82.09%)
Mutual labels:  webextensions
youtube-audio
Disable videos on Youtube saves resource usage (Youtube becomes audio only)
Stars: ✭ 13 (-90.3%)
Mutual labels:  firefox-extension
slext
Unofficial browser extension for extending the online LaTeX editor Overleaf
Stars: ✭ 21 (-84.33%)
Mutual labels:  firefox-extension

Impulse Blocker

Block distracting websites when you are browsing the web. Written using WebExtensions so it will be compatible with the future releases of Firefox.

Installation and Usage

If you want to install and use the extension please head over to here.

Simple usage guide can be found here.

Building

If you want to build the extension yourself using the source code, follow these steps.

Dependencies

Make sure you have node (version 11) and npm (version 6) installed on your machine.

Then clone this repository:

git clone https://github.com/raicem/impulse-blocker.git

Then install the dependencies using npm

npm install

If you want to build it to sideload the extension without using the Mozilla's AMO use this command.

npm run release

This will create a zip file in the web-ext-artifacts folder. This file contains everything the Firefox needs to run the extension. You can install it following instructions here and here.

Again just a reminder, you can install the extension from the official add-ons page. Simple usage instructions are here.

Contributing

The extension is open for any kinds of contribution. Please note that it requires a basic knowledge about WebExtensions API and React.

After following the steps explained in the Building section above, all you have to do is run these commands in parallel.

npm run watch will start the Webpack watcher. This will immediately build the extension and create files to be loaded into the Firefox.

npm run browser will load the built files into the isolated Firefox instance and you will be able to see the changes you make immediately.

Testing

Make sure you run through these steps to make sure the extension works.

Impulse Blocker testing

Starting and stopping

  • Start the blocker with no blocked websites. It should not interfere.
  • Start blocking a website. It should be blocked.
  • Add a second website to the block list. It should also be blocked.
  • Stop the blocker. Websites should now be free to access.
  • Start the blocker again. See the websites are blocked again.

Pausing

  • Pause the blocker. Websites should be free to access.
  • Cancel the pause. Websites should be blocked.
  • Pause the blocker again and restart the browser. It should still be paused.
  • Close the browser again and wait for pause period to finish. When you open the browser it should not be in pause state and websites must be blocked.
  • Add a website when the blocker is paused. It should still be paused.

Options page

  • Add website from the options page. It should be blocked.
  • Remove website from the options page. It should be now accessible.
  • Stop extension from the options page. It should stop the blocker.
  • Start the extension from the options page. It should start the blocker.
  • Tick and check options and check they have the desired effect on the popup.

Contributors

Huge thanks to contributors!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].