Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[SOLVED] adblock
I recently added some images linking to our social media pages but I noticed that in chrome ABP (which is interestingly enough powered by txp) is blocking fb and twitter (G+ and vimeo appear just fine).
Could someone recommend a way to get all images displayed? Basically none of our sites are using ads and I have no idea why ABP is blocking legitimate (be that an unfortunate choice of word for social media), html links.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [SOLVED] adblock
Check if, in the URL for your images or links, there is some string like “ad” or “ads” or “pub” or “publicidad” (or the corresponding word in your language).
I’ve seen ABP blocking images because the word publicidad
(Spanish for “advertising”) was there, in the URL.
Offline
Re: [SOLVED] adblock
Not at all!!! Here’s how it parses.
htm
<div class="social">
<a rel="external" href="https://www.facebook.com/NeMeArtsCentre/"><img src="http://www.neme.org/images/956.jpg" alt="facebook" width="50" height="50" /></a>
<a rel="external" href="https://twitter.com/nemeorg/"><img src="http://www.neme.org/images/957.jpg" alt="twitter" width="50" height="50" /></a><a rel="external" href="https://plus.google.com/112320566517565607455"><img src="http://www.neme.org/images/955.jpg" alt="G+" width="50" height="50" /></a>
<a rel="external" href="https://vimeo.com/imca/"><img src="http://www.neme.org/images/954.jpg" alt="vimeo" width="50" height="50" /></a>
</div>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [SOLVED] adblock
Hey Yiannis – is this on a specific page of neme.org, or all? I ask because the homepage on my ABP-enabled Chrome here, it’s all working fine:
Offline
Re: [SOLVED] adblock
Although ABP behaves just fine in ff and safari, this is what I get in Chrome:
And this is from respublikafest.org
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [SOLVED] adblock
I wonder if there’s some heuristics going on with the ABP rules — perhaps there’s a history of blocked ads with links to Facebook and/or Twitter and ABP is adapting on-the-fly.
Offline
Re: [SOLVED] adblock
Is there an easy way to detect if
- Visitor uses Chrome
- ABP is installed
and if so serve text links instead of images?
I found that text links don’t get blocked.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [SOLVED] adblock
Untested: www.detectadblock.com
Offline
Re: [SOLVED] adblock
I saw that one but I am in a situation which does not really fit the js.
- the problem is only on chrome
- 2 out of 4 images appear just fine
By using that script I will probably be creating duplicate links for non-chrome brwsers
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [SOLVED] adblock
As a test, if you set up a local Rewrite rule instead of a direct link, does it work? i.e.: rather than linking to twitter.com/nemeorg, link to neme.org/twitter and set that to redirect via .htaccess.
Offline
Re: [SOLVED] adblock
Hi Pete
Solved!!! I tried your suggestion but did not work:(
What eventually did it, was to change the alt image attribute from alt="facebook"
and alt="twitter"
to alt="NeMe on facebook"
& alt="NeMe on twitter"
.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1