Solved

Client side filter for browsers

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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 fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

630 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