-
-
Notifications
You must be signed in to change notification settings - Fork 3
Blocking websites
The Website Blocker add-on allows you to block access to specific websites. Creating a new blocking rule can be done using the add-on options.
If you don't know how to open the add-on options, please refer to the Opening addon options page on this wiki.
To efficiently and correctly make a blocking rule, you should make sure that you fully understand the anatomy of a website URL. This will help you to ensure that you are making the correct rules. To learn more, please refer to the Anatomy of a URL page on this wiki.
The Website Blocker add-on also supports to use of wildcards (*
) to block multiple items matching a certain pattern. To learn more about wildcards and how to use them, please refer to the Using wildcards page on this wiki.
The add-on provides 4 different types of blocking rules, which are outlined in further detail below:
Blocking a domain is the default blocking rule. This allows you to block every page on a specific domain or subdomain. For example, you could block example.com
. However, you could still access www.example.com
.
This rule will block every page on a specific domain and all of the subdomains associated with it. To create this rule, you only need to supply the domain. For example, blocking example.com
would also block access to www.example.com
.
This rule allows you to block only a specific page on a specific website and any subpages. For example, blocking example.com/help
would also prevent you from accessing example.com/help/contact
but not example.com/about
.
This functionality is recommended for advanced users only. It allows you to create your own custom URL rule. Any page(s) or website(s) that match that rule will be blocked.
A fully custom rule must included the protocol and domain, both of which can be wildcards. It can also include subdomains, a path, parameters or fragment.