CGIProxy Integration
News
Version 0.1.2. Updated to work with Firefox 2.0 (for real this time :)
About
CGIProxy Integration is a simple Mozilla Firefox extension that adds support for James Marshall's CGIProxy directly into the browser's context menu. Right-clicking on a link brings up options such as "Open Link Through Proxy" and "Open Link Through Proxy in New Tab", unless the page is already being served via proxy in which case the options will be "Open Link Outside Proxy", etc.
Send me your comments and bug reports (email at the bottom)
Screenshots
Installation
To install CGIProxy Integration, download the XPI file to your computer, then open it with Firefox (e.g. with "Open File..." from the "File" menu). You will be asked to confirm the installation. Do so and then restart Firefox.
Note
This extension is meant to work with the development version of CGIProxy (2.1beta15 is the
latest version at the time of this writing). If you're not sure what version is running
in the server you use, it is displayed in the bottom left corner of the proxy entry page.
Configuration
After installing the extension for the first time, configure the address of the CGIProxy server you want to use:
- Go to the Extensions dialog in Firefox (menu "Tools" then "Extensions"), select "CGIProxy Integration" from the list and click on "Options". Type in the proxy address in the URL box.
- In the options window there are also a bunch of checkboxes - those are the equivalent of the options presented in the CGIProxy entry page (see the CGIProxy homepage for their meanings). Change them to whatever you want.
- Click OK.
That's it! Now use the "Open Link Through Proxy..." options in the link context menus to load the pages through CGIProxy.
Note
If the CGIProxy being used has custom URL encoding functions those will have to be made
availabe to the extension. Here's how to do that (assuming you have access to the CGIProxy
source used):
- Locate the Firefox profile directory
- Create a directory named "pi_scripts" and a file named "proxy_encode.js" inside it
- Copy the JavaScript functions _proxy_jslib_proxy_encode and _proxy_jslib_proxy_decode from the CGIProxy script (cgiproxy.cgi) into proxy_encode.js
- Restart Firefox