Repository files navigation
A python script to block access to websites for a period of time
To run this script in the background as a process:
Change the python file extension to '.pyw'
Run as Administrator and execute
To run this script as soon as your computer starts:
Change the python file extension to '.pyw'
Search Task Scheduler
Click 'Create Task'
Input a name for this task (you can use website blocker)
Click 'Configure for' and choose your os
Click the 'Run with highest priviledges' so that windows will run the script with administrativie rights
Go to 'Triggers' tab and click New
Then click the 'Begin the task' dropdown and select At Startup' then OK
Next, go to the 'Actions' tab, click the action dropdown and select 'Start a program'
Click browse to select the script from directory and click OK
Next, go to the 'Conditions' tab, you can choose to run the script on AC power or not
select OK
REBOOT YOUR SYSTEM
About
A python script to block access to websites for a period of time
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.