If you’re like me and still use forums or pages that load images for you to click on than read on. Some of these pages house the advertisements on their own server, www.FavSite.com serves up images from www.FavSite.com/banners or even www.FavSite.com/advert.gif. Why is there no option that allows you to right click and block the image? You can’t use the hosts file because that just blocks the whole site.
Enter the PAC file (Proxy Auto Configuration file) which will allow us to do just that. First off I highly suggest that you visit the following site http://www.schooner.com/~loverso/no-ads/ John looks to have put a lot of hard work into the PAC file available for download. Once you have worked through the process you can proceed to add specific images to the file which looks like the following.
|| shExpMatch(url, "*FavSite.com/aprb03.gif")
By default the PAC file you can download from the site blocks images served up from a banner directory, the example I gave is for a image that is served up from the root. The only problem I’m still having is redirecting the gif from a web server to a 1x1 gif image that I host on my workstation.
Also a few key points, only open the PAC file with wordpad and when you add the path of the PAC file into IE use 2 forward slashes not what they tell you (file://c:/no-ads.pac).