Return to Index  

I do something like what ctwaley suggests.

November 22 2004 at 2:51 PM
No score for this post
  (Login John-L)
no-ads admin


Response to Re: Corp. Firewall Proxy?

 

My current employer uses a PAC file to select from various web caches, or go direct. This is how I do it:

I download the companies PAC (cache.pac). I edit it and change the line:

function FindProxyForURL(url, host)

to:

function otherFindProxyForURL(url, host)


Now, I edit no-ads.pac. At the end of the, I include the contents of cache.pac (with the above change). Then, for each instance of

return normal;

I change it to:

return otherFindProxyForURL(url, host);


There is actually a way for Gecko-based browsers (Mozilla, Firefox, etc) to do this internally, but it doesn't work for IE or Opera. I will look into it again sometime.

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Responses

Create your own forum at Network54
 Copyright © 1999-2013 Network54. All rights reserved.   Terms of Use   Privacy Statement