Website blocker block the list of sites from the host file for the dates given by the user
In Website Blocker, time library is used in the project which gives the functionality to fetch the present day, It is a user-based program where the user will give the input of starting or end date in the format (DD/MM/YYYY). If condition to check if today's date is in between the user entered dates then it will add the sites to the host files, if it already exists then it will pass the argument when the end date ends it will go to the else condition and remove the sites from the host file.
Submitted by sabahasan (saba27)
Download packets of source code on Coders Packet