Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aydakikio authored Mar 3, 2024
1 parent b3299dc commit 91415d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ if output of commend is: `/usr/bin/bash` that means you are using bash and you c
# How to setup
For adding a website for blocking , add `"www.website address"` to `websites` array in script. It will generate a block state for each ip and website in `websites` array. Each block state will add to `/etc/hosts/` file later.

For editing the script run this commend on terminal:
For editing the script run this commend on terminal and add websites to `websites` array in script:

> $ nano blocker.sh
You can fill `nano` with your favourite text editor.

then you can add websites to `websites` array in script.

> [!WARNING]
> please don't insert websites with `https://` or `http://` prefixes. This method will not working with these prefixes.
Expand Down

0 comments on commit 91415d8

Please sign in to comment.