Hacker News new | ask | show | jobs
by _bbs 5289 days ago
Can someone find a link to the source code (it is licensed under the GPLv2)? I tried to open the xpi in a text editor, but no dice.

I don't have much experience with FF addons, but I'd like to see exactly what's happening here.

3 comments

You can rename the extension to .zip and extract. If you have any problems, let me know via a comment or post a contact method and Ill send you the source. Its pretty simple. When on, it intercepts URLs, sends the base URL to three offshore DNS services via HTTP, makes a best effort to check that two of them are equivalent, caches the IP for the browser session, redirects to the equivalent URL using the IP, and substitutes out the domain name in the source code with the IP address for future requests. I admit that it could use some work, however, I wrote in hopes that I could help create some kind of change in the events that are about to transpire before the vote.
Thanks for your work!

The explanation on how the extension works was enlightening. Perhaps I missed it, but would you mind including the explanation on the download page?

Sure! updated: http://bit.ly/rvG87g
An xpi is simply a zip archive, FYI.
xpi files are "normal" renamed zip files. Try extracting the contents using your favorite unzipping application. You should then get access to the source files.