The ‘Advanced adblocking rules’ Feature is a Beta Feature you can activate if you tap Ad blocking / Ad blocking settings / Advanced adblocking rules. By enabling this feature you get access to a very powerful additional option to block or allow many domains at once.
You can add an entry to Ad blocking / Blocked Hosts or Allowed Hosts. An entry needs to look like one of the following examples:
You can use an Asterisk (*) to block all subdomains of a domain.
E.g.: *.example.com.
This will block all requests ending with .example.com. This means a domain like news.example.com wouldn’t be accessed anymore.
A request like news.123example.com would still be accessed when using .example.com. If you want to block that domain as well, you simply set *example.com as rule in Blocked Hosts.
You cannot block a top-level domain. E.g.: *.com. This won’t be allowed by the app.
If you are using this feature, please tell us why you are using it in the comments.
Bt the way: you can also import a file including wildcards (advanced ad blocking rules) in Blokada.
Please note, that you can enable only one BETA feature at the same time at the moment. Either Advanced Adblocking rules or Smart List.
Hey guys:)
I tried to set up this article about the Advanced Ad blocking rules. Could someone please review it? I am not certain about the usage of technical terms and whether I forgot a case?
Thank you in advance:)!
A few days later when it came up I started to use it and it’s working just fine. I have a old phone with not so much Gig memory, 4 to be exact. I’m soon shall put in a other OS from XDA, but for now I have:
Xiaomi Mi Max 2 / Android 7.1.1 Miui10 Global Beta
How do you mean? Blokada is always on. It works in most app’s. Don’t remember what paper app it has no chance, maybe Reuter. You can see the Ad’s in Google chrome but you can’t click them. In many of the Web sites who selling things, there’s no Ad’s with Blokada. I haven’t any problems with FB twitter or telegram.
Edit /I love beta and when it comes up, I’m using it
Aha, well as long as you don’t manually add specific wildcards, the feature is not doing anything. As Host lists don’t include them.Then I’d recommend to enable Smartlist instead:)
I am happy that Blokada works this well for you:D!
Awesome, 1001 rules is pretty neat for Smartlist:D
Don’t forget to use the ‘clean’ function from time to time. It will remove all obsolete entries which are no longer included in any of your selected Host list :).
Found a bug today. Updates from Google play. It started when I should eat and when I came back it was still trying to update I turned down Blokada and then it worked.
I have set Blokada to start when I turn on the phone and it has the whole phone to play with. I mean, you’re from XDA!
Okay, hmm… next time please check your Host log for Google-related domains that are blocked. If this happens again, be welcome to open a topic in our Support section.
You can use an Asterisk (*) to block all subdomains of a domain.
E.g.: *.example.com .
This will block all requests ending with .example.com . This means a domain like news.example.com wouldn’t be accessed anymore.
A request like news.123example.com would still be accessed when using .example.com . If you want to block that domain as well, you simply set *example.com as rule in Blocked Hosts.
You cannot block a top-level domain. E.g.: *.com . This won’t be allowed by the app.
Will asterisk block all subdomains? For example, the rule *.bidr.io
will it block eu-west-1.bid.bidr.io?
will it block bidr.io as well?
Hey there and a warm welcome to this community:)
For the first question: yes, all subdomains will be blocked.
if you add *.abc.com everything not containing .abc.com won’t be blocked, meaning ‘abc.com’ will not be blocked, as the dot is missing.
heyhey:)
It can be found on v4: Ad blocking / Ad blocking settings / Blokada Labs. Remember you can either enable Advanced Ad blocking rules OR Smart list.
Edit: So you cannot yet do this in v5.
Hey:)
good question, sorry for the late answer:
They both are not valid. If you try to enter it in Blokada you receive an ‘invalid’ answer and cannot add this domain.
Feel free to open a Feature request for it in our Feedback category.