From: Andreas O. <oe...@oe...> - 2003-03-27 15:35:50
|
Hi Martin, > It is the one in the leftmost column, located between "Medien" and > "Impressum" with the address > http://go.onvista.de/fmanager/form.html?ID_FORM=21&id_partner=7hpb. that's the address that the image is linkted to (where clicking the image leads), but the address of the image itself. You can determine that address by right-clicking the image and opening it (some browsers even have a "copy image location" option. You can then add the URL to a { +block +handle-as-image } section in your actions file as you did, and the image is gone. Sadly, for some images on n-tv.de, it is hard to tell from the URL if they are ads nor not, so we'd either need an exhaustive list, or filter the image tags from the pages based on context (Note the word "Anzeige" above them). > to do this, but the image is still there (yes, I restarted privoxy and > reloaded the URL). No need to restart Privoxy. Config changes have immediate effect. > When I click the image, a new browser window opens. The URL is > displayed, but not the content of the URL. That's because you blocked the URL as an image, i.e. instead of the remote page, your browser gets a 4x4 image (See the mini-checkerboard in the top left corner?) > BTW: I don't understand why the ad below the "cnn-websites" combo > (http://ntv.parship.de/) box IS replaced by the checkerboard pattern. To find out, open the image, and enter its URL into the form at http://config.privoxy.org/show-url-info. You'll see that the URL (http://www.n-tv.de/shared/werbung/parship_130x80.jpg) matches a generic mark-as-image and a generic ad blocker section in default.action: {+handle-as-image } /.*\.(gif|jpe?g|png|bmp|ico)($|\?) {+block } /(.*/)?(publicite|werbung|rekla(ma|me|am)|annonse|maino(kset|nta|s)?/) What's even more convenient is to open the image and then use the "Privoxy - Why?" Bookmarklet from http://www.privoxy.org/user-manual/appendix.html#BOOKMARKLETS which will take you directly to the page that shows all matches and the resulting actions for the URL. Regards, --Andreas |