Solved

Client side filter for browsers

Posted on 1997-08-03
3
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

734 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