addf62d6404c02f7c36f61c27b7cd9d1cbbdb3f5

Former-commit-id: fb30909e3a
Former-commit-id: 07f93beb2e49f297bd59f9f45c3da72daced4362
i2p.plugins.firefox
A port of the batch scripts from i2p.firefox to Java.
Getting started
Building
This is not actually a plugin yet, but it will be soon. The important bit is the jar. To generate that, you can either generate the full plugin, which will not work but produces the jar as a by-product, or you can:
cd src
ant
cd ..
To build just the jar. You'll know it worked if you can:
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox
and a new Firefox instance comes up with a fresh profile, ready-to-use for I2P browsing.
The cooler thing you can do with it is add it to an I2P distribution and somewhere in it, add a UI element that triggers something along the lines of this:
if (i2pIsRunning()) {
logger.warning("I2P is already running");
System.out.println("I2PFirefox");
I2PFirefox i2pFirefox = new I2PFirefox();
i2pFirefox.launch();
}
to add a browser management tool to it.
Description
Languages
HTML
40.5%
Java
40.4%
Shell
11.6%
JavaScript
6%
CSS
1.3%