Solved

Client side filter for browsers

Posted on 1997-08-03
3
197 Views
Last Modified: 2013-12-25
I get increasingly frustrated by long download times for certain pages due to the use of banner advertising.

I would like to develop a filter so that requests from my browser for banner adds results in a local file access rather than a URL access. I would like suggestions for how this could be achieved.

The only idea I have at the moment is to look for requests for URLs which are gifs of a certain size typical of banner adverts but the URL requests to WinSock do not contain this information.

The second idea is to monitor incoming data in some way and look for the html which characterises banner adds then store the URL so that outgoing requests will then be intercepted.

Any other ideas? Perhaps this could be developed into a commercial product, I expect many people would like to be able to ignore this type of advertising.

(Sorry if this annoys experts-exchange who are starting there own banner adverts!).
0
Comment
Question by:icd
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
dmethvin earned 100 total points
ID: 1829531
You can use a proxy server to filter out just about anything you like. Run the proxy server on your client machine and point the browser to it.

Randal Schwartz did a column in the February WebTechniques about writing an anonymizing proxy server in Perl, you could easily adapt that to filter out content in the page itself.  The Perl script and column is at
http://w3.stonehenge.com/merlyn/WebTechniques/col11.html

As you mention, the criteria for determining ads is a bit heuristic. Good bets are any image URLs with the following words: ad, ads, advert, advertisement, doubleclick, focalink.


0
 
LVL 5

Author Comment

by:icd
ID: 1829532
That looks pretty good but as far as I can tell it will only work on a UNIX system. Correct me if I am wrong.

I would really like an approach that could be run on my own PC. I will have to see if the technique will work with Win32Perl:Internet
0
 
LVL 5

Author Comment

by:icd
ID: 1829533
Sorry for the delay in grading.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now