Can ABP block Wordpress Plugins from loading?
Can ABP block Wordpress Plugins from loading?
Suppose a website loaded some kind of plugin (let's say an anti-adblock plugin), how could we get around it? Is there a way to block it from loading?
- Gingerbread Man
- Posts: 1339
- Joined: Fri Aug 12, 2011 5:28 am
Re: Can ABP block Wordpress Plugins from loading?
Please post an example.
Adblock Plus can't block things that are part of the web page, like inline scripts.
Adblock Plus can't block things that are part of the web page, like inline scripts.
Re: Can ABP block Wordpress Plugins from loading?
Here is an example - http://www.gravelbike.com/
- Gingerbread Man
- Posts: 1339
- Joined: Fri Aug 12, 2011 5:28 am
Re: Can ABP block Wordpress Plugins from loading?
You have things backwards: the fact that content is blocked is how the use of an ad blocker is detected. In the above case, the EasyList filter /advertisement. ends up blocking
If you want to get rid of the “Please consider whitelisting…” message, add the following filter:
Alternatively, you can whitelist the aforementioned script:
Code: Select all
http://www.gravelbike.com/wp-content/plugins/ad-blocking-detector/assets/js/advertisement.min.js?ver=4.2.2
Code: Select all
###abd_shortcode_widget-2
Code: Select all
@@^wp-content/plugins/ad-blocking-detector/$script
Re: Can ABP block Wordpress Plugins from loading?
@Gingerbread Man
Thanks for your reply.
That makes sense - I understand that Adblock blocks elements from loading on the client side(?), and (correct me if I'm wrong) it wouldn't be able to "block" a plugin per se, because it's server side php? But it _can_ block the elements that show up because of that plugin.
re: whitelisting the script - thanks! I'm curious though, how did you find this out? For the anti-ABP message, you can inspect the element and add the corresponding filter. How would you find the script that's loading?
Also, why doesn't someone add what I'm adding to _my_ whitelist to the _general_ EasyList, so that everyone using ABP can benefit? Instead of people doing it individually
Thanks for your time, this is really interesting!
Thanks for your reply.
That makes sense - I understand that Adblock blocks elements from loading on the client side(?), and (correct me if I'm wrong) it wouldn't be able to "block" a plugin per se, because it's server side php? But it _can_ block the elements that show up because of that plugin.
re: whitelisting the script - thanks! I'm curious though, how did you find this out? For the anti-ABP message, you can inspect the element and add the corresponding filter. How would you find the script that's loading?
Also, why doesn't someone add what I'm adding to _my_ whitelist to the _general_ EasyList, so that everyone using ABP can benefit? Instead of people doing it individually
Thanks for your time, this is really interesting!
- Gingerbread Man
- Posts: 1339
- Joined: Fri Aug 12, 2011 5:28 am
Re: Can ABP block Wordpress Plugins from loading?
It's just an external script file (client-side JavaScript).sahilc wrote:it wouldn't be able to "block" a plugin per se, because it's server side php?
In Firefox, you can click the Adblock Plus toolbar icon and choose Open Blockable Items. This displays everything that's blocked or hidden on the page, and everything that can be blocked.sahilc wrote:How would you find the script that's loading?
In other browsers, to check for blocked items, open the Developer Tools, then the Console. Look for items marked ERR_BLOCKED_BY_CLIENT.
That's up to the maintainers of EasyList.sahilc wrote:Also, why doesn't someone add what I'm adding to _my_ whitelist to the _general_ EasyList, so that everyone using ABP can benefit?
Re: Can ABP block Wordpress Plugins from loading?
That message seems fine according to our guidelines: https://easylist.adblockplus.org/blog/2 ... ite-admins
-
- Posts: 2
- Joined: Tue Jul 28, 2015 4:18 pm
Re: Can ABP block Wordpress Plugins from loading?
Maybe also have a look at this posting: forum/viewtopic.php?f=4&t=39640