Skip to content

Commit

Permalink
init.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4rtaz committed Oct 19, 2020
0 parents commit 9b19bbc
Show file tree
Hide file tree
Showing 26 changed files with 1,514 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"extends": "eslint:recommended",
"rules": {
"indent": ["error", "tab"],
"semi": ["error", "always"],
"quotes": ["error", "single"]
},
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"es6": true,
"browser": true
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules/
/dist/
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: node_js
node_js:
- "10"
- "12"
- "14"

install:
- npm install

script:
- npm run lint
- npm run make
9 changes: 9 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The MIT License (MIT)

Copyright (c) 2020 Bartlomiej Tadych

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
![Simple Site Blocker](simple-site-blocker.png)

# Simple Site Blocker

Block disturbing websites easily. Stay focused. This extension allows you to block any website in Firefox or Chrome. Please note that, the extension blocks the whole domain. When you want to take a break you may deactivate the blocking easily for all blocked sites.

This extension DOES NOT contain ads, tracking or premium. Your privacy is most important.

## 🔆 Download for Your Browser

[Mozilla Firefox](https://addons.mozilla.org/pl/firefox/addon/simplesiteblocker/)
⏩ Google Chrome (soon)

## ⚙️ How to Build

[Node.js](https://nodejs.org/en/) is required.

```
npm install
npm run make
```

## 🤝 Contributing

Contributions, issues and feature requests are welcome!

## 💡 License

This project is released under the MIT license.
6 changes: 6 additions & 0 deletions make-chrome.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

mkdir -p dist/chrome
rm -r dist/chrome/*
cp -R platforms/chrome/* dist/chrome
cp -R src/* dist/chrome
6 changes: 6 additions & 0 deletions make-firefox.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

mkdir -p dist/firefox
rm -r dist/firefox/*
cp -R platforms/firefox/* dist/firefox
cp -R src/* dist/firefox
Loading

0 comments on commit 9b19bbc

Please sign in to comment.