An open API service indexing awesome lists of open source software.

https://github.com/sanshruthr/python_websiteblocker

Python based website blocker for windows
https://github.com/sanshruthr/python_websiteblocker

python tkinter tkinter-gui website-blocker website-blocker-python

Last synced: 6 months ago
JSON representation

Python based website blocker for windows

Awesome Lists containing this project

README

          

# python_websiteblocker
# Gui based website blocker for windows
## Prequisites
>Python 3.xx

>Windows Machine with windows 10/11

## How to Run

**1.Run websiteblocker.exe to install the dependencies**
>![image](https://user-images.githubusercontent.com/98751980/221347546-32c83f33-24f9-4666-ad05-bce5e26bc8f6.png)

**2.Grant Admin permisions**

**3.Click on "Block Websites"**

>![image](https://user-images.githubusercontent.com/98751980/221347701-80da22ee-e380-4d96-b629-378600a7043b.png)

**4.Add CSV values in the tkinter box**

>![image](https://user-images.githubusercontent.com/98751980/221347762-8f65e574-ef64-4708-9014-ebae111618b9.png)

**5.Example reddit.com,facebook.com and submit the form**

>![image](https://user-images.githubusercontent.com/98751980/221348656-1df188ed-ca7a-4828-83d9-f34c478e3746.png)

**6. Go to the blocked websites and check**

>![image](https://user-images.githubusercontent.com/98751980/221348872-8ef588e2-7f1b-4c76-b67e-ac17ae7f8e76.png)

**7. Unblock the websites by running the executable again and clicking on unblock websites**

**8. Close the browser and visit the unblocked website again**

>![image](https://user-images.githubusercontent.com/98751980/221348988-2b952338-8ae2-48a3-86ca-3e550917d477.png)

## How to stop Windows defender from removing the executable

**1. Open Windows Security and click on virus & threat protection settings**
>![image](https://user-images.githubusercontent.com/98751980/221366952-2b28e2b4-d1cc-4075-a120-473ecfa9e509.png)

**2.Click on manage settings and add exclusions**
>![image](https://user-images.githubusercontent.com/98751980/221367040-0ef8736a-ed1d-4e2c-b299-06312626cdde.png)

**3. Add exclusion and select "file" from the dropdown**
>![image](https://user-images.githubusercontent.com/98751980/221367098-17bc4f9a-792c-4d7e-ab9d-13f3ded2076f.png)

**4. Specify the path of the folder where the project is saved**
>![image](https://user-images.githubusercontent.com/98751980/221367210-5839cdb9-82bd-4f81-90d0-bfd2f5d0cb5a.png)