Some blocklists use wirdcards to block all subdomains for a domain. Wildcards look like this:
*.example.com
The asterisk (*) means that anything can replace it, and hence, in this example, any subdomain of the domain example.com will be blocked. Examples of domains that would be blocked:
Please note that the wildcard can only be placed as a prefix (before the domain), and only one wildcard is supported per entry.
Which versions of Blokada support wildcards?
Blokada 4 supports wildcards for a long while now. It needs to be manually activated under the Advanced Adblocking option menu. It supports adding blocklists with wildcards, or even adding your own entries with wildcards. Learn more about advanced adblocking here.
Blokada 5 for Android supports wildcards starting with v5.11. There is no need to enable this feature, it will be automatically enabled for blocklists that contain wildcards. Currently, the default blocklist (in v5.11) has wildcards, so this feature is automatically activated by default.
Blokada for ios supports wildcards as well. All you need to do is configure them over at app.blokada.org
will that just block all subdomains of example.com or also its root domain?
Meaning: if we want to block example.comand all of its subdomains, does the above suffice, or do we need an additional entry for the root domain like this…
Hi,
No, not yet.
Blokada v5 uses a different approach to implement wildcards. In v5 the blocklists can include wildcards but there is no possibility to add new wildcards manually yet
I’m pleased to announce that the feature is now available.
However it’s currently only available to configure this through app.blokada.org.
Navigate to Blokada Cloud → exceptions, then add wildcard entries such as *.example.com.
We will integrate the wildcard blocklists and make it more convenient to manage in the app a bit further down the road