[OTR-dev] Firefox add-on to add OTR encryption to web-based chats

garulf garulf at autistici.org
Tue Jun 28 15:23:22 EDT 2011

Hi everybody,

I've started to write an add-on for Firefox that uses OTR to ensure
encryption on web-based chats.

I'm using jsctypes[0] to use the C libotr library from javascript. The
incomplete wrapping is in otr_wrapper.js.

The code is in a very early stage, some part must be rewritten and there
isn't UI, but if you want to take a look you can download it from git:


For now "works" only for facebook.

I add an IFRAME to facebook chat page to ensure that the conversation
can't be accessed by facebook (or injected) code.

I know the code is in a very early stage, but if anyone want to give
advices (or write some code :P) will be very appreciated!!!


I only tested it on Linux for the moment, but should work without
problems on Windows.

[0] https://developer.mozilla.org/en/js-ctypes/Using_js-ctypes

More information about the OTR-dev mailing list