Skip to content
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

Image Tracker blocked by uBlock Origin '1st-party scripts' #11311

Closed
collinbarrett opened this issue Feb 1, 2017 · 2 comments
Closed

Image Tracker blocked by uBlock Origin '1st-party scripts' #11311

collinbarrett opened this issue Feb 1, 2017 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@collinbarrett
Copy link

tl;dr:
I believe some tools like uBlock Origin flag the Image Tracker's "img" (really a php file) as a "script" due to the php file extension.

Details:
As I understand, the Image Tracker is to allow for bare-bones tracking of users who have javascript disabled. To test this, I tried loading my Piwik-enabled site in Chrome with uBlock Origin's "1st-party scripts" and "3rd-party scripts" blocked. (I use Tracker Proxy, so blocking "1st-party scripts" is the rule of interest.)

However, I noticed that the noscript call to the "img src" of piwik.php is still blocked by uBlock Origin. (Note that I actually renamed "piwik.php" to "randomName.php" so that the keyword "piwik" is not blocked by any default uBlock Origin filter lists. I also verified that it was in fact the "1st-party scripts" rule that blocked it via uBlock Origin's logger.) It likely flags the php extension as a script as well.

Is there a way to replace the php file with an actual image file (jpg, gif, etc.) for noscript tracking so that uBlock Origin (and possibly other tools) cannot differentiate it as being a "script"? I understand I would have to adjust my caching rules so that the specific image is not cached at any level (browser, cdn, web server cache, etc.).

@collinbarrett collinbarrett changed the title Image Tracker Blocked by uBlock Origin 1st-Party Scripts Image Tracker blocked by uBlock Origin '1st-party scripts' Feb 1, 2017
@mattab
Copy link
Member

mattab commented Feb 21, 2017

Hi @collinbarrett

we haven't checked your findings. To answer your question we'd need to understand how ublock origin blocking policy works and why it would block the image tracker, and therefore how to work around this. My best bet would be to understand this first maybe by asking the ublock origin team or in their forums. This is for us out of scope. cheers

@mattab mattab closed this as completed Feb 21, 2017
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Feb 21, 2017
@negreanucalin
Copy link

The issue is that ad-blocking software checks each request and is a query parameter matches a given rule it block it.
See: My proposal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants