-
Notifications
You must be signed in to change notification settings - Fork 76
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
uBlock GA overwrites breaking _link implementation when using a named property #1807
Comments
Related issue: - uBlockOrigin/uBlock-issues#1807
@wisniewskit, for your interest, you may want to update Firefox's shim the same way. |
Thanks for the ping, @gorhill ! Might we also want to do the same kind of test for the |
Personally on my side I prefer to have actual concrete reproducible cases to justify such change, I don't feel comfortable to change this without knowing whether this really happens out there. |
Related issue: - AdguardTeam/Scriptlets#154 Related discussion: - uBlockOrigin/uBlock-issues#1807
Understood, thanks. I'm inclined to agree. |
Prerequisites
I tried to reproduce the issue when...
Description
uBlock seems to overwrite GA script, which is fine. The issue is "_link" push wouldn't work if using a named property.
Example without a named property:
js _gaq.push(['_link', url]);
Example using a named property:
js _gaq.push(['named._link', url]);
Relevant code from uBlock GA:
If using a named property,
a[0]
is going to be{name here}._link
and nothing would have been done.A specific URL where the issue occurs
https://wms2demo-201.previews.funeralone.com/store/best-sellers/beautiful-in-blue
Steps to Reproduce
Expected behavior
Works the same way when the GA property isn't named, makes a redirect.
Actual behavior
It does not redirect.
uBlock Origin version
uBlock Origin 1.38.6
Browser name and version
Chrome 95.0.4638.69
Operating System and version
macOS 10.14.6
The text was updated successfully, but these errors were encountered: