Focus makes it easy to block any kind of website you can think of. Its goal is to make common blocking scenarios simple and complex scenarios possible.
It accomplishes these goals through two different URL blocking modes: Simple and Advanced URL blocking.
Simple URL blocking
The default mode for blocking is Simple URL blocking and this allows you to just specify a domain or URL to block.
For example, you can specify just the domain facebook.com and Focus will block the following URLs:
Or you can specify more of the URL like facebook.com/newsfeed then Focus will only block:
But will not block
Finally, you can specify wildcards (*) to add even more flexibility.
If you specify facebook.com/*/about then Focus will only block:
But will not block:
Simple URL blocking works for nearly all cases and is extremely flexible. However, sometimes you need even more control. That's where Advanced URL blocking comes in.
A really simple but powerful way to add exceptions to blocking is to add a plus sign (
+) before a URL. This tells Focus to add an exception for this rule. This makes it really easy, for example, to block all of Facebook except a certain URL.
Advanced URL blocking with Regex
Advanced URL blocking is available when you need more even control over URL blocking, and provides direct access to regular expressions.
Regular expressions in Focus are denoted by a beginning and ending forward slash.
For example, the following expression blocks Facebook.com:
When is this useful?
When you have a really complex URL to block that can't be expressed with regular Whitelist Exceptions.
For example, say you wanted to block access to something that Focus doesn't handle by default, like FTP.
With regular expressions, you could add the following rule and block a specific FTP server:
Of course a much more complex rule can be used, and the Whitelist Exceptions can actually be used in conjunction with regular expressions to create whitelist rules that are even more powerful:
This rule would block all FTP servers, but allow ftp.ed.ac.uk.
Watch a tutorial on how to block websites and apps using Focus.
Contact firstname.lastname@example.org if you have any questions about Focus.