You can achieve results similar to those of adblock by using a PAC file. The PAC file has to be edited manually to add or remove filters, but it can block just a directory or even just a single image in addition to blocking entire sites, and (unlike the usercontent method) it prevents the images from being downloaded. Here's how to get PAC files to work in KM:
==FOR THOSE OF YOU NOT USING THE HAO CCF 0.019a2 (or later) VERSION==
Download this file:
http://allspark.net/cypherswipe/nsProxyAutoConfig.js
Close k-meleon. Place the file in the components folder in your k-meleon folder (something like c:/program files/k-meleon/components/), click "yes" when it asks if you want to overwrite the existing file. Delete the compreg.dat file located in the same folder. (It'll be rebuilt the next time to load k-meleon.)
Fire up k-meleon and click
edit->prefs->proxy->automatic proxy config URL
and put file://C:/adfilter2.pac (or where ever you saved the .pac file to) as the URL.To test it, go to
http://googlesyndication.com, you should have just a blank page. If you get a google site, close k-meleon and reopen it.
==============================
Once you have done that, or if you are using the above mentioned version:
Download this file:
http://allspark.net/cypherswipe/adfilter2.pac.txt
Remove the .txt extension.
To add or remove something from the filter list, just open the pac file in notepad or any other text editor. You will see a bunch of lines like this:
shExpMatch(url, "*clickthru*") ||
To remove something, simply find the line that mentions it and delete it. To add something, just add a new line and replace *clickthru* with whatever you want to block. The *'s are wildcards.
For example,
shExpMatch(url, "*stupid-image.jpg") ||
would block the file called "stupid-image.jpg". You can block single images, whole directories, or even whole sites using this method.
If you need to (or just desire to) connect through a proxy, go to the end of the file and look for the line
return "DIRECT";
Replace "DIRECT" with "PROXY [address]:[port]". For example: "PROXY 216.532.25.23:82"