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

cookie-law-info-public.js GPPR script (Wordpress) #13127

Closed
peace2000 opened this issue Aug 28, 2022 · 7 comments
Closed

cookie-law-info-public.js GPPR script (Wordpress) #13127

peace2000 opened this issue Aug 28, 2022 · 7 comments

Comments

@peace2000
Copy link
Contributor

peace2000 commented Aug 28, 2022

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

apotti.fi

What happens?

GDPR script not blocked

List Subscriptions you're using:

Easylist Cookie

Your settings

  • OS/version: Win 10
  • Browser/version: Firefox 104
  • Adblock Extension/version: uBO 1.44.1b2

Other details:

I'm not sure whether a specific or a generic would be a better option.

/wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.js is used pretty widely: https://publicwww.com/websites/%22%2Fwp-content%2Fplugins%2Fcookie-law-info%2Fpublic%2Fjs%2Fcookie-law-info-public.js%22/

Despite it's name, the script doesn't seem to be related to Onetrust and cookielaw.org. It seems to be a wordpress script. I cannot guarantee it's safe to block this script generally though I don't have a reason to suspect it would cause a lot of issues.

There isn't a specific rule for this script on EL Cookie: https://github.com/easylist/easylist/blob/master/easylist_cookie/easylist_cookie_specific_block.txt

Edit, at least on this page blocking the same script doesn't cause video issues:

https://www.openculture.com/2013/05/steven_soderbergh_writes_twitter_novella.html

Tweets work despite blocking that script:
https://www.macitynet.it/twitter-lavora-sul-tasto-modifica-in-arrivo-per-twitter-blue/

Edit2.

Though blocking the script on 180k sites individually might be a huge task so maybe better to try with a generic and whitelist individual domains afterwards if needed?

@peace2000 peace2000 changed the title cookie-law-info-public.js GPPR script (WP) cookie-law-info-public.js GPPR script (Wordpress) Aug 28, 2022
@ryanbr
Copy link
Member

ryanbr commented Aug 28, 2022

Does it break scrolls on pages?

@peace2000
Copy link
Contributor Author

Does it break scrolls on pages?

No, I checked every domain that were listed at the first page of publicwww search. No issues with scrolling at all.

ryanbr added a commit that referenced this issue Aug 29, 2022
@ryanbr ryanbr closed this as completed Aug 29, 2022
@Yuki2718
Copy link
Collaborator

Of note AGA has two exception for this. They're all hidden by ###cookie-law-info-bar and in some cases by ###cookie-law-info-again too. Usually blocking this alone doesn't remove cookie dialog but move it to bottom by breaking dialog's layout.

@ryanbr
Copy link
Member

ryanbr commented Aug 29, 2022

Found ###cookie-law-info-bar would break on some sites @Yuki2718 (scroll breaks)

@Yuki2718
Copy link
Collaborator

Oh, okay. In that case the rule seems to be useful - the leftover moved to bottom are still hidden by ###cookie-law-info-again.

@peace2000
Copy link
Contributor Author

But blocking the script also prevents those broken banners from appearing?

@Yuki2718
Copy link
Collaborator

Yes, apparently no problem as long as ###cookie-law-info-again is there.

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

3 participants