If a user has Adblock enabled in a browser the icons are not displayed (I have a block in the header of my website).

This issue is not exclusive to this module and I have seen it with social media icons placed in another website too. The solution I used there was to rename the icons, following advice I found here on Stackoverflow: How to stop adblock plus blocking images in HTML page.

Would it be possible to implement this in OTW too? So rename the icons by default to prevent adblock issues? I tried to hack the module myself without success but this would be an imperfect solution of course.

Best,
Gerben

Comments

jenlampton’s picture

Status: Active » Closed (won't fix)

Thanks for the warning @Gerben Zaagsma, I looked at the post you mentioned on stack overflow, and it looks like recommended solutions are to remove image dimensions and words like "adv" from the file names. The images here don't have either of those things going on, so I'm not sure what we should change to prevent the adblock from blocking these images.

One thing I was thinking about doing was reworking the code to add the icons as CSS background images on anchor tags. Perhaps that would solve this issue too.