New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blocking by uBlock Origin not detected #53
Comments
First of all , there is no need to do a 100% , this is not like a competition or something . It's just a tool that check if you are blocking something or not .
With above configuration , uBo is expected to also block the scripts loading too , and the tools should detect a 100%. |
Found out this issue similar to what I've seen when someone showed your tool a couple of days ago. So that I understand, if the issue doesn't even leave the browser, it should be considered as fine? I'll explain what's strange here: I've scoured both uMatrix matrix and Firefox' devtools.
All of them are coming from the domain hosting the tool. Note that it's the same for the whole 10 ones appearing as red: they're all missing from devtools network logs, as opposed to those in green, appearing in the devtools but marked as blocked. |
Sure. I opened the issue as I'm sure that in both cases all urls are blocked and that the test showing some as not blocked is wrong. |
@Porkepix yeah , weird things going on sometimes . So I got able to replicate your issue or similar i'd say |
@ne20002 So, JS is pretty limited + CORS thing didn't help. My solution code is pretty simple, I make a HEAD request to this host (Why HEAD and not GET?). To avoid loading the real content of those urls like ads, trackers etc.). ) . From there in case of ublock if the request is blocked it will return a |
I'm not sure what do you mean by reproducing with this screenshot? Thing is, if the request isn't listed in devtools with a 2XX or 3XX, it should never appear as red, right? Anyway, uBo seems pretty much the most standard solution here, and uMatrix while not maintained anymore have much of a common codebase with it (same developer). Also, as it seems you main browser is Chrome, it seems that as time will pass, adblockers will become less and less effective there, looking at Google stance on it and the limitation they progressively add to Chrome's addons (manifests v3 and so on…) |
Yes
Exactly this is what confuses me too . It's weird , complex and annoying. Too many factors are there to be analyzed.
Yes, but as a front-end dev, I basically use every browser out there ( Chrome , Brave, Firefox, Safari and Edge for now ) all with similar configurations |
It gets even weirder. 😀️ In Firefox with uBO I think the test is fooled by redirect rule in |
I second this. Having a setup with multiple blockings (uBlock, Firefox buildin, /e/OS and a pi-hole ... |
@d3ward I can confirm that Firefox has some weird stuff going on with this test page (Unsure if it is the page itself or how UBO is blocking/reporting blocked connections). As shown below, I tested the latest Edge, Chrome, and Firefox browsers with different setups and recorded their scores. Baseline (Browser security only): Test one (Default UBO settings): Test two (Best practice UBO settings): Test three (Default UBO settings + Your tracker list): Test four (Best practice UBO + Your tracker list): I took it a step further and checked dev tools for one URL (HotJar) across all three browsers, and on all three, UBO blocked it: Please let me know if you need anything else or want more testing, and I will happily provide it! |
@d3ward Not all FF forks have the problem. |
Current test gives me 91% with unchanged setup. |
Hi everyone, after a while I can confirm that there is a problem with Firefox + ublock Origin. Mostly the reason is related to how ubo works on Firefox to make it more performant compared to other browsers. More info here -> https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-best-on-Firefox For now, the only solution to make the test tool work on Firefox + ubo is to add this rule in "My Filters". I'm working on a feature to make this clearer to avoid confusion for users. |
The latest update includes a better notice for users, with an updated compatibility table that includes details of Firefox issues. Thank you all for so much input! This is the best I could come up with, without affecting non-Firefox users and not banning them in an aggressive way. |
I wondered how to get a 100% blocking, as I always had a few entries stated as not blocked. I took some tests and it showed that blocking with uBlock Origin in Firefox (desktop and Android) is not detected (correctly).
Add all urls or the given blocklist to local pi-hole. Disable uBlock Origin.
-> 100% of URLs are blocked, but scripts and static/dynamic ads is red
Enable uBlock Origin, still with blocking in pi-hole.
-> scripts and static/dynamic ad is schown as blocked (green) but a few URLs which are blocked by uBlock Origin are shown as red. Even though they are blocked by pi-hole also: (ads.youtube.com, ads-api.twitter.com)
Looking in console of Firefox desktop, these two urls are not called but shown as red anyway.
The text was updated successfully, but these errors were encountered: