The modify-request javascript is executed by GlimmerBlocker before GlimmerBlocker contacts the web-server.
In the request script, you can:
- Send back a text or html page that the script generates.
- Send back a redirect response.
- Change the dns server used when GlimmerBlocker resolves the the web-servers ip-address.
- Change the http/socks proxy used for this request.
In case 1 and 2 the web-server is not contacted as the script short-circuits the request handling.
Useful links
- The request/response flow, especially the Modifying Requests section.
- The object reference
- Proxies
