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

Blocks StackExchange functions #1540

Open
mesvam opened this issue Aug 10, 2023 · 4 comments
Open

Blocks StackExchange functions #1540

mesvam opened this issue Aug 10, 2023 · 4 comments

Comments

@mesvam
Copy link

mesvam commented Aug 10, 2023

List the website(s) you're having issues:

StackExchange sites

What happens?

Vote buttons don't respond, among many other scripted events like profile popdown, etc.

Other details:

This is the filter interfering
serverfault.com,superuser.com,stackoverflow.com,askubuntu.com,stackexchange.com##+js(acis, StackExchange.ga.init)

deCloudflare pushed a commit to mypdns/adblocker-rules that referenced this issue Aug 17, 2023
@vermgit
Copy link

vermgit commented Sep 1, 2023

When will this become available? My µBlock points to this file as the relevant source for the blocking:

[Adblock Plus 2.0]
! Checksum: 1JeRnRcun8N01nsYcbZp3Q
! Title: Fanboy's Enhanced Tracking List
! Updated: 18 Feb 2021
! Expires: 5 days
! License: http://creativecommons.org/licenses/by/3.0/
! Homepage: http://www.fanboy.co.nz/
! Reporting Issues: https://github.com/ryanbr/fanboy-adblock/issues
:
:
serverfault.com,superuser.com,stackoverflow.com,askubuntu.com,stackexchange.com##+js(acis, _comscore)
serverfault.com,superuser.com,stackoverflow.com,askubuntu.com,stackexchange.com##+js(acis, _qevents)
serverfault.com,superuser.com,stackoverflow.com,askubuntu.com,stackexchange.com##+js(acis, GoogleAnalyticsObject)
serverfault.com,superuser.com,stackoverflow.com,askubuntu.com,stackexchange.com##+js(acis, StackExchange.ga.init)
:

And with the above I have the issues described in the issue description.

So I'm not sure how my browser or µBlock gets the fix.

@trolzen
Copy link

trolzen commented Sep 8, 2023

Does anyone know a workaround for this issue? How to turn off some of that rules without turning off the whole list?

@trolzen
Copy link

trolzen commented Sep 8, 2023

OK, found the solution. To fix broken SO functionality (up/down votes etc.) one can put the following in their "My filters" list:

! fix for Fanboy's Enhanced Tracking List breaking SO's up/down votes
serverfault.com,superuser.com,stackoverflow.com,askubuntu.com,stackexchange.com#@#+js(acis, StackExchange.ga.init)

⚠️ BEWARE! Judging by the text in the rule this will enable tracking! Maybe it's not what you want.

@sugarbleat
Copy link

Same issue here in uBlock Origin.

My understanding (not knowing internals too well) is that the acis scriptlet sets up window.StackExchange to abort on get/set instead of the full window.StackExchange.ga.init. This is because the scriptlet is installed too early, before window.StackExchange is initialized in https://cdn.sstatic.net/Js/stub.en.js.

This means window.StackExchange.ready is also blocked for example.

This comment seems to relate: uBlockOrigin/uBlock-issues#2130 (comment). If so, it could be a recent regression under uBlock Origin.

Replacing acis with aopr in this one rule seems to fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants