Block distracting websites during focus times
It will block a list of websites that you specify during a period of time. In my case, it will open Things app instead and black the page out when accessing a website during focus times
. You can program it to do something else and/or change the schedule/websites.
Shown in action here.
Open project in Xcode.
Edit content.js file. The urls
variable holds the websites to block. There is also schedule defined inside. Edit it for your own use.
Edit manifest.json, content_scripts
/matches
to include the websites too.
Build extension in Xcode and activate it in Safari settings (give permissions to websites there too).