Solved

Client side filter for browsers

Posted on 1997-08-03
3
183 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

746 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

12 Experts available now in Live!

Get 1:1 Help Now