Read and write to /etc/hosts
TL;DR: - Rename website-blocker to url-blocker - Add a README.md - Reads and writes to /etc/hosts
This commit is contained in:
parent
75595b0126
commit
946764f6bd
8 changed files with 182 additions and 25 deletions
28
tools/url-blocker/rules.json
Normal file
28
tools/url-blocker/rules.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"urls": [
|
||||
"facebook.com",
|
||||
"www.facebook.com",
|
||||
"twitter.com",
|
||||
"www.twitter.com",
|
||||
"youtube.com",
|
||||
"www.youtube.com",
|
||||
"instagram.com",
|
||||
"www.instagram.com"
|
||||
],
|
||||
"allowed": []
|
||||
},
|
||||
{
|
||||
"urls": [
|
||||
"chat.googleplex.com"
|
||||
],
|
||||
"allowed": [
|
||||
{
|
||||
"day": "Sunday",
|
||||
"timeslots": [
|
||||
"18:35-18:39"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue