Return to the BlackHoleProxy download page.
Instructions for BlackHoleProxy
This "black-hole proxy" for Windows can be used with no-ads.pac to
filter banner ads. It eliminates the need to configure a real proxy
server or a UNIX shell to return blank text or graphics to your browser.
It runs invisibly in the background.
To use the proxy:
- Put a shortcut to BlackHoleProxy.exe in Programs->Startup to
automatically launch it when Windows starts. Be sure the port number in
your no-ads.pac blackhole is the same.
- If your browser must load a PAC file using http://, see -pac.
- If you use the proxy only on one PC and run a firewall, disallow
BlackHoleProxy.exe from being a server because you are making only local
connections.
Revision History
v0.96
- Bug fixes and code clean-up,
- Added version info to BlackHoleProxy.exe (in file properties).
Removed "-about" parameter.
v0.95
- Support for serving a PAC file. (See -pac).
- Parameters are now case-insensitive.
- Default to accept only local connection. (See -server).
- Only one instance of BlackHoleProxy.exe runs at a time. This
makes it easy to launch it with the new parameters.
- Ability to terminate the current instance. (See -terminate).
- Feedback message for http://no-ads.int/on
and http://no-ads.int/off.
This makes it unnecessary to use the "alert" function in no-ads.pac.
- Bug fixes and code clean-up.
v0.90
Parameters:
-port <num>
Specify the port number referenced in your no-ads.pac. The default is
3421.
-graphics <file>
Specify the path of the graphics file to use to replace advertisement
graphics. The default is John LoVerso's blank
GIF.
-terminate
Terminate any black-hole proxy that's currently running in the
background.
-server
By default, the proxy accepts connections from only the same PC. Supply
this parameter to allow connections from other machines.
-pac [port]
(Suggested
by InvisiBill)
- Supply this parameter to have the proxy serve a PAC file.
- The port number is optional. The default is the same port for the
black hole. This is useful for browsers that must load a PAC files via
http://
- The proxy looks for the PAC file on the drive it's running on.
For example, if BlackHoleProxy.exe runs from your C: drive, and you
specify the PAC URL http://localhost:3421/windows/no-ads.pac,then
the proxy will attempt to open C:\windows\no-ads.pac
DISCLAIMER:
The code is provided as-is. The author assumes no responsibility for
any errors either in the comments or the code of this program. Bug fixes
and suggestions are welcomed. Please e-mail
.
Copyright 2003, Larry L. Wang. All Rights Reserved.
Permission is given to use and distribute BlackHoleProxy.exe, provided
that this copyright message is included.
Return to the BlackHoleProxy download page.