Easy Privacy breaks things in WordPress admin dashboards

This is where you should report issues arising from the subscription filters.
Locked
deconf
New Member
New Member
Posts: 8
Joined: Fri Jan 09, 2015 5:43 pm

Easy Privacy breaks things in WordPress admin dashboards

Post by deconf »

I have multiple reports from my users, about Easy Privacy filters breaking things on wordpress.org and on administration dashboards, here are some examples:

wordpress.org
https://wordpress.org/plugins/google-an ... reenshots/

http://postimg.org/image/akmedfvl5/ (no banners and screenshots are displayed)

WordPress admin dashboard (Google Analytics Dashboard widget gets blocked)
http://postimg.org/image/rhep332j1/

and same thing on plugin's settings page.
I was able to replicate the issue only when the Easy Privacy list is enabled (which is a default).

Here is a screenshot of the Console Log:

http://i.imgur.com/U8kAPuf.png

The maintainer of the uBlock, advicied me to contact you:

EasyPrivacy is third-party to uBlock. You need to contact the maintainers of EasyPrivacy to have the problem fixed for all users, not just uBlock's users.
From what I quickly gather, it appears the filter /google-analytics- is at fault.

Thanks!
User avatar
fanboy Verified
EasyList Author
EasyList Author
Posts: 12244
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy Verified »

Do you have a sample site that has google-analytics enabled on it?
gorhill Verified
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill Verified »

From the install package, it looks like the folder of the plug-in is "/google-analytics-dashboard-for-wp" by default, so I guess "@@/google-analytics-dashboard-for-wp" should be fine. (OP's first link matches).

Edit: Actually OP's link is broken. Here: https://wordpress.org/plugins/google-an ... reenshots/ (but this can be on any domain, not just wordpress.org).
User avatar
fanboy Verified
EasyList Author
EasyList Author
Posts: 12244
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy Verified »

Thats too generic.. I'm trying to avoid enabling google-analytics whitelist outside of wp..

https://hg.adblockplus.org/easylist/rev/8d205c2e0b38
deconf
New Member
New Member
Posts: 8
Joined: Fri Jan 09, 2015 5:43 pm

Post by deconf »

If it helps, you've probably noticed that I'm always using inline code for tracking. I mean, I'm not adding any of the tracking features in a JS file, just to avoid a general filter on my plugin path.

With this approach I always thought I'm safe. You guys can do your thing (blocking what you need to block) and keeps my plugin's path safe to avoid breaking the plugin in administration dashboards and it's settings page.

I thought this is a safe way to go, but it looks there is a more general filter that affects me ...
Last edited by deconf on Sun Jan 11, 2015 6:04 pm, edited 1 time in total.
deconf
New Member
New Member
Posts: 8
Joined: Fri Jan 09, 2015 5:43 pm

Post by deconf »

Hi,

What do you think about "@@wp-content/plugins/google-analytics-dashboard-for-wp"? Would a filter like this still considered generic?

Thank you!
User avatar
fanboy Verified
EasyList Author
EasyList Author
Posts: 12244
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy Verified »

Is there another sample site where it breaks?
deconf
New Member
New Member
Posts: 8
Joined: Fri Jan 09, 2015 5:43 pm

Post by deconf »

It basically breaks on each site, but on the backend side (the administration dashboard), because there are some css files and js files loaded through that path in order for the dashboard to work properly.

As you can see here: http://postimg.org/image/rhep332j1/, that's a screenshot from a wordpress backend. And here's what gets blocked: http://i.imgur.com/U8kAPuf.png on backend.

When you've asked for a sample I thought you are talking about frontend. If you also want to see the backend, I could give you access to one of my test sites, if you need to drive further tests.
User avatar
fanboy Verified
EasyList Author
EasyList Author
Posts: 12244
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy Verified »

I need a sample/working site of where its being used to avoid creating a whitelist to generic. Those screenshots aren't enough
deconf
New Member
New Member
Posts: 8
Joined: Fri Jan 09, 2015 5:43 pm

Post by deconf »

Hi,

I've sent you a sample site, last night.

Thank you.
deconf
New Member
New Member
Posts: 8
Joined: Fri Jan 09, 2015 5:43 pm

Post by deconf »

Hi,

Any updates on this issue?

Thanks
User avatar
fanboy Verified
EasyList Author
EasyList Author
Posts: 12244
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy Verified »

Don't recall seeing any sample site being sent to me
anonsubmitter
Postaholic
Postaholic
Posts: 1184
Joined: Sat Feb 07, 2015 9:18 pm

Post by anonsubmitter »

You might want to whitelist squarespace.com as well. They offer WordPress for their website building service and Squarespace is quite popular as far as I know. Here is a sample site: http://philipdefranco.squarespace.com/
I don't have any account on Squarespace though, so this is all the info that I am able to provide.
deconf
New Member
New Member
Posts: 8
Joined: Fri Jan 09, 2015 5:43 pm

Post by deconf »

fanboy wrote:Don't recall seeing any sample site being sent to me
It was a PM, because I've sent you some credentials to the site.

I've sent them again.
deconf
New Member
New Member
Posts: 8
Joined: Fri Jan 09, 2015 5:43 pm

Post by deconf »

Works fine, thank you!
Locked