-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Chrome establishes network connection despite filter #3219
Comments
Did you disable "Disable pre-fetching" in Settings? (it's enabled by default). Also, please mind whether the network request originate from behind-the-scene, these are not blocked by default by uBO. If all seems fine uBO-side, I suggest you report the issue to Chromium devs, uBO can't do more than what the API allows it to do. |
Thanks for your fast response! Tested with default settings, so "Disable pre-fetching" is active. Checked behind-the-scene requests (the request is not listed there) and even blocked them all, but the behavior is the same, the network connection is still made. So I guess this is to be considered a problem with Chrome and not uBO. Do you maybe have any tips on how to narrow the issue down, so that it's not needed to install uBO and Login to a specific site to reproduce? I would absolutely understand if explaining that would take to long, tho any pointers are appreciated. I'll try my best to report to Chromium anyway. |
I just looked using This seems to happen only with the "Legacy" option on Twitch. So it does seem that something is happening which escapes the webRequest API. This is not just |
I disabled javascript using the browser's own javascript blocking tool, and I blocked everything on Here is what I found finally. With "Legacy" mode enabled, in
Without "Legacy" mode, it's the following:
I think his narrows the issue: In Chromium, a I consider this a serious issue in the browser, a remote server should never ever override a user's own user agent privacy setting. |
Interesting, thanks for digging into this! The only official documentation I was able to find on the "prediction service" setting was in the Chrome Help.
From how I understand it, this only refers to prefetch, dns-prefetch and prerender (however this works now, officially its deprecated, but internally it's still used somehow according to chrome://net-internals/#prerender). But I might be totally mistaken here. Do you maybe have other resources that state directly which pre* methods should be deactivated when "prediction service" is disabled? Should I open a ticket on the Bugtracker suggesting to include (or fix) preconnect in that setting? |
For reference, I've opened a Chromium Issue here. |
Turned out that Chromium 51 "unbundled" the ability to disable preconnect, prefetch and dns-prefetch with the To get full functionality for Extensions back I've opened Chromium Issue 786038 as feature request. Personally I switched back to Firefox because I deem this completely unacceptable. |
I am somewhat puzzled on a related issue, could you help? Firefox allows to enable link-prefetching ( |
Chrome devs archived the issue. |
Hi,
thanks for your awesome work on uBlock Origin!
How to reproduce
ssl.handshake.extensions_server_name contains "api.mixpanel.com" || dns.qry.name == "api.mixpanel.com"
api.mixpanel.com
Actual Behavior
DevTools show
Status (failed) | Type xhr
for the request to the domainapi.mixpanel.com
, Wireshark captures DNS and TLSv1.2 packets: actual network connection is made. (refresh site to see xhr/packets again)Expected Behavior
Wireshark doesn't capture packets: no network connection.
Your settings
Your filter lists
Default
Your custom filters (if any)
None
Notes
Firefox doesn't show this behavior, Wireshark doesn't capture packets.
Tested with fresh Chrome Profile (no other extensions) and uBlock Origin (no custom settings).
Unfortunately I wasn't able to narrow the issue further down. If I can provide further information please let me know.
Best regards
Edit: Couldn't always reproduce while not logged in or on the "new" (not "Legacy") twitch site. Changed the steps to reproduce accordingly.
The text was updated successfully, but these errors were encountered: