Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/penge/block-site
Chrome/Firefox extension that blocks access to distracting websites to improve your productivity.
https://github.com/penge/block-site
block chrome-extension extension firefox-extension productivity site
Last synced: 13 days ago
JSON representation
Chrome/Firefox extension that blocks access to distracting websites to improve your productivity.
- Host: GitHub
- URL: https://github.com/penge/block-site
- Owner: penge
- License: mit
- Created: 2019-11-12T06:40:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-27T13:51:11.000Z (7 months ago)
- Last Synced: 2024-04-27T16:02:50.919Z (7 months ago)
- Topics: block, chrome-extension, extension, firefox-extension, productivity, site
- Language: TypeScript
- Homepage: https://chrome.google.com/webstore/detail/block-site/bjcnpgekponkjpincbcoflgkdomldlnl
- Size: 250 KB
- Stars: 227
- Watchers: 9
- Forks: 30
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Block Site
**Block Site** is a simple **Chrome/Firefox extension** that improves your productivity by blocking access to distracting websites as you specify.
## Icon
## Usage
Click on the icon. Enter sites to block. See [Special characters](#special-characters) and [Examples](#examples).
Choose how to resolve blocked: **Close Tab**, or **Show Blocked info page**.
**Blocked info page** shows what _url_ was blocked, based on which _rule_ it was blocked, and optionally a blocked count over a chosen period of time:
_All Time_, _This Month_, _This Week_, or _Today_.### Special characters
```
! ⇒ prepend to exclude from blocking
* ⇒ match any zero or more characters
? ⇒ match any one character
```### Examples
```
example.com # Blocks example.com/ and any page on itexample.com/ # Blocks example.com/ ONLY
example.com/* # Blocks example.com/ and any page on itexample.com/* # Blocks any page on example.com/
!example.com/orange/ # except example.com/orange/*.example.com/ # Blocks any subdomain of example.com/
!apple.example.com/ # except apple.example.com/*watch* # Blocks any page containing word "watch"
example.com/????/* # Blocks e.g.:
# - example.com/pear/projects/1
# - example.com/plum/projects/1example.com/*rry/* # Blocks e.g.:
# - example.com/cherry/projects/1
# - example.com/strawberry/projects/1
```### Context menu
If enabled, Block Site will be added to your browser's context menu. It will offer options to:
- Block this page only
- Block entire website## Privacy notice
Block Site doesn't collect any personal information or data.
Any user settings are stored in your browser only.