CID image blocking in Thunderbird

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
ajk
Posts: 9
Joined: Mon Jun 18, 2007 5:05 pm

CID image blocking in Thunderbird

Post by ajk »

Hello,

I'm trying to find a way to block src=cid images in HTML e-mail. I've been using Adblock in Thunderbird and it's working fine for external images, but I've not been able to specify a filter that will block inline attached images.

The URL to the image is in the form "cid:xxxx" where xxxx is an arbitrary string that matches the Content-ID value of an attached image.

I've tried the following filters (and others as well)...
cid
cid:
*cid:*
|cid:*
|cid*

Nothing I've tried has worked. Does anyone know of a filter that will block these images?

If Adblock won't do it, does anyone know of another solution for blocking these in Thunderbird?

Thanks.
Andy
joe123

how did you get ABP to work within Thunderbird ?????????????

Post by joe123 »

I can't seem to get it to remove anything. how do you configure it?
ajk
Posts: 9
Joined: Mon Jun 18, 2007 5:05 pm

Re: how did you get ABP to work within Thunderbird ?????????

Post by ajk »

joe123 wrote:I can't seem to get it to remove anything. how do you configure it?
I don't think I did anything special when installing it. I just installed it and selected the EasyList filter subscription. I was then able to right-click on images in the messages and block them.

The only problem I had was that occasionally I would not be able to create new messages with Adblock installed. I tried uninstalling and reinstalling and eventually found that if I could not create a message I just quit Thunderbird and restarted it and normally I could create messages then. I've not had that problem for a while so they may have fixed it.

I have the latest version of Thunderbird and Adblock. I use Adblock in Thunderbird successfully on Mac OS X and Windows XP. I've been trying to get the CID blocking to work on the Mac OS X version.

Andy.
ajk
Posts: 9
Joined: Mon Jun 18, 2007 5:05 pm

Post by ajk »

Oh, there is something I forgot to mention about the CID blocking problem.

In Thunderbird I can right-click on a linked image and there is a menu option for blocking the image. When I right-click on a src=cid image, there is no image blocking option in the menu.

Andy.
Wladimir Palant

Post by Wladimir Palant »

cid: URLs are in the whitelist because they aren't actually downloaded - they are pointing to attachments in the mail you already downloaded. However, if you still want to block them, you can open about:config (in Thunderbird you go into Options / Advanced / General / Config Editor for that) find extensions.adblockplus.whitelistschemes preference and remove "cid" from the list.
ajk
Posts: 9
Joined: Mon Jun 18, 2007 5:05 pm

Post by ajk »

Wladimir Palant wrote:(in Thunderbird you go into Options / Advanced / General / Config Editor for that) find extensions.adblockplus.whitelistschemes preference and remove "cid" from the list.
Thanks, I'll give that a try.

Andy.
ajk
Posts: 9
Joined: Mon Jun 18, 2007 5:05 pm

Post by ajk »

It looks like ABP is not getting the "raw" HTML from the e-mail message. It looks like it is getting a processed version that has the URL to the local location of the image. So, instead of seeing the cid: URL ABP is seeing mailbox: or imap:. If that is the case, then it's probably not possible to filter based on a cid URL since ABP will never see it.

Andy.
Locked