Compare commits

..

490 Commits

Author SHA1 Message Date
idk
5d4b1a4681 update index.html 2022-09-07 03:51:00 -04:00
idk
b2f604a4a5 fix url argument passing 2022-09-07 03:50:51 -04:00
idk
7e3ae6ad04 update index.html 2022-09-07 03:49:31 -04:00
idk
2edb2a3408 tweak releases slightly 2022-09-07 03:35:50 -04:00
idk
6c1f2bc640 update I2PFirefoxProfileChecker.html 2022-09-07 03:24:08 -04:00
idk
76292fc7c0 update I2PFirefox.html 2022-09-07 03:24:01 -04:00
idk
c354c49128 update index.html 2022-09-07 03:23:27 -04:00
idk
9d66efe846 if the headless process survives destruction, forcibly estroy it 2022-09-07 03:22:11 -04:00
idk
24a08cf7c5 remove -attach-console as it probably does nothing and breaks something 2022-09-07 03:16:13 -04:00
idk
4e19c36817 update RELEASES.html 2022-09-07 00:46:22 -04:00
idk
05dfef06e3 update index.html 2022-09-07 00:45:23 -04:00
idk
8397d7415b update I2PFirefox.html 2022-09-06 23:54:43 -04:00
idk
f9279f494f update index.html 2022-09-06 23:54:11 -04:00
idk
e3c2ab91be Destroy headless process if it goes too long 2022-09-06 23:52:52 -04:00
idk
a8a54f6b4c update CHANGES.html 2022-09-06 23:50:26 -04:00
idk
995e9805a2 Destroy headless process if it goes too long 2022-09-06 23:50:19 -04:00
idk
f3e7c28503 update RELEASES.html 2022-09-06 22:41:50 -04:00
idk
6042f30350 update index.html 2022-09-06 22:40:52 -04:00
idk
ab226e5a4c update PACKAGES.html 2022-09-06 22:38:24 -04:00
idk
e632a49933 update I2PFirefox.html 2022-09-06 22:38:01 -04:00
idk
beef36b36d update index.html 2022-09-06 22:37:27 -04:00
idk
2ed27fa307 update USAGE.html 2022-09-06 22:31:34 -04:00
idk
1a5ce21912 update TODO.html 2022-09-06 22:31:31 -04:00
idk
7754c0b43d update RELEASES.html 2022-09-06 22:31:27 -04:00
idk
b4b2a30935 update PACKAGES.html 2022-09-06 22:31:23 -04:00
idk
81f58b9d48 update LICENSE.html 2022-09-06 22:31:19 -04:00
idk
02ac99531a update I2PGenericUnsafeBrowser.html 2022-09-06 22:31:15 -04:00
idk
2b2aea0748 update I2PFirefoxProfileUnpacker.html 2022-09-06 22:31:12 -04:00
idk
09e6864cb9 update I2PFirefoxProfileChecker.html 2022-09-06 22:31:08 -04:00
idk
f954bf4893 update I2PFirefoxProfileBuilder.html 2022-09-06 22:31:04 -04:00
idk
21f74306c8 update I2PFirefox.html 2022-09-06 22:31:00 -04:00
idk
ccde6b65dc update I2PCommonBrowser.html 2022-09-06 22:30:56 -04:00
idk
f348347115 update I2PChromiumProfileUnpacker.html 2022-09-06 22:30:52 -04:00
idk
ef19f681d0 update I2PChromiumProfileChecker.html 2022-09-06 22:30:48 -04:00
idk
1b60e74f9d update I2PChromiumProfileBuilder.html 2022-09-06 22:30:44 -04:00
idk
9a052f4f3c update I2PChromium.html 2022-09-06 22:30:40 -04:00
idk
1e94b34efe update I2PBrowser.html 2022-09-06 22:30:36 -04:00
idk
01c19d1ffd update EXAMPLES.html 2022-09-06 22:30:33 -04:00
idk
de6b872426 update CHANGES.html 2022-09-06 22:30:29 -04:00
idk
27cb5b8365 update index.html 2022-09-06 22:30:25 -04:00
idk
2d508e1417 update download page 2022-09-06 22:30:14 -04:00
idk
d6a62bb6ee start working on an OSX package, won't have a signer for now but gotta start somewhere 2022-09-06 21:35:27 -04:00
idk
4095e61ad3 minor tweak to releaser script 2022-09-06 21:22:03 -04:00
idk
f107bf92b2 add sha256sums for releases 2022-09-06 21:08:34 -04:00
idk
bf2e964e1a update index.html 2022-09-06 21:06:31 -04:00
idk
8c4647f8b3 update index.html 2022-09-06 20:59:00 -04:00
idk
62bda1aec5 add sha256sums for releases 2022-09-06 20:57:43 -04:00
idk
5c637e900e Fix uploader for fedora package 2022-09-06 20:42:36 -04:00
idk
41b927809b update I2PFirefox.html 2022-09-06 20:25:43 -04:00
idk
f8b70f2a96 update I2PCommonBrowser.html 2022-09-06 20:25:40 -04:00
idk
c9e7a4beba update index.html 2022-09-06 20:25:12 -04:00
idk
40f50aefb5 update I2PFirefoxProfileUnpacker.html 2022-09-06 20:24:44 -04:00
idk
e9dfeb0288 update CHANGES.html 2022-09-06 20:24:05 -04:00
idk
5d121e8927 update index.html 2022-09-06 20:24:02 -04:00
idk
aad78749b4 update index.html 2022-09-06 20:22:17 -04:00
idk
bbaddd3927 update the README 2022-09-06 20:21:04 -04:00
idk
f7c58d0125 update the changelog 2022-09-06 20:12:56 -04:00
idk
0e2dba7bd5 update the changelog 2022-09-06 20:12:31 -04:00
idk
23f1e3491f run headlessly if we find a first-run file 2022-09-06 20:06:50 -04:00
idk
a36a74a44a run headlessly if we find a first-run file 2022-09-06 20:05:29 -04:00
idk
63344656c1 update USAGE.html 2022-09-06 19:38:45 -04:00
idk
260d42a7b3 update TODO.html 2022-09-06 19:38:41 -04:00
idk
4c3f5523d2 update PACKAGES.html 2022-09-06 19:38:38 -04:00
idk
0038f9c186 update LICENSE.html 2022-09-06 19:38:34 -04:00
idk
46469a4e94 update I2PGenericUnsafeBrowser.html 2022-09-06 19:38:30 -04:00
idk
8d8006c956 update I2PFirefoxProfileUnpacker.html 2022-09-06 19:38:27 -04:00
idk
4d35d18c99 update I2PFirefoxProfileChecker.html 2022-09-06 19:38:23 -04:00
idk
8a2b3fee85 update I2PFirefoxProfileBuilder.html 2022-09-06 19:38:20 -04:00
idk
268b791ad7 update I2PFirefox.html 2022-09-06 19:38:16 -04:00
idk
37c7ad9640 update I2PCommonBrowser.html 2022-09-06 19:38:12 -04:00
idk
6928ff423a update I2PChromiumProfileUnpacker.html 2022-09-06 19:38:09 -04:00
idk
a4bde9e63b update I2PChromiumProfileChecker.html 2022-09-06 19:38:05 -04:00
idk
e337f90c0b update I2PChromiumProfileBuilder.html 2022-09-06 19:38:02 -04:00
idk
89b480cd22 update I2PChromium.html 2022-09-06 19:37:58 -04:00
idk
0c4746e8fb update I2PBrowser.html 2022-09-06 19:37:55 -04:00
idk
87b0a07878 update EXAMPLES.html 2022-09-06 19:37:51 -04:00
idk
f09599a2fa update CHANGES.html 2022-09-06 19:37:48 -04:00
idk
2d3071dbb2 update index.html 2022-09-06 19:37:44 -04:00
idk
c79018a29a fedora fixes 2022-09-06 19:35:19 -04:00
idk
bc342cc463 Document package builds 2022-09-06 19:27:02 -04:00
idk
54b427e532 Document package builds 2022-09-06 19:25:43 -04:00
idk
ebc829c5c9 fedora builds 2022-09-06 18:56:39 -04:00
idk
ce5240d658 container-build redhat packages 2022-09-06 18:42:37 -04:00
idk
fdd3aac391 container-build redhat packages 2022-09-06 18:42:01 -04:00
idk
c5281751bb fedora. What the hell. 2022-09-06 18:31:12 -04:00
idk
a3b9f1abce Windows EXE installer, Windows portable zip 2022-09-06 18:29:43 -04:00
idk
f208563c35 start a windows portable 2022-09-06 18:15:21 -04:00
idk
a9e1135ef5 fix windows releaser script 2022-09-05 22:04:23 -04:00
idk
8d3b46b36c make everything distributable better 2022-09-05 22:01:20 -04:00
idk
a7e47cfc15 update I2PCommonBrowser.html 2022-09-05 21:54:29 -04:00
idk
71060cd851 update CHANGES.html 2022-09-05 21:54:03 -04:00
idk
f3dc285ba6 update index.html 2022-09-05 21:53:59 -04:00
idk
bce2f0e286 Windows releaser too. 2022-09-05 21:53:24 -04:00
idk
8e70d9280c Windows releaser too. 2022-09-05 21:52:18 -04:00
idk
ea778bf5da never run inside Program Files, allow per-user install 2022-09-05 21:32:31 -04:00
idk
a3de60fcb1 fix releaser script 2022-09-05 21:28:36 -04:00
idk
459c16aec2 update I2PGenericUnsafeBrowser.html 2022-09-05 21:15:53 -04:00
idk
d35a60cc01 update I2PFirefox.html 2022-09-05 21:15:39 -04:00
idk
733c2b1cc0 update I2PCommonBrowser.html 2022-09-05 21:15:35 -04:00
idk
6b7ab66c99 update I2PChromium.html 2022-09-05 21:15:21 -04:00
idk
4647cd4a0b update I2PBrowser.html 2022-09-05 21:15:18 -04:00
idk
b47fb744c4 update CHANGES.html 2022-09-05 21:15:11 -04:00
idk
a179482b95 release 2022-09-05 21:14:59 -04:00
idk
0f44a3219b update index.html 2022-09-05 21:13:01 -04:00
idk
9c54e16978 debian package 2022-09-05 21:12:53 -04:00
idk
395e1c2c95 debian package 2022-09-05 21:12:10 -04:00
idk
d989337a9c set a default directory in some cases 2022-09-05 21:08:11 -04:00
idk
7dbfdd9cbf make everything distributable better 2022-09-05 18:43:02 -04:00
idk
6605220f4a make it so Windows can find things easier 2022-09-05 18:28:23 -04:00
idk
d0440dcc56 update gitignore 2022-09-05 18:26:00 -04:00
idk
4640cc528c Freestanding packages. Why the heck not. 2022-09-05 18:23:33 -04:00
idk
94e03d045b add support for a Debian package. Yeah a Debian package. 2022-09-05 17:50:04 -04:00
idk
b6a66cf96e update I2PFirefox.html 2022-09-05 10:21:30 -04:00
idk
91f44d29f7 update CHANGES.html 2022-09-05 10:20:59 -04:00
idk
9152da34c9 update index.html 2022-09-05 10:20:55 -04:00
idk
e49cd5d470 update changelog 2022-09-05 10:19:03 -04:00
idk
02c148ccbd always pass --new-instance to firefox 2022-09-05 10:16:52 -04:00
idk
5216ec40f4 update I2PGenericUnsafeBrowser.html 2022-09-05 00:41:31 -04:00
idk
65e67f661b update I2PFirefoxProfileChecker.html 2022-09-05 00:41:23 -04:00
idk
adfda72398 update I2PFirefox.html 2022-09-05 00:41:15 -04:00
idk
5f320087f0 update I2PCommonBrowser.html 2022-09-05 00:41:11 -04:00
idk
86c0c1b68b update I2PChromiumProfileChecker.html 2022-09-05 00:41:04 -04:00
idk
07cc177a95 update I2PChromium.html 2022-09-05 00:40:56 -04:00
idk
40299b00fc update I2PBrowser.html 2022-09-05 00:40:53 -04:00
idk
1c1e048c50 update index.html 2022-09-05 00:40:42 -04:00
idk
084ecb46ff update logging 2022-09-05 00:31:27 -04:00
idk
2b80b4151a move all logging to a proper logging system 2022-09-05 00:19:59 -04:00
idk
e43468c367 update I2PFirefox.html 2022-09-04 23:13:33 -04:00
idk
1f770c01ab update index.html 2022-09-04 23:12:22 -04:00
idk
4d79219358 bump again 2022-09-04 23:11:25 -04:00
idk
3725be1d5b update index.html 2022-09-04 21:24:26 -04:00
idk
5d1afd8dd4 bump 2022-09-04 21:19:35 -04:00
idk
6234ffdff1 fix missing semicolon 2022-09-04 21:13:40 -04:00
idk
8802f9448f update I2PFirefoxProfileBuilder.html 2022-09-04 11:02:30 -04:00
idk
31d654ef4f update I2PFirefox.html 2022-09-04 11:02:23 -04:00
idk
04894a0977 update I2PCommonBrowser.html 2022-09-04 11:02:17 -04:00
idk
a2733d8ffb update I2PChromium.html 2022-09-04 11:01:52 -04:00
idk
100fe7fd95 update index.html 2022-09-04 11:01:25 -04:00
idk
91964508d8 bump for release 2022-09-04 11:00:32 -04:00
idk
9d347bdfa2 first run just unpacks the profile and deletes the first-run file now, to prevent launch-and-close of browser on Windows 11 when running from NSIS 2022-09-04 10:59:35 -04:00
idk
93f6e01e53 add in first-run files to profiles 2022-09-04 09:36:15 -04:00
idk
03ea5ed52c update I2PGenericUnsafeBrowser.html 2022-09-03 22:04:59 -04:00
idk
78bf32bc06 update I2PFirefox.html 2022-09-03 22:04:38 -04:00
idk
4420222d7e update I2PChromium.html 2022-09-03 22:04:09 -04:00
idk
8a3b73599a update index.html 2022-09-03 22:03:43 -04:00
idk
68300d78ef release again 2022-09-03 21:41:41 -04:00
idk
b3fba0449c never check args.length and args != null on the same line 2022-09-03 21:38:20 -04:00
idk
437d0698c0 update USAGE.html 2022-09-02 18:36:11 -04:00
idk
5d504c96f3 update TODO.html 2022-09-02 18:36:05 -04:00
idk
895e7c39af update LICENSE.html 2022-09-02 18:36:00 -04:00
idk
7a0bbf0d22 update I2PGenericUnsafeBrowser.html 2022-09-02 18:35:54 -04:00
idk
99e33eb030 update I2PFirefoxProfileUnpacker.html 2022-09-02 18:35:49 -04:00
idk
73ab706e21 update I2PFirefoxProfileChecker.html 2022-09-02 18:35:43 -04:00
idk
9b177f17e7 update I2PFirefoxProfileBuilder.html 2022-09-02 18:35:38 -04:00
idk
88346f9d99 update I2PFirefox.html 2022-09-02 18:35:32 -04:00
idk
26a0fc6bf9 update I2PCommonBrowser.html 2022-09-02 18:35:27 -04:00
idk
5f279ea87a update I2PChromiumProfileUnpacker.html 2022-09-02 18:35:22 -04:00
idk
ce4deba206 update I2PChromiumProfileChecker.html 2022-09-02 18:35:16 -04:00
idk
78c379e0a9 update I2PChromiumProfileBuilder.html 2022-09-02 18:35:10 -04:00
idk
bfdd9a01a8 update I2PChromium.html 2022-09-02 18:35:04 -04:00
idk
7664107c7d update I2PBrowser.html 2022-09-02 18:34:59 -04:00
idk
61f8297fe9 update EXAMPLES.html 2022-09-02 18:34:53 -04:00
idk
0f538970d0 update CHANGES.html 2022-09-02 18:34:47 -04:00
idk
86f0ec3943 update index.html 2022-09-02 18:34:40 -04:00
idk
59f8d0edf9 unset https only mode during validation step for Firefox 2022-09-02 18:34:19 -04:00
idk
3d4f22676a unset https only mode during validation step for Firefox 2022-09-02 18:28:05 -04:00
idk
d0d0b5aca8 unset https only mode during validation step for Firefox 2022-09-02 18:25:27 -04:00
idk
998305ebe1 move release arg 2022-09-01 16:12:59 -04:00
idk
b1596d14bc update TODO.html 2022-09-01 16:06:25 -04:00
idk
6242346178 update TODO.md 2022-09-01 16:04:12 -04:00
idk
34ac0fb641 verbosity in releaser script 2022-09-01 15:49:07 -04:00
idk
7da10def01 delete jpackage before building jpackage 2022-09-01 15:44:04 -04:00
idk
4857f753a6 update I2PCommonBrowser.html 2022-09-01 15:40:29 -04:00
idk
de5956a1ce update CHANGES.html 2022-09-01 15:39:56 -04:00
idk
630b8327b7 delete jpackage before building jpackage 2022-09-01 15:39:22 -04:00
idk
ac309150dc update I2PChromiumProfileBuilder.html 2022-09-01 15:37:53 -04:00
idk
7b995c9928 update I2PChromium.html 2022-09-01 15:37:49 -04:00
idk
fa2256fd99 update index.html 2022-09-01 15:37:27 -04:00
idk
04d93e2411 OK releasing it 2022-09-01 15:36:52 -04:00
idk
4cf8f67752 OK releasing it 2022-09-01 15:36:17 -04:00
idk
f462bf3c3b jpackage it. Why the heck not. 2022-09-01 15:11:48 -04:00
idk
80eefa0754 check in zips and fixup gitignore 2022-09-01 15:01:52 -04:00
idk
ea9c0b5351 update I2PChromiumProfileUnpacker.html 2022-08-31 20:59:12 -04:00
idk
3276573f6f update I2PChromiumProfileBuilder.html 2022-08-31 20:59:03 -04:00
idk
abf4963f68 update I2PChromium.html 2022-08-31 20:58:59 -04:00
idk
bfb51a0036 update CHANGES.html 2022-08-31 20:58:47 -04:00
idk
1aeb795450 update index.html 2022-08-31 20:58:42 -04:00
idk
c427481099 stub the Chromium extensions for strict and usability modes 2022-08-31 15:16:31 -04:00
idk
e7ec201f05 stub the Chromium extensions for strict and usability modes 2022-08-31 15:11:53 -04:00
idk
9db97f60fa add TODO to the Chromium flags 2022-08-31 14:59:41 -04:00
idk
7976e6dc0d add --reset-variation-state to the Chromium flags 2022-08-31 14:58:40 -04:00
idk
8f37ee4758 don't clangFmt in distclean 2022-08-31 14:22:18 -04:00
idk
729894fd93 update CHANGES.html 2022-08-30 20:59:40 -04:00
idk
3600e1f72f update index.html 2022-08-30 20:59:36 -04:00
idk
e9bb1b4d8a update I2PFirefoxProfileUnpacker.html 2022-08-30 17:37:46 -04:00
idk
7217847504 update I2PFirefoxProfileBuilder.html 2022-08-30 17:37:39 -04:00
idk
4a294e9cda update I2PFirefox.html 2022-08-30 17:37:35 -04:00
idk
814d52bfdd update I2PCommonBrowser.html 2022-08-30 17:37:30 -04:00
idk
a248728178 update I2PChromium.html 2022-08-30 17:37:16 -04:00
idk
5a7e974a88 update I2PBrowser.html 2022-08-30 17:37:13 -04:00
idk
6ff6ca4fb3 update index.html 2022-08-30 17:37:02 -04:00
idk
3629b03a3a enable usability mode in launcher 2022-08-30 17:36:30 -04:00
idk
afab61f43d add usability mode for Firefox 2022-08-30 17:29:51 -04:00
idk
06239a90d2 add usability mode for Firefox 2022-08-30 17:25:23 -04:00
idk
d7769d4320 add usability mode for Firefox 2022-08-30 17:23:56 -04:00
idk
f234b0703a update index.html 2022-08-30 16:08:04 -04:00
idk
2ed6361b41 update USAGE.html 2022-08-30 16:03:29 -04:00
idk
2ba798b965 update TODO.html 2022-08-30 16:03:26 -04:00
idk
63b49cdcd7 update LICENSE.html 2022-08-30 16:03:22 -04:00
idk
8044dcdebc update I2PGenericUnsafeBrowser.html 2022-08-30 16:03:18 -04:00
idk
d07f018beb update I2PFirefoxProfileUnpacker.html 2022-08-30 16:03:15 -04:00
idk
48c089ef54 update I2PFirefoxProfileChecker.html 2022-08-30 16:03:12 -04:00
idk
a199a45e6c update I2PFirefoxProfileBuilder.html 2022-08-30 16:03:08 -04:00
idk
d33794640c update I2PFirefox.html 2022-08-30 16:03:04 -04:00
idk
a2cf7b738d update I2PCommonBrowser.html 2022-08-30 16:03:00 -04:00
idk
f64f44a251 update I2PChromiumProfileUnpacker.html 2022-08-30 16:02:55 -04:00
idk
ba50604c22 update I2PChromiumProfileChecker.html 2022-08-30 16:02:50 -04:00
idk
10ee4c3434 update I2PChromiumProfileBuilder.html 2022-08-30 16:02:46 -04:00
idk
417e9e399c update I2PChromium.html 2022-08-30 16:02:43 -04:00
idk
67b7050c72 update I2PBrowser.html 2022-08-30 16:02:39 -04:00
idk
0a6077cde9 update EXAMPLES.html 2022-08-30 16:02:35 -04:00
idk
2987780ec5 update CHANGES.html 2022-08-30 16:02:32 -04:00
idk
0551c6652d update index.html 2022-08-30 16:02:28 -04:00
idk
cb724a0b4b fix pathfinding bug from refactor 2022-08-30 16:00:58 -04:00
idk
84bc6480d9 clangfmt everything 2022-08-30 15:49:44 -04:00
idk
4d2177a134 update USAGE.html 2022-08-30 15:17:35 -04:00
idk
5fa616eaa1 update TODO.html 2022-08-30 15:17:32 -04:00
idk
63bb4de1df update LICENSE.html 2022-08-30 15:17:29 -04:00
idk
16042bb73d update I2PGenericUnsafeBrowser.html 2022-08-30 15:17:25 -04:00
idk
c9512deeea update I2PFirefoxProfileUnpacker.html 2022-08-30 15:17:21 -04:00
idk
6237819213 update I2PFirefoxProfileChecker.html 2022-08-30 15:17:18 -04:00
idk
ac418aca31 update I2PFirefoxProfileBuilder.html 2022-08-30 15:17:14 -04:00
idk
bdbbc93adb update I2PFirefox.html 2022-08-30 15:17:10 -04:00
idk
24edd57c57 update I2PChromiumProfileUnpacker.html 2022-08-30 15:17:07 -04:00
idk
234c0c04be update I2PChromiumProfileChecker.html 2022-08-30 15:17:03 -04:00
idk
54486e5da4 fix missing dot 2022-08-30 15:16:38 -04:00
idk
bea33564f0 update I2PChromiumProfileBuilder.html 2022-08-30 15:15:58 -04:00
idk
6d048490d8 update I2PChromium.html 2022-08-30 15:15:54 -04:00
idk
6cb35c6291 update I2PBrowser.html 2022-08-30 15:15:50 -04:00
idk
2a461ed7fb update index.html 2022-08-30 15:15:39 -04:00
idk
2488cec304 README stuff 2022-08-30 15:15:35 -04:00
idk
0b0346abc3 update EXAMPLES.html 2022-08-30 15:15:32 -04:00
idk
657b51c2ee update CHANGES.html 2022-08-30 15:15:28 -04:00
idk
820790beed update index.html 2022-08-30 15:15:24 -04:00
idk
31efc06ae1 README stuff 2022-08-30 15:15:21 -04:00
idk
d053d16e56 add usability profile to repo 2022-08-30 15:02:56 -04:00
idk
d3613d566a move more common functions to common class. 2022-08-30 15:01:57 -04:00
idk
f76fae7c1c factor away more common code into the parent class. Break some javadoc. 2022-08-30 14:52:29 -04:00
idk
48ba47b274 fix unaltered FIREFOX vars in I2PChromiumProfileBuilder.java 2022-08-30 14:22:47 -04:00
idk
2a50bd38a1 move runtime directory discovery functions to common class 2022-08-30 11:35:43 -04:00
idk
87f24dc0b1 move runtime directory discovery functions to common class 2022-08-30 11:34:32 -04:00
idk
894e139cc8 start a TODO list 2022-08-30 11:26:15 -04:00
idk
fa554888be update USAGE.html 2022-08-29 01:03:56 -04:00
idk
907e71e09c update LICENSE.html 2022-08-29 01:03:52 -04:00
idk
d687c1c52c update I2PGenericUnsafeBrowser.html 2022-08-29 01:03:49 -04:00
idk
ba9411520c update I2PFirefoxProfileUnpacker.html 2022-08-29 01:03:46 -04:00
idk
6bac5992df update I2PFirefoxProfileChecker.html 2022-08-29 01:03:42 -04:00
idk
63f0cabe1a update I2PFirefoxProfileBuilder.html 2022-08-29 01:03:39 -04:00
idk
3ab272682d update I2PFirefox.html 2022-08-29 01:03:36 -04:00
idk
8a3d7b0143 update I2PChromiumProfileUnpacker.html 2022-08-29 01:03:32 -04:00
idk
577426f330 update I2PChromiumProfileChecker.html 2022-08-29 01:03:29 -04:00
idk
5c5dd307d4 update I2PChromiumProfileBuilder.html 2022-08-29 01:03:25 -04:00
idk
6627835357 update I2PChromium.html 2022-08-29 01:03:22 -04:00
idk
47dc34f1c3 update I2PBrowser.html 2022-08-29 01:03:18 -04:00
idk
20f620639e update EXAMPLES.html 2022-08-29 01:03:15 -04:00
idk
72940f09fb update CHANGES.html 2022-08-29 01:03:11 -04:00
idk
f14100c0eb update index.html 2022-08-29 01:03:08 -04:00
idk
a89024ef8b update to 0.0.18 2022-08-28 00:47:20 -04:00
idk
186604d7c4 update CHANGES.html 2022-08-28 00:43:40 -04:00
idk
116144bc18 update to 0.0.18 2022-08-28 00:43:32 -04:00
idk
a0b7383afd fix edge finding 2022-08-28 00:34:48 -04:00
idk
89f407c171 update I2PGenericUnsafeBrowser.html 2022-08-28 00:26:07 -04:00
idk
b942668af8 update I2PFirefox.html 2022-08-28 00:25:53 -04:00
idk
231cb6aa02 update I2PChromium.html 2022-08-28 00:25:39 -04:00
idk
f011e8c85b update index.html 2022-08-28 00:25:26 -04:00
idk
af3a99d314 don't always wait in the background 2022-08-28 00:25:21 -04:00
idk
47b296ce66 update I2PBrowser.html 2022-08-27 23:49:31 -04:00
idk
e5799fb837 update index.html 2022-08-27 23:49:19 -04:00
idk
655bc45035 add support for forcibly setting based on routerconsole.browser 2022-08-27 23:49:15 -04:00
idk
4e51986e02 update USAGE.html 2022-08-27 23:48:59 -04:00
idk
ccdd1dc33a update I2PGenericUnsafeBrowser.html 2022-08-27 23:48:52 -04:00
idk
7c7d175c10 update I2PBrowser.html 2022-08-27 23:48:22 -04:00
idk
be7155a88f update index.html 2022-08-27 23:48:12 -04:00
idk
0473572933 add support for forcibly setting based on routerconsole.browser 2022-08-27 23:48:07 -04:00
idk
e0b1eabfee update USAGE.html 2022-08-27 23:23:58 -04:00
idk
7d7cffd843 update LICENSE.html 2022-08-27 23:23:54 -04:00
idk
c9eacd23d3 update I2PGenericUnsafeBrowser.html 2022-08-27 23:23:51 -04:00
idk
d2a1a69d69 update I2PFirefoxProfileUnpacker.html 2022-08-27 23:23:48 -04:00
idk
2c28435f7e update I2PFirefoxProfileChecker.html 2022-08-27 23:23:44 -04:00
idk
fcbda43ca5 update I2PFirefoxProfileBuilder.html 2022-08-27 23:23:41 -04:00
idk
491c7124b7 update I2PFirefox.html 2022-08-27 23:23:38 -04:00
idk
2788c000c4 update I2PChromiumProfileUnpacker.html 2022-08-27 23:23:34 -04:00
idk
928d2b2761 update I2PChromiumProfileChecker.html 2022-08-27 23:23:31 -04:00
idk
47a3845f96 update I2PChromiumProfileBuilder.html 2022-08-27 23:23:28 -04:00
idk
f5a7c25aa8 update I2PChromium.html 2022-08-27 23:23:24 -04:00
idk
c48db5046a update I2PBrowser.html 2022-08-27 23:23:21 -04:00
idk
05e2dee979 update EXAMPLES.html 2022-08-27 23:23:18 -04:00
idk
b719d69d23 update CHANGES.html 2022-08-27 23:23:15 -04:00
idk
f438b6c292 update index.html 2022-08-27 23:23:11 -04:00
idk
53669601fc not quite 2022-08-27 23:20:52 -04:00
idk
5886cf69a2 I guess it should always work now I think? 2022-08-27 23:19:16 -04:00
idk
6da5998660 Generic Unsafe launcher should handle any browser which honors proxy envars 2022-08-27 23:01:58 -04:00
idk
939acd2857 Generic Unsafe launcher should handle any browser which honors proxy envars 2022-08-27 22:43:36 -04:00
idk
259e9aea66 start browser discovery code for Windows 2022-08-27 21:38:11 -04:00
idk
b80787d7ba start browser discovery code for Windows 2022-08-27 21:36:35 -04:00
idk
1060e6959d start browser discovery code for Windows 2022-08-27 21:36:02 -04:00
idk
370b547272 start browser discovery code for Windows 2022-08-27 21:23:01 -04:00
idk
67c487ceb7 start browser discovery code for Windows 2022-08-27 21:21:58 -04:00
idk
f3bf7a928f start browser discovery code for Windows 2022-08-27 21:21:19 -04:00
idk
daf642f145 start browser discovery code for Windows 2022-08-27 21:18:29 -04:00
idk
f7fa3c3eca start browser discovery code for Windows 2022-08-27 21:17:13 -04:00
idk
b638c4a140 start browser discovery code for Windows 2022-08-27 21:15:57 -04:00
idk
d77e531867 start browser discovery code for Windows 2022-08-27 21:15:16 -04:00
idk
1b06f8f296 start browser discovery code for Windows 2022-08-27 21:08:18 -04:00
idk
158b1cecfe start browser discovery code for Windows 2022-08-27 21:07:40 -04:00
idk
ba9ee25941 start browser discovery code for Windows 2022-08-27 21:03:29 -04:00
idk
596bb77102 start browser discovery code for Windows 2022-08-27 20:38:12 -04:00
idk
7b10fc640d start browser discovery code for Windows 2022-08-27 20:24:11 -04:00
idk
cc54b85188 update index.html 2022-08-27 19:50:32 -04:00
idk
0a814a5e50 update USAGE.html 2022-08-27 14:46:25 -04:00
idk
8c66473d88 update LICENSE.html 2022-08-27 14:46:21 -04:00
idk
30dacc7005 update I2PFirefoxProfileUnpacker.html 2022-08-27 14:46:18 -04:00
idk
8e4409a02a update I2PFirefoxProfileChecker.html 2022-08-27 14:46:14 -04:00
idk
66031ea4c0 update I2PFirefoxProfileBuilder.html 2022-08-27 14:46:11 -04:00
idk
29c6158048 update I2PFirefox.html 2022-08-27 14:46:07 -04:00
idk
4d4325a032 update I2PChromiumProfileUnpacker.html 2022-08-27 14:46:04 -04:00
idk
e95f5ceb8f update I2PChromiumProfileChecker.html 2022-08-27 14:46:01 -04:00
idk
16f32e97e3 update I2PChromiumProfileBuilder.html 2022-08-27 14:45:58 -04:00
idk
ae87e04ec7 update I2PChromium.html 2022-08-27 14:45:54 -04:00
idk
c0766b1eb0 update I2PBrowser.html 2022-08-27 14:45:51 -04:00
idk
0c56acde13 update EXAMPLES.html 2022-08-27 14:45:48 -04:00
idk
82730621ae update CHANGES.html 2022-08-27 14:45:44 -04:00
idk
932d14e1d7 update index.html 2022-08-27 14:45:41 -04:00
idk
1be56efa34 update I2PFirefoxProfileChecker.html 2022-08-27 13:53:50 -04:00
idk
22bd6ec799 update I2PChromiumProfileChecker.html 2022-08-27 13:53:37 -04:00
idk
ab5d73fb40 update changelog 2022-08-27 13:53:14 -04:00
idk
3e0002d424 update CHANGES.html 2022-08-27 13:42:05 -04:00
idk
0a67ca0e1c update changelog 2022-08-27 13:41:59 -04:00
idk
174342bce1 revise test.sh to test all combinations of args 2022-08-27 13:39:04 -04:00
idk
f94fd15e5b revise test.sh to test all combinations of args 2022-08-27 13:33:33 -04:00
idk
849fc3fdf3 update I2PFirefoxProfileUnpacker.html 2022-08-27 13:28:14 -04:00
idk
0329e4f06f update I2PFirefoxProfileChecker.html 2022-08-27 13:28:10 -04:00
idk
fa83389e73 update I2PFirefoxProfileBuilder.html 2022-08-27 13:28:06 -04:00
idk
9182ceeb5c update I2PFirefox.html 2022-08-27 13:28:03 -04:00
idk
343919bef6 update I2PChromiumProfileUnpacker.html 2022-08-27 13:27:59 -04:00
idk
7defc6b137 update I2PChromiumProfileChecker.html 2022-08-27 13:27:55 -04:00
idk
a3be32d39a update I2PChromiumProfileBuilder.html 2022-08-27 13:27:52 -04:00
idk
d88383037e update I2PChromium.html 2022-08-27 13:27:48 -04:00
idk
f889b8fc94 update I2PBrowser.html 2022-08-27 13:27:45 -04:00
idk
ce8ec78beb add URL-passing option 2022-08-27 13:27:28 -04:00
idk
c6c555cb1c update I2PFirefoxProfileChecker.html 2022-08-22 17:18:53 -04:00
idk
d4cc2c1d45 update I2PChromiumProfileChecker.html 2022-08-22 17:18:40 -04:00
idk
46afb304a5 update CHANGES.html 2022-08-22 17:18:23 -04:00
idk
35b00a886e update index.html 2022-08-22 17:18:19 -04:00
idk
2a4a601176 Completes support for auto-selecting *either* a Firefox or Chrome instance, automatically 2022-08-22 17:17:32 -04:00
idk
a8573b79f9 add some missing javadoc 2022-08-22 00:47:40 -04:00
idk
5024666f9e update USAGE.html 2022-08-22 00:41:22 -04:00
idk
f7fddfdb4b update LICENSE.html 2022-08-22 00:41:19 -04:00
idk
398bfe4ef1 update I2PFirefoxProfileUnpacker.html 2022-08-22 00:41:16 -04:00
idk
f380df9075 update I2PFirefoxProfileChecker.html 2022-08-22 00:41:12 -04:00
idk
b90c09c17f update I2PFirefoxProfileBuilder.html 2022-08-22 00:41:09 -04:00
idk
6b90f5548a update I2PFirefox.html 2022-08-22 00:41:05 -04:00
idk
45f6a1c96b update I2PChromiumProfileUnpacker.html 2022-08-22 00:41:02 -04:00
idk
dca4ffa7e9 update I2PChromiumProfileChecker.html 2022-08-22 00:40:59 -04:00
idk
c883f035d5 update I2PChromiumProfileBuilder.html 2022-08-22 00:40:55 -04:00
idk
de082ceba2 update I2PChromium.html 2022-08-22 00:40:52 -04:00
idk
396ebef9b1 update I2PBrowser.html 2022-08-22 00:40:49 -04:00
idk
18e42da0d7 update EXAMPLES.html 2022-08-22 00:40:45 -04:00
idk
682a9487ae update CHANGES.html 2022-08-22 00:40:42 -04:00
idk
9747a456ce update index.html 2022-08-22 00:40:38 -04:00
idk
2c608ccbc5 more javadoc 2022-08-21 23:49:08 -04:00
idk
ef9c5fcb2c Remove redundant var 2022-08-21 21:19:47 -04:00
idk
ac3d5a34fb Universal launcher class, launches first available Firefox->Chrome 2022-08-21 21:17:28 -04:00
idk
41d7c188f8 update CHANGES.html 2022-08-21 20:19:46 -04:00
idk
4e254d59c3 sleep 2 seconds before waiting? I have no idea why Windows thinks it's exit 0 2022-08-21 20:19:08 -04:00
idk
629162372e sleep 2 seconds before waiting? I have no idea why Windows thinks it's exit 0 2022-08-21 20:01:34 -04:00
idk
b1bfd39327 analyze exit value 2022-08-21 19:34:29 -04:00
idk
3ee2c7a10d add launchers for private mode 2022-08-21 19:25:05 -04:00
idk
44ce1d2ed2 disable https-only mode for now 2022-08-21 19:03:03 -04:00
idk
7cef932d3d fix path issue on Windows 2022-08-21 18:13:17 -04:00
idk
c063eae03c fix path issue on Windows 2022-08-21 18:03:17 -04:00
idk
7f9bcbe1c0 fix path issue on Windows 2022-08-21 17:59:55 -04:00
idk
e023469b93 log a little more 2022-08-21 17:56:56 -04:00
idk
0cf817bb09 don't initialize the process to null 2022-08-21 17:36:15 -04:00
idk
865c0fca84 don't initialize the process to null 2022-08-21 17:34:03 -04:00
idk
6ecd993531 add note about licensing TODO 2022-08-21 14:37:24 -04:00
idk
b6ab50c337 Fixes a bug in privateProcessBuilder 2022-08-21 01:13:38 -04:00
idk
3ad98b38ab Fixes a bug in privateProcessBuilder 2022-08-21 01:12:52 -04:00
idk
8ba4651e32 Fixes a bug in privateProcessBuilder 2022-08-21 01:12:37 -04:00
idk
3e5b9c049d only add more flags when more flags are passed. 2022-08-21 00:25:27 -04:00
idk
e5d36aff8f fix an issue where passing the -private flag annihilates extension flags 2022-08-20 23:50:08 -04:00
idk
fa3fa165b1 update index.html 2022-08-20 22:49:08 -04:00
idk
5211c6d7e0 move target for chrome extension out of main build process because of requirement on go-crx3 2022-08-20 22:47:51 -04:00
idk
ce6a31166b update index.html 2022-08-20 21:04:45 -04:00
idk
842f4bb992 update CHANGES.html 2022-08-20 20:58:13 -04:00
idk
5fefdab16d update index.html 2022-08-20 20:58:10 -04:00
idk
53d4cf8146 update CHANGES.html 2022-08-20 20:54:21 -04:00
idk
6daeaf8297 update index.html 2022-08-20 20:54:17 -04:00
idk
8645f69067 Bump again 2022-08-20 20:53:31 -04:00
idk
4f22360b2f update index.html 2022-08-20 20:32:55 -04:00
idk
ccfe0af3f6 update index.html 2022-08-20 20:24:35 -04:00
idk
3b204871bf relase 2022-08-20 20:23:27 -04:00
idk
1f7854b35e add chromium launcher-only script 2022-08-20 20:22:04 -04:00
idk
89acc78048 add chromium launcher-only script 2022-08-20 20:21:33 -04:00
idk
31291214e2 add chromium launcher-only script 2022-08-20 20:19:59 -04:00
idk
2875197bc8 add chromium launcher-only script 2022-08-20 20:10:18 -04:00
idk
2bb8d35ed2 fixup gitignore 2022-08-20 20:08:29 -04:00
idk
e9424ee482 check in my own extension for now because I definitely shouldn't try to do a whole new set of licensing things right now, but in the future, ublock, scriptsafe 2022-08-20 19:59:40 -04:00
idk
2f3fb18eac don't check in other people's extensions 2022-08-20 19:54:11 -04:00
idk
51ecaaf1d9 don't check in other people's extensions 2022-08-20 19:53:25 -04:00
idk
11f32c211b don't check in other people's extensions 2022-08-20 19:50:55 -04:00
idk
6417dba4f5 add an unpacked extension 2022-08-20 19:41:24 -04:00
idk
4090df0148 make sure that the jar includes the Chromium profile directory 2022-08-20 19:12:43 -04:00
idk
154eec9e01 update CHANGES.html 2022-08-20 19:00:32 -04:00
idk
365c5ac6e8 update index.html 2022-08-20 19:00:29 -04:00
idk
bcb0919efa show people how to use a binary 2022-08-20 18:58:50 -04:00
idk
2f9b0e3686 put Tor Browser's at the top of the order on Windows 2022-08-19 22:54:53 -04:00
idk
62167a118a put Tor Browser's at the top of the order on Windows 2022-08-19 22:54:24 -04:00
idk
82ccb9c47f put Tor Browser's at the top of the order on Windows 2022-08-19 22:53:52 -04:00
idk
120f92d626 update version 2022-08-19 18:47:20 -04:00
idk
2c7b9a8fea add private-windows support 2022-08-19 18:45:59 -04:00
idk
20fd681f46 add private-windows support 2022-08-19 18:44:06 -04:00
idk
31c7096edc add private-windows support 2022-08-19 18:30:14 -04:00
idk
292cac5e67 update heading 2022-08-08 20:12:02 -04:00
idk
f6c8408f80 update CHANGES.html 2022-08-08 20:10:24 -04:00
idk
fb30909e3a update launcher script to self-discover jar. add some build targets of convenience 2022-08-08 20:10:10 -04:00
idk
5c66b64671 update LICENSE.html 2022-08-08 18:53:03 -04:00
idk
a87a003ceb update I2PFirefoxProfileUnpacker.html 2022-08-08 18:53:00 -04:00
idk
3b68756a32 update I2PFirefoxProfileChecker.html 2022-08-08 18:52:56 -04:00
idk
17b6922728 update I2PFirefoxProfileBuilder.html 2022-08-08 18:52:53 -04:00
idk
49d9acc383 update I2PFirefox.html 2022-08-08 18:52:49 -04:00
idk
529d763e7a update I2PChromiumProfileUnpacker.html 2022-08-08 18:52:46 -04:00
idk
582699ce1f update I2PChromiumProfileChecker.html 2022-08-08 18:52:42 -04:00
idk
6f5390eacd update I2PChromiumProfileBuilder.html 2022-08-08 18:52:38 -04:00
idk
db45db7058 update I2PChromium.html 2022-08-08 18:52:35 -04:00
idk
9693b1383f update CHANGES.html 2022-08-08 18:52:31 -04:00
idk
839d6fddb3 update index.html 2022-08-08 18:52:27 -04:00
idk
7638e5cfec update index.html 2022-08-08 15:29:47 -04:00
idk
b66e8690e2 add javadoc error reports 2022-08-08 13:28:46 -04:00
idk
ce9aeb3b19 add chromium targets to distclean 2022-08-08 13:23:44 -04:00
idk
417fd68f91 update LICENSE.html 2022-08-08 13:18:18 -04:00
idk
3468cbd637 update I2PFirefoxProfileUnpacker.html 2022-08-08 13:18:13 -04:00
idk
acf24565c6 update I2PFirefoxProfileChecker.html 2022-08-08 13:18:08 -04:00
idk
3c505187e7 update I2PFirefoxProfileBuilder.html 2022-08-08 13:18:03 -04:00
idk
cf9ecca991 update I2PFirefox.html 2022-08-08 13:17:59 -04:00
idk
350cab1d33 update I2PChromiumProfileUnpacker.html 2022-08-08 13:17:56 -04:00
idk
717dda7d0b update I2PChromiumProfileChecker.html 2022-08-08 13:17:52 -04:00
idk
f5da9b7ca3 update I2PChromiumProfileBuilder.html 2022-08-08 13:17:48 -04:00
idk
0a17f89b83 update I2PChromium.html 2022-08-08 13:17:43 -04:00
idk
12e82c3d74 update CHANGES.html 2022-08-08 13:17:40 -04:00
idk
eed2811920 update index.html 2022-08-08 13:17:36 -04:00
idk
6e92fcc976 generate markdown from javadoc 2022-08-08 13:17:25 -04:00
idk
8d075794c2 Good morning. 2022-08-08 01:45:11 -04:00
idk
169a3ec988 Adds enough Chromium support that all that needs to be added is extensions 2022-08-08 01:43:30 -04:00
idk
6df7706964 Adds enough Chromium support that all that needs to be added is extensions 2022-08-08 01:38:40 -04:00
idk
b47093009a Adds enough Chromium support that all that needs to be added is extensions 2022-08-08 01:37:52 -04:00
idk
752d7a96d8 Maybe chromium too what the hell 2022-08-07 23:55:25 -04:00
idk
3804c542ad sync tags in releaser script 2022-08-07 22:57:40 -04:00
idk
cdc3142df1 Wait on the process to close so it doesn't crash and restart 2022-08-07 22:55:35 -04:00
idk
d3b8a3d8fc add test.sh script 2022-08-07 22:49:01 -04:00
idk
519fe9b83b update CHANGES.html 2022-08-07 22:46:46 -04:00
idk
b64b96039d wait for launch to close 2022-08-07 22:46:38 -04:00
idk
b39e9ccb19 wait for launch to close 2022-08-07 22:45:34 -04:00
idk
a8adf2478f fix typo 2022-08-07 22:24:19 -04:00
idk
36b79ec7ae update index.html 2022-08-07 22:22:52 -04:00
idk
aca5ef9df1 fix typo 2022-08-07 22:22:49 -04:00
idk
183fd7cab4 update LICENSE.html 2022-08-07 22:21:38 -04:00
idk
02d23790bc update CHANGES.html 2022-08-07 22:21:34 -04:00
idk
635c1e1873 update index.html 2022-08-07 22:21:29 -04:00
idk
5cf29b43f9 update README 2022-08-07 22:21:13 -04:00
idk
75fe20d84d bump version fix release 2022-08-07 22:16:36 -04:00
idk
b5c098bb9b Fill in the changelog 2022-08-07 22:14:45 -04:00
idk
2c5e75ac5c also search the Tor Browser path on Windows. 2022-08-07 22:10:04 -04:00
idk
f7a62f57cc bump version 2022-08-07 21:29:26 -04:00
idk
ab88dc722b constructor needs to be in public scope 2022-08-07 21:28:56 -04:00
idk
dfb8bfb347 fix missing javadoc 2022-08-07 20:55:58 -04:00
idk
51a2416d26 add i2pbrowser.cmd 2022-08-07 20:50:44 -04:00
idk
b08743d09b update version 2022-08-07 20:49:20 -04:00
idk
64e4183c41 add i2pbrowser.cmd 2022-08-07 20:46:22 -04:00
idk
b9591ef84c update gitignore 2022-08-07 20:20:55 -04:00
idk
f829e9cdf1 add releaser script 2022-08-07 20:20:29 -04:00
idk
ce674a50fa Delete the zip. Generate it every time so I don't have to check it itn 2022-08-07 19:41:27 -04:00
idk
8ef27f314d Check in the unpacker thing 2022-08-07 19:40:37 -04:00
idk
15a3e69286 add gitignore, housekeeping stuff 2022-08-07 19:39:20 -04:00
idk
7d9814e330 add test dirs to clean target 2022-08-07 19:36:56 -04:00
idk
c52c4227e1 It lives 2022-08-07 19:35:30 -04:00
idk
1d77950d50 update profile 2022-08-07 16:54:06 -04:00
idk
7a38bae33c update profile 2022-08-07 16:42:19 -04:00
idk
453bc0620d add base profile 2022-08-07 16:32:51 -04:00
idk
0c022ec3e5 add license files 2022-08-07 16:30:40 -04:00
3012 changed files with 511109 additions and 21480 deletions

View File

@ -1,4 +1 @@
/.git
/plugin
/i2pbrowser
/i2p.plugins.firefox
.git

View File

@ -1,240 +0,0 @@
# Mostly copied from i2p.i2p, by way of: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant
# zlatinb did it originally, now I maintain it(idk)
name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: dependencies
run: sudo apt install gettext golang-go git ant
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name : Generate override.properties
run: |
rm -f override.properties
echo "build.built-by=GitHub Actions" >> override.properties
echo "noExe=true" >> override.properties
- name: install crx3
run: go install github.com/mediabuyerbot/go-crx3/crx3@latest
- name: install dzip
run: go install github.com/delicb/dzip@latest
- name: install amo-version
run: go install github.com/eyedeekay/amo-version@a4f4119eac453a14d6b6184b656320eb72b5da3c
- name: install manifest-json-version
run: go install github.com/eyedeekay/manifest-json-version@latest
- run: git clone https://github.com/i2p/i2p.i2p ../i2p.i2p
- run: cd ../i2p.i2p && ant builddep
- name: build with Ant
run: |
export PATH=$PATH:$(go env GOPATH)/bin
ant distclean jpackage debian
- name: Upload Firefox Profile Strict
uses: actions/upload-artifact@v4
with:
name: i2p.firefox.base.profile.zip
path: ./src/i2p.firefox.base.profile.zip
- name: Upload Firefox Profile Usability
uses: actions/upload-artifact@v4
with:
name: i2p.firefox.usability.profile.zip
path: ./src/i2p.firefox.usability.profile.zip
- name: Upload Chromium Profile Strict
uses: actions/upload-artifact@v4
with:
name: i2p.chromium.base.profile.zip
path: ./src/i2p.chromium.base.profile.zip
- name: Upload Chromium Profile Usability
uses: actions/upload-artifact@v4
with:
name: i2p.chromium.usability.profile.zip
path: ./src/i2p.chromium.usability.profile.zip
- name: Upload i2pfirefox.jar
uses: actions/upload-artifact@v4
with:
name: i2pfirefox.jar
path: ./src/build/i2pfirefox.jar
- name: Upload i2pfirefox-plugin.jar
uses: actions/upload-artifact@v4
with:
name: i2pfirefox-plugin.jar
path: ./src/build/i2pfirefox-plugin.jar
- name: Upload i2pbrowser.tar.gz
uses: actions/upload-artifact@v4
with:
name: i2pbrowser.tar.gz
path: ./i2pbrowser.tar.gz
- name: Upload i2pbrowser.deb
uses: actions/upload-artifact@v4
with:
name: i2pbrowser_amd64.deb
path: ./i2pbrowser_1.0.0_amd64.deb
- name: build plugin with Ant
run: |
export PATH=$PATH:$(go env GOPATH)/bin
ant distclean pluginzip
- name: Upload i2pfirefox.zip (unsigned plugin)
uses: actions/upload-artifact@v4
with:
name: i2pfirefox.zip
path: ./plugin.zip
buildrpm:
runs-on: ubuntu-latest
container: fedora
steps:
- name: dependencies
run: sudo yum install -y gettext golang-go git ant jq wget curl gpg xz ca-certificates rpm-build
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- run: echo [Adoptium] >> /etc/yum.repos.d/adoptium.repo
- run: echo name=Adoptium >> /etc/yum.repos.d/adoptium.repo
- run: . /etc/os-release; echo baseurl=https://packages.adoptium.net/artifactory/rpm/fedora/$VERSION_ID/x86_64/ >> /etc/yum.repos.d/adoptium.repo
- run: echo enabled=1 >> /etc/yum.repos.d/adoptium.repo
- run: echo gpgcheck=1 >> /etc/yum.repos.d/adoptium.repo
- run: echo gpgkey=https://packages.adoptium.net/artifactory/api/gpg/key/public >> /etc/yum.repos.d/adoptium.repo
- run: dnf clean all && rm -r /var/cache/dnf && dnf upgrade -y && dnf update -y
- run: dnf install -y temurin-21-jdk
- name: Generate override.properties
run: |
rm -f override.properties
echo "build.built-by=GitHub Actions" >> override.properties
echo "noExe=true" >> override.properties
- name: install crx3
run: go install github.com/mediabuyerbot/go-crx3/crx3@latest
- name: install dzip
run: go install github.com/delicb/dzip@latest
- name: install amo-version
run: go install github.com/eyedeekay/amo-version@a4f4119eac453a14d6b6184b656320eb72b5da3c
- name: install manifest-json-version
run: go install github.com/eyedeekay/manifest-json-version@latest
- run: git clone https://github.com/i2p/i2p.i2p ../i2p.i2p
- run: cd ../i2p.i2p && ant builddep
- name: build with Ant
run: |
export PATH=$PATH:$(go env GOPATH)/bin
ant distclean jpackage fedora
find . -name '*.rpm'
- name: Upload i2pbrowser.rpm
uses: actions/upload-artifact@v4
with:
name: i2pbrowser.x86_64.rpm
path: ./i2pbrowser-1.0.0-1.x86_64.rpm
buildwin:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name : Generate override.properties
run: |
bash -c 'rm -f override.properties'
bash -c 'echo "build.built-by=GitHub Actions" >> override.properties'
bash -c 'echo "noExe=true" >> override.properties'
- name: install crx3
run: go install github.com/mediabuyerbot/go-crx3/crx3@latest
- name: install dzip
run: go install github.com/delicb/dzip@latest
- name: install amo-version
run: go install github.com/eyedeekay/amo-version@a4f4119eac453a14d6b6184b656320eb72b5da3c
- name: install manifest-json-version
run: go install github.com/eyedeekay/manifest-json-version@latest
- run: git clone https://github.com/i2p/i2p.i2p ../i2p.i2p
- run: cd ../i2p.i2p && ant builddep
- name: build exe with Ant
run: |
ant windows
bash -c 'ls *.exe'
- name: Upload Firefox Profile EXE Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.exe
path: ./i2pbrowser-1.0.0.exe
- name: build msi with Ant
run: |
ant windows-msi
bash -c 'ls *.msi'
- name: Upload Firefox Profile MSI Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.msi
path: ./i2pbrowser-1.0.0.msi
- name: build portable zip with Ant
run: |
ant windows-portable
bash -c 'ls *.zip'
- name: Upload Firefox Profile Portable Zip
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-portable.zip
path: ./i2pbrowser-portable.zip
buildmac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name : Generate override.properties
run: |
bash -c 'rm -f override.properties'
bash -c 'echo "build.built-by=GitHub Actions" >> override.properties'
bash -c 'echo "noExe=true" >> override.properties'
- name: install crx3
run: go install github.com/mediabuyerbot/go-crx3/crx3@latest
- name: install dzip
run: go install github.com/delicb/dzip@latest
- name: install amo-version
run: go install github.com/eyedeekay/amo-version@a4f4119eac453a14d6b6184b656320eb72b5da3c
- name: install manifest-json-version
run: go install github.com/eyedeekay/manifest-json-version@latest
- run: git clone https://github.com/i2p/i2p.i2p ../i2p.i2p
- run: cd ../i2p.i2p && ant builddep
- name: build dmg with Ant
run: |
ant macos
bash -c 'ls *.dmg'
- name: Upload Firefox Profile DMG Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.dmg
path: ./i2pbrowser-1.0.0.dmg
- name: build pkg with Ant
run: |
ant macos-pkg
bash -c 'ls *.pkg'
- name: Upload Firefox Profile PKG Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.pkg
path: ./i2pbrowser-1.0.0.pkg

View File

@ -1,78 +0,0 @@
name: Release
#on: [push]
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*.*.*' # Release 1.2.3
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
CHANGES.md
sparse-checkout-cone-mode: false
- name: sleep 15 minutes
run: |
echo "sleeping 15 minutes to wait for artifacts"
sleep 1m
echo "sleeping 14 minutes to wait for artifacts"
sleep 1m
echo "sleeping 13 minutes to wait for artifacts"
sleep 1m
echo "sleeping 12 minutes to wait for artifacts"
sleep 1m
echo "sleeping 11 minutes to wait for artifacts"
sleep 1m
echo "sleeping 10 minutes to wait for artifacts"
sleep 1m
echo "sleeping 9 minutes to wait for artifacts"
sleep 1m
echo "sleeping 8 minutes to wait for artifacts"
sleep 1m
echo "sleeping 7 minutes to wait for artifacts"
sleep 1m
echo "sleeping 6 minutes to wait for artifacts"
sleep 1m
echo "sleeping 5 minutes to wait for artifacts"
sleep 1m
echo "sleeping 4 minutes to wait for artifacts"
sleep 1m
echo "sleeping 3 minutes to wait for artifacts"
sleep 1m
echo "sleeping 2 minutes to wait for artifacts"
sleep 1m
echo "sleeping 1 minutes to wait for artifacts"
sleep 1m
- name: Download artifacts
id: download-artifact
uses: dawidd6/action-download-artifact@v3
with:
skip_unpack: false
workflow: ant.yml
if_no_artifact_found: fail
# remove .zip file extension
- run: for f in *.zip; do mv "$f" "${f%.zip}"; done
- run: echo "" | tee -a CHANGES.md
- run: echo "## Checksums" | tee -a CHANGES.md
- run: echo "" | tee -a CHANGES.md
- run: echo '```' | tee -a CHANGES.md
- run: sha256sum * | tee -a CHANGES.md
- run: echo '```' | tee -a CHANGES.md
- run: echo "" | tee -a CHANGES.md
- run: echo '```' | tee -a changelog.txt
- run: file * | tee -a changelog.txt
- run: echo '```' | tee -a changelog.txt
- run: echo "" | tee -a changelog.txt
- name: Upload artifacts
uses: ncipollo/release-action@v1
with:
artifacts: "*"
bodyFile: "CHANGES.md"

20
.gitignore vendored
View File

@ -7,10 +7,6 @@ log
/i2p.firefox.base.profile/
/i2p.chromium.usability.profile/
/i2p.firefox.usability.profile/
/src/i2p.chromium.base.profile/
/src/i2p.firefox.base.profile/
/src/i2p.chromium.usability.profile/
/src/i2p.firefox.usability.profile/
i2p.chromium.profile
i2p.firefox.profile
src/build
@ -22,18 +18,4 @@ i2pbrowser/
/logs
/*.jar
/*.msi
/*.exe
/user.js
arkenfoxnum
/*.tar.gz
/*.tar.xz
/i2p.firefox.profile.*
/src/*.zip
/src/*profile/extensions/*.xpi
i2p.plugins.firefox/
/icon.png
/systray.running
/.cache
/.mozilla
/i2p.plugins.firefox.torrent.zip
/plugin
/*.exe

View File

@ -8,496 +8,385 @@
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="docs/BUILD.html">
docs/BUILD
</a>
</li>
<li>
<a href="docs/I2PBrowser.html">
docs/I2PBrowser
</a>
</li>
<li>
<a href="docs/I2PBrowserPlugin.html">
docs/I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="docs/I2PChromium.html">
docs/I2PChromium
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileBuilder.html">
docs/I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileChecker.html">
docs/I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileUnpacker.html">
docs/I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="docs/I2PCommonBrowser.html">
docs/I2PCommonBrowser
</a>
</li>
<li>
<a href="docs/I2PFirefox.html">
docs/I2PFirefox
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileBuilder.html">
docs/I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileChecker.html">
docs/I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileUnpacker.html">
docs/I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="docs/I2PGenericUnsafeBrowser.html">
docs/I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="docs/I2PLibreWolf.html">
docs/I2PLibreWolf.html
</a>
</li>
<li>
<a href="docs/LINUX.html">
docs/LINUX
</a>
</li>
<li>
<a href="docs/OSX.html">
docs/OSX
</a>
</li>
<li>
<a href="docs/WINDOWS.html">
docs/WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
<a id="returnhome" href="/">
/
</div>
<a id="returnhome" href="/">
/
</a>
<h2>
<a href="#tue-september-6" rel="nofollow">
<span></span>
</a>
<h2>
Thu, March 7
</h2>
Tue, September 6
</h2>
<ul>
<li>
Run headlessly on first-run on Windows.
</li>
<li>
Add support for building an .exe package.
</li>
<li>
Add support for building an .zip Windows portable package.
</li>
<li>
Add support for building an .rpm package.
</li>
<li>
Destroy headless process if it goes too long.
</li>
</ul>
<h2>
<a href="#mon-september-5" rel="nofollow">
<span></span>
</a>
Mon, September 5
</h2>
<ul>
<li>
Fix several issues with running on Windows 11
</li>
<li>
Make tunnel nicknames different to avoid double shared tunnels
</li>
<li>
Add support for building a .deb package.
</li>
<li>
Add support for building an .msi package.
</li>
</ul>
<h2>
<a href="#fri-september-2" rel="nofollow">
<span></span>
</a>
Fri, September 2
</h2>
<ul>
<li>
Disable HTTPS only mode in favor of HTTPS-first mode to remove the interstitial on I2P sites.
</li>
<li>
Clearnet sites still choose HTTPS first and will silently deny downgrades but will not warn HTTP-only users.
</li>
</ul>
<h2>
<a href="#thu-september-1" rel="nofollow">
<span></span>
</a>
Thu, September 1
</h2>
<ul>
<li>
Add a jpackage target. Add descriptions to release items.
</li>
</ul>
<h2>
<a href="#wed-august-31" rel="nofollow">
<span></span>
</a>
Wed, August 31
</h2>
<ul>
<li>
Add unpacked extensions for Chromium profiles
</li>
<li>
Add Chromium flags from Ungoogled-Chromium documentation
</li>
<li>
Add Usability/Strict mode switching for Chromium
</li>
</ul>
<h2>
<a href="#tue-august-30" rel="nofollow">
<span></span>
</a>
Tue, August 30
</h2>
<ul>
<li>
Add Usability/Strict mode switching for Firefox
</li>
<li>
Factor out common functions to own class
</li>
</ul>
<h2>
<a href="#sun-august-28" rel="nofollow">
<span></span>
</a>
Sun, August 28
</h2>
<ul>
<li>
Adds support for generically configuring a browser with environment variables.
</li>
<li>
Bugfix for MSEdgium support
</li>
<li>
Add detachable version of launchers
</li>
</ul>
<h2>
<a href="#sat-august-27" rel="nofollow">
<span></span>
</a>
Sat, August 27
</h2>
<ul>
<li>
Added support for passing a URL as a parameter to the cli&#39;s
</li>
<li>
revised test.sh
</li>
</ul>
<h2>
<a href="#mon-august-22" rel="nofollow">
<span></span>
</a>
Mon, August 22
</h2>
<ul>
<li>
Completes support for auto-selecting
<em>
either
</em>
a Firefox or Chrome instance, automatically
</li>
</ul>
<h2>
<a href="#sat-august-21" rel="nofollow">
<span></span>
</a>
Sat, August 21
</h2>
<ul>
<li>
Adds support for passing the -private flag to start Firefox with --private-window and Chromium --incognito
</li>
</ul>
<h2>
<a href="#fri-august-20" rel="nofollow">
<span></span>
</a>
Fri, August 20
</h2>
<ul>
<li>
Chromium is now a first-class citizen
</li>
</ul>
<h2>
<a href="#fri-august-19" rel="nofollow">
<span></span>
</a>
Fri, August 19
</h2>
<ul>
<li>
Adds the ability to pass --private-window to Firefoxes and --incognito to Chromiums
</li>
<li>
Switch Tor Browser to the top of the order on Windows to match i2p.firefox behavior
</li>
</ul>
<h2>
<a href="#mon-august-8" rel="nofollow">
<span></span>
</a>
Mon, August 8
</h2>
<ul>
<li>
Add Chromium support. You heard me. Chromium support.
</li>
<li>
Update launcher script so it self-discovers the location of the script and uses that to find the bundled jar.
</li>
</ul>
<h2>
<a href="#sun-august-7" rel="nofollow">
<span></span>
</a>
Sun, August 7
</h2>
<ul>
<li>
Wrote the Javadoc
</li>
<li>
Embedded the Firefox profile in the Jar so it always unpacks correctly
</li>
<li>
re-added Tor Browser support on Windows
</li>
<li>
Fix false positives in validation routine
</li>
<li>
Make constructors public
</li>
<li>
Wait on processbuilder to close
</li>
</ul>
<h2>
<a href="#saturday-august-6" rel="nofollow">
<span></span>
</a>
Saturday, August 6
</h2>
<ul>
<li>
Implemented firefox detection
</li>
<li>
Implemented directory setup
</li>
<li>
Implemented processBuilder generator
</li>
</ul>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
re-implement Plugin functions with Destop GUI API.
</li>
<li>
Fix several NPE&rsquo;s
</li>
<li>
Delete redundant code
</li>
<li>
CI/CD improvements, packaging improvements
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
<h2>
Tue, January 17
</h2>
<ul>
<li>
Remove HTTPS everywhere from all profiles
</li>
<li>
Generate a Tor Browser install to go inside Linux jpackage portables
</li>
</ul>
<h2>
Sat, December 31
</h2>
<ul>
<li>
Add environment variables which customize behavior of Tor Browser
</li>
</ul>
<h2>
Sun, December 18
</h2>
<ul>
<li>
Enable use as a Java I2P Console Plugin
</li>
</ul>
<h2>
Tue, November 22
</h2>
<ul>
<li>
Fix some minor issues from buildsystem refactor that surfaced during release
</li>
<li>
update to version 1.0.5
</li>
</ul>
<h2>
Sat, October 22
</h2>
<ul>
<li>
Add systray for launching browsers from our own GUI
</li>
<li>
Add
<code>
browser.config
</code>
file for customizing configuration
</li>
</ul>
<h2>
Thu, October 20
</h2>
<ul>
<li>
Complete the PWA/App mode
</li>
</ul>
<h2>
Sat, October 1
</h2>
<ul>
<li>
Work around anti-automation measures on OSX by writing final command out to shell script and running that
</li>
<li>
Deterministically generate .zip files
</li>
<li>
Add Tor Browser support to OSX
</li>
<li>
Improve Tor Browser support on Linux
</li>
</ul>
<h2>
Sun, September 25
</h2>
<ul>
<li>
Become version 1.0.0
</li>
</ul>
<h2>
Wed, September 15
</h2>
<ul>
<li>
Add ant targets which auto-update the user.js
</li>
</ul>
<h2>
Wed, September 14
</h2>
<ul>
<li>
Add ant targets which fetch Firefox addons from addons.mozilla.org
</li>
</ul>
<h2>
Sun, September 11
</h2>
<ul>
<li>
Make the logging a little more sensible
</li>
</ul>
<h2>
Tue, September 6
</h2>
<ul>
<li>
Wait up to 5 seconds for the initializing headless Firefox instance to die on Windows
</li>
<li>
Add option to disable proxy pre-check by setting timeout to zero or less
</li>
</ul>
<h2>
Tue, September 6
</h2>
<ul>
<li>
Run headlessly on first-run on Windows.
</li>
<li>
Add support for building an .exe package.
</li>
<li>
Add support for building an .zip Windows portable package.
</li>
<li>
Add support for building an .rpm package.
</li>
<li>
Destroy headless process if it goes too long.
</li>
</ul>
<h2>
Mon, September 5
</h2>
<ul>
<li>
Fix several issues with running on Windows 11
</li>
<li>
Make tunnel nicknames different to avoid double shared tunnels
</li>
<li>
Add support for building a .deb package.
</li>
<li>
Add support for building an .msi package.
</li>
</ul>
<h2>
Fri, September 2
</h2>
<ul>
<li>
Disable HTTPS only mode in favor of HTTPS-first mode to remove the interstitial on I2P sites.
</li>
<li>
Clearnet sites still choose HTTPS first and will silently deny downgrades but will not warn HTTP-only users.
</li>
</ul>
<h2>
Thu, September 1
</h2>
<ul>
<li>
Add a jpackage target. Add descriptions to release items.
</li>
</ul>
<h2>
Wed, August 31
</h2>
<ul>
<li>
Add unpacked extensions for Chromium profiles
</li>
<li>
Add Chromium flags from Ungoogled-Chromium documentation
</li>
<li>
Add Usability/Strict mode switching for Chromium
</li>
</ul>
<h2>
Tue, August 30
</h2>
<ul>
<li>
Add Usability/Strict mode switching for Firefox
</li>
<li>
Factor out common functions to own class
</li>
</ul>
<h2>
Sun, August 28
</h2>
<ul>
<li>
Adds support for generically configuring a browser with environment variables.
</li>
<li>
Bugfix for MSEdgium support
</li>
<li>
Add detachable version of launchers
</li>
</ul>
<h2>
Sat, August 27
</h2>
<ul>
<li>
Added support for passing a URL as a parameter to the cli&rsquo;s
</li>
<li>
revised test.sh
</li>
</ul>
<h2>
Mon, August 22
</h2>
<ul>
<li>
Completes support for auto-selecting
<em>
either
</em>
a Firefox or Chrome instance, automatically
</li>
</ul>
<h2>
Sat, August 21
</h2>
<ul>
<li>
Adds support for passing the -private flag to start Firefox with &ndash;private-window and Chromium &ndash;incognito
</li>
</ul>
<h2>
Fri, August 20
</h2>
<ul>
<li>
Chromium is now a first-class citizen
</li>
</ul>
<h2>
Fri, August 19
</h2>
<ul>
<li>
Adds the ability to pass &ndash;private-window to Firefoxes and &ndash;incognito to Chromiums
</li>
<li>
Switch Tor Browser to the top of the order on Windows to match i2p.firefox behavior
</li>
</ul>
<h2>
Mon, August 8
</h2>
<ul>
<li>
Add Chromium support. You heard me. Chromium support.
</li>
<li>
Update launcher script so it self-discovers the location of the script and uses that to find the bundled jar.
</li>
</ul>
<h2>
Sun, August 7
</h2>
<ul>
<li>
Wrote the Javadoc
</li>
<li>
Embedded the Firefox profile in the Jar so it always unpacks correctly
</li>
<li>
re-added Tor Browser support on Windows
</li>
<li>
Fix false positives in validation routine
</li>
<li>
Make constructors public
</li>
<li>
Wait on processbuilder to close
</li>
</ul>
<h2>
Saturday, August 6
</h2>
<ul>
<li>
Implemented firefox detection
</li>
<li>
Implemented directory setup
</li>
<li>
Implemented processBuilder generator
</li>
</ul>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1340,10 +1229,9 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
@ -1352,7 +1240,7 @@ Public License instead of this License.
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
<img src="i2plogo.png"></img>
I2P
</a>
</div>

75
CHANGES.md Normal file → Executable file
View File

@ -1,78 +1,3 @@
Thu, March 7
------------
- re-implement Plugin functions with Destop GUI API.
- Fix several NPE's
- Delete redundant code
- CI/CD improvements, packaging improvements
Tue, January 17
---------------
- Remove HTTPS everywhere from all profiles
- Generate a Tor Browser install to go inside Linux jpackage portables
Sat, December 31
----------------
- Add environment variables which customize behavior of Tor Browser
Sun, December 18
----------------
- Enable use as a Java I2P Console Plugin
Tue, November 22
----------------
- Fix some minor issues from buildsystem refactor that surfaced during release
- update to version 1.0.5
Sat, October 22
---------------
- Add systray for launching browsers from our own GUI
- Add `browser.config` file for customizing configuration
Thu, October 20
---------------
- Complete the PWA/App mode
Sat, October 1
--------------
- Work around anti-automation measures on OSX by writing final command out to shell script and running that
- Deterministically generate .zip files
- Add Tor Browser support to OSX
- Improve Tor Browser support on Linux
Sun, September 25
-----------------
- Become version 1.0.0
Wed, September 15
-----------------
- Add ant targets which auto-update the user.js
Wed, September 14
-----------------
- Add ant targets which fetch Firefox addons from addons.mozilla.org
Sun, September 11
-----------------
- Make the logging a little more sensible
Tue, September 6
----------------
- Wait up to 5 seconds for the initializing headless Firefox instance to die on Windows
- Add option to disable proxy pre-check by setting timeout to zero or less
Tue, September 6
----------------

View File

@ -1,6 +1,6 @@
FROM debian:stable
RUN apt-get update && apt-get install -y openjdk-17* ant zip firefox-esr
ADD . /usr/src/i2p.firefox
WORKDIR /usr/src/i2p.firefox
RUN ant jar
CMD java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser
FROM fedora
RUN yum -y update
RUN yum -y install rpm-build
ADD . /src/i2p.plugins.firefox
WORKDIR /src/i2p.plugins.firefox
CMD ./fedora-docker.sh

View File

@ -1,14 +0,0 @@
FROM fedora:36
# Note,
RUN echo [Adoptium] >> /etc/yum.repos.d/adoptium.repo
RUN echo name=Adoptium >> /etc/yum.repos.d/adoptium.repo
RUN . /etc/os-release; echo baseurl=https://packages.adoptium.net/artifactory/rpm/fedora/$VERSION_ID/x86_64/ >> /etc/yum.repos.d/adoptium.repo
RUN echo enabled=1 >> /etc/yum.repos.d/adoptium.repo
RUN echo gpgcheck=1 >> /etc/yum.repos.d/adoptium.repo
RUN echo gpgkey=https://packages.adoptium.net/artifactory/api/gpg/key/public >> /etc/yum.repos.d/adoptium.repo
RUN cat /etc/yum.repos.d/adoptium.repo
RUN dnf clean all && rm -r /var/cache/dnf && dnf upgrade -y && dnf update -y
RUN dnf -y install rpm-build temurin-19-jdk
ADD . /src/i2p.plugins.firefox
WORKDIR /src/i2p.plugins.firefox
CMD ./fedora-docker.sh

View File

@ -1,245 +1,159 @@
<html>
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
</head>
<body>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
</head>
<body>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<p>
:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href=""></a>
</li>
<li>
<a href=""></a>
</li>
<li>
<a href=""></a>
</li>
<li>
<a href=""></a>
</li>
<li>
<a href=""></a>
</li>
<li>
<a href="BUILD.html">
BUILD
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
</a>
</li>
<li>
<a href="OSX.html">
OSX
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
Class I2PLibreWolf
<a href="src/java/net/i2p/i2pfirefox/I2PLibreWolf.java">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br />
Description:
<br />
&gt; I2PLibreWolf.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PLibreWolf adds the LibreWolf Updater browser extension if the browser detected by the Firefox variant launcher is LibreWolf specifically.
</p>
<p>
Author: idk
<br />
package: net.i2p.i2pfirefox
</p>
<h2>
Dependencies
</h2>
<p>
<details>
<br />
<summary>
<br />
Show dependencies
<br />
</summary>
<br />
<ul>
<br />
<li>
java.io.
<em>
</li>
<li>
javax.script.
<br />
<h2>
Member Variables
</h2>
<h4>
ScriptEngineManager sem
<a href="src/java/net/i2p/i2pfirefox/I2PLibreWolf.java#L">
[src]
</a>
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br />
</li>
<li>
Modifiers: static final
</li>
</ul>
<h4>
ScriptEngine ee
<a href="src/java/net/i2p/i2pfirefox/I2PLibreWolf.java#L">
[src]
</a>
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br />
</li>
<li>
Modifiers: final
</li>
</ul>
<h2>
No methods in this class
</h2>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
<div>
<a href="#show">
Show license
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1082,18 +996,20 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img src="i2plogo.png"></img>
I2P
</a>
</div>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img src="i2plogo.png"></img>
I2P
</a>
</div>
</body>
</html>

3
EXAMPLES.md Normal file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private

1546
I2PBrowser.html Normal file

File diff suppressed because it is too large Load Diff

199
I2PBrowser.md Normal file
View File

@ -0,0 +1,199 @@
# Class I2PBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java)
> */
Access: public
Description:
> I2PBrowser.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @description I2PBrowser is a that is used to open a browser window to the I2P network. It automatically detects the operating system and available browsers and selects the best one to use with Tor Browser at the top for Firefox and Brave at the top for Chrome.
Author: idk
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
<details>
<summary>
Show dependencies
</summary>
<ul>
<li>java.util.ArrayList</li>
</ul>
</details>
## Member Variables
#### I2PFirefox i2pFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### I2PChromium i2pChromium [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### I2PGenericUnsafeBrowser i2pGeneral [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### boolean firefox [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean chromium [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean generic [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean chromiumFirst [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean usability [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
## Methods
### launchFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L34)
+ Description:
+ Access: private
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | boolean | |
| url | String[] | |
### launchChromium [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L39)
+ Description:
+ Access: private
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | boolean | |
| url | String[] | |
### launchGeneric [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L44)
+ Description:
+ Access: private
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | boolean | |
| url | String[] | |
### setBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L67)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| browserPath | String | |
### hasChromium [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L77)
+ Description: Return true if there is a Chromium available
+ Access: public
+ return: true if Chromium is available false otherwise
This method has no parameters.
### hasFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L94)
+ Description: Return true if there is a Firefox variant available
+ Access: public
+ return: true if Firefox variant is available false otherwise
This method has no parameters.
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L114)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches either Firefox or Chromium with the profile directory.
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | boolean | |
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L157)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches either Firefox or Chromium with the profile directory.
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | boolean | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L166)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches either Firefox or Chromium with the profile directory.
+ Access: public
+ return: void
This method has no parameters.
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L168)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| inUrl | String | |
### main [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L178)
+ Description:
+ Access: public
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| args | String[] | |

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@ Description:
> I2PChromium.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Author: idk
Parent class: I2PChromiumProfileUnpacker
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
@ -18,16 +18,9 @@ package: net.i2p.i2pfirefox
</summary>
<ul>
<li>java.io.File</li>
<li>java.io.FileOutputStream</li>
<li>java.io.FileWriter</li>
<li>java.io.IOException</li>
<li>java.io.OutputStream</li>
<li>java.io.PrintWriter</li>
<li>java.net.Socket</li>
<li>java.util.ArrayList</li>
<li>java.util.Arrays</li>
<li>java.util.List</li>
<li>java.util.stream.Collectors</li>
<li>java.util.stream.Stream</li>
</ul>
</details>
@ -40,6 +33,13 @@ package: net.i2p.i2pfirefox
+ Access: private
+ Modifiers: final
#### int DEFAULT_TIMEOUT [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L)
>
+ Access: private
+ Modifiers: final
#### Process p [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L)
>
@ -48,124 +48,87 @@ package: net.i2p.i2pfirefox
## Methods
### storeChromiumDefaults [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L60)
+ Description:
+ Access: public
+ return: void
This method has no parameters.
### chromiumPathsUnix [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L89)
### FIND_CHROMIUM_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L54)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### chromiumBinsUnix [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L98)
### FIND_CHROMIUM_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L70)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### FIND_CHROMIUM_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L114)
### FIND_CHROMIUM_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L88)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### chromiumPathsOSX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L128)
### FIND_ALL_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L125)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### FIND_CHROMIUM_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L137)
### FIND_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L145)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### chromiumPathsWindows [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L151)
### NEARBY_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L159)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### chromiumBinsWindows [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L184)
### CHROMIUM_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L213)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### FIND_CHROMIUM_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L196)
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L225)
+ Description:
+ Access: private
+ return: String[]
+ Modifiers: static
+ return: String
This method has no parameters.
### FIND_ALL_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L210)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### FIND_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L230)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### NEARBY_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L244)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### CHROMIUM_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L337)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### onlyValidChromiums [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L358)
### onlyValidChromiums [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L247)
+ Description: Check our list of chrome paths for a valid chrome binary. Just an existence check for now but should check versions in the future.
+ Access: public
@ -174,7 +137,7 @@ This method has no parameters.
This method has no parameters.
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L378)
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L267)
+ Description: Return the best available Chromium from the list of Chromiums we have.
+ Access: public
@ -183,7 +146,7 @@ This method has no parameters.
This method has no parameters.
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L407)
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L296)
+ Description: Return the best available Chromium from the list of Chromiums we have. if override is passed it will be validated and if it validates it will be used.
+ Access: public
@ -194,7 +157,7 @@ This method has no parameters.
| overrideChromium | String | |
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L425)
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L314)
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
+ Access: public
@ -203,7 +166,7 @@ This method has no parameters.
This method has no parameters.
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L438)
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L327)
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile. @args the arguments to pass to the Chromium binary
+ Access: public
@ -214,7 +177,7 @@ This method has no parameters.
| args | String[] | |
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L450)
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L339)
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
+ Access: public
@ -223,7 +186,7 @@ This method has no parameters.
This method has no parameters.
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L463)
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L352)
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
+ Access: public
@ -234,27 +197,7 @@ This method has no parameters.
| args | String[] | the arguments to pass to the Chromium binary. |
### appProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L485)
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
+ Access: public
+ return: a ProcessBuilder for the top Chromium binary and the default profile. Always passes the --app flag.
This method has no parameters.
### appProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L498)
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
+ Access: public
+ return: a ProcessBuilder for the top Chromium binary and the default profile. Always passes the --app flag.
| Name | Type | Description |
| ----- | ----- | ----- |
| args | String[] | the arguments to pass to the Chromium binary. |
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L545)
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L399)
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile with a specific set of extended arguments.
+ Access: public
@ -265,7 +208,64 @@ This method has no parameters.
| args | String[] | the extended arguments to pass to the Chromium binary. |
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L662)
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L493)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
This method has no parameters.
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L503)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L515)
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
| port | int | the port to wait for the proxy to be ready on. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L528)
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
| port | int | the port to wait for the proxy to be ready on. |
| host | String | the host to wait for the proxy to be ready on. |
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L541)
+ Description:
+ Access: private
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| port | int | |
| host | String | |
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L551)
+ Description:
+ Access: public
@ -277,19 +277,7 @@ This method has no parameters.
| url | String[] | |
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L669)
+ Description:
+ Access: public
+ return: Process
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | int | |
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L725)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L598)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
+ Access: public
@ -301,19 +289,7 @@ This method has no parameters.
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L731)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | int | |
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L756)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L623)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
+ Access: public
@ -324,7 +300,7 @@ This method has no parameters.
| privateWindow | boolean | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L765)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L632)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
+ Access: public
@ -333,10 +309,11 @@ This method has no parameters.
This method has no parameters.
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L767)
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L634)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String
| Name | Type | Description |
@ -344,7 +321,7 @@ This method has no parameters.
| inUrl | String | |
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L777)
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L644)
+ Description:
+ Access: public
@ -356,3 +333,15 @@ This method has no parameters.
| args | String[] | |
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L672)
+ Description:
+ Access: private
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| millis | int | |

View File

@ -1,393 +1,459 @@
<html>
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="BUILD.html">
BUILD
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf.html
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
</a>
</li>
<li>
<a href="OSX.html">
OSX
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
</div>
<a id="returnhome" href="/">
/
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
</head>
<body>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
<h1>
Class I2PChromiumProfileBuilder
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br />
Description:
<br />
&gt; I2PChromiumProfileBuilder.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PChromiumProfileBuilder is a that builds a profile directory which contains the I2P browser profile for the Chromium browser family. It manages the base profile directory and copies it&rsquo;s contents to the active profile directory which is actually used by Chromium.
</p>
<p>
Author: idk
<br />
Parent class: I2PChromiumProfileChecker
<br />
package: net.i2p.i2pfirefox
</p>
<h2>
Dependencies
</h2>
<p>
<details>
<br />
<summary>
<br />
Show dependencies
<br />
</summary>
<br />
<ul>
<br />
<li>
java.io.File
</li>
</ul>
<br />
</details>
</p>
<h2>
Member Variables
</h2>
<h4>
boolean usability
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L">
[src]
</a>
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: public
<br />
</li>
</ul>
<h2>
Methods
</h2>
<h3>
baseProfileDir
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L26">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: private
<br />
</li>
<li>
return: String
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| file | String | |
<br />
| mode | String | |
</p>
<h3>
baseProfileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L50">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: String
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| mode | String | |
</p>
<h3>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L74">
[src]
</a>
</h3>
<ul>
<li>
Description: get the runtime directory creating it if create=true
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: the runtime directory or null if it could not be created
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| create | boolean | if true create the runtime directory if it does not exist |
</p>
<h3>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L85">
[src]
</a>
</h3>
<ul>
<li>
Description: get the correct runtime directory
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: the runtime directory or null if it could not be created or found
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
usabilityMode
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L100">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: String
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
copyBaseProfiletoProfile
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L111">
[src]
</a>
</h3>
<ul>
<li>
Description: Copy the inert base profile directory to the runtime profile directory
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: boolean
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pchromiumprofilebuilder-src" rel="nofollow">
<span></span>
</a>
Class I2PChromiumProfileBuilder
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java" rel="nofollow">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br>
Description:
</p>
<blockquote>
<p>
I2PChromiumProfileBuilder.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com" rel="nofollow">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PChromiumProfileBuilder is a that builds a profile directory which contains the I2P browser profile for the Chromium browser family. It manages the base profile directory and copies it&#39;s contents to the active profile directory which is actually used by Chromium.
</p>
</blockquote>
<p>
Author: idk
<br>
Parent class: I2PCommonBrowser
<br>
package: net.i2p.i2pfirefox
</p>
<h2>
<a href="#dependencies" rel="nofollow">
<span></span>
</a>
Dependencies
</h2>
<p>
<details>
<br>
<summary>
</p>
<pre><code>Show dependencies
</code></pre>
<p>
<br>
<ul>
<br>
<li>
java.io.File
</li>
</ul>
<br>
<h2>
<a href="#member-variables" rel="nofollow">
<span></span>
</a>
Member Variables
</h2>
<h4>
<a href="#boolean-usability-src" rel="nofollow">
<span></span>
</a>
boolean usability
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L" rel="nofollow">
[src]
</a>
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
</ul>
<h2>
<a href="#methods" rel="nofollow">
<span></span>
</a>
Methods
</h2>
<h3>
<a href="#profiledirectory-src" rel="nofollow">
<span></span>
</a>
profileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L31" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: get the profile directory creating it if necessary
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: String
<br>
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
<a href="#baseprofiledir-src" rel="nofollow">
<span></span>
</a>
baseProfileDir
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L35" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: private
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: String
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| file | String | |
<br>
| mode | String | |
</p>
<h3>
<a href="#baseprofiledirectory-src" rel="nofollow">
<span></span>
</a>
baseProfileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L59" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: String
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| mode | String | |
</p>
<h3>
<a href="#runtimedirectory-src" rel="nofollow">
<span></span>
</a>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L83" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: get the runtime directory creating it if create=true
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: the runtime directory or null if it could not be created
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| create | boolean | if true create the runtime directory if it does not exist |
</p>
<h3>
<a href="#runtimedirectory-src" rel="nofollow">
<span></span>
</a>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L94" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: get the correct runtime directory
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: the runtime directory or null if it could not be created or found
<br>
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
<a href="#usabilitymode-src" rel="nofollow">
<span></span>
</a>
usabilityMode
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L109" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: private
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: String
<br>
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
<a href="#copybaseprofiletoprofile-src" rel="nofollow">
<span></span>
</a>
copyBaseProfiletoProfile
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L120" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: Copy the inert base profile directory to the runtime profile directory
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: boolean
<br>
</li>
</ul>
<p>
This method has no parameters.
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1230,21 +1296,18 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
I2P
<a href="#hide">
Hide license
</a>
</div>
</body>
</html>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img src="i2plogo.png"></img>
I2P
</a>
</div>

View File

@ -7,7 +7,7 @@ Description:
> I2PChromiumProfileBuilder.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PChromiumProfileBuilder is a that builds a profile directory which contains the I2P browser profile for the Chromium browser family. It manages the base profile directory and copies it's contents to the active profile directory which is actually used by Chromium.
Author: idk
Parent class: I2PChromiumProfileChecker
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
@ -28,13 +28,25 @@ package: net.i2p.i2pfirefox
>
+ Access: public
+ Modifiers: static
## Methods
### baseProfileDir [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L26)
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L31)
+ Description: get the profile directory creating it if necessary
+ Access: public
+ Modifiers: static
+ return: String
This method has no parameters.
### baseProfileDir [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L35)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String
| Name | Type | Description |
@ -43,10 +55,11 @@ package: net.i2p.i2pfirefox
| mode | String | |
### baseProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L50)
### baseProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L59)
+ Description:
+ Access: public
+ Modifiers: static
+ return: String
| Name | Type | Description |
@ -54,10 +67,11 @@ package: net.i2p.i2pfirefox
| mode | String | |
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L74)
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L83)
+ Description: get the runtime directory creating it if create=true
+ Access: public
+ Modifiers: static
+ return: the runtime directory or null if it could not be created
| Name | Type | Description |
@ -65,28 +79,31 @@ package: net.i2p.i2pfirefox
| create | boolean | if true create the runtime directory if it does not exist |
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L85)
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L94)
+ Description: get the correct runtime directory
+ Access: public
+ Modifiers: static
+ return: the runtime directory or null if it could not be created or found
This method has no parameters.
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L100)
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L109)
+ Description:
+ Access: public
+ Access: private
+ Modifiers: static
+ return: String
This method has no parameters.
### copyBaseProfiletoProfile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L111)
### copyBaseProfiletoProfile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L120)
+ Description: Copy the inert base profile directory to the runtime profile directory
+ Access: public
+ Modifiers: static
+ return: boolean
This method has no parameters.

View File

@ -1,366 +1,355 @@
<html>
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="BUILD.html">
BUILD
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf.html
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
</a>
</li>
<li>
<a href="OSX.html">
OSX
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
</div>
<a id="returnhome" href="/">
/
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
</head>
<body>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
<h1>
Class I2PChromiumProfileChecker
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br />
Description:
<br />
&gt; I2PChromiumProfileChecker.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PChromiumProfileChecker is a that checks if the Chromium profile directory exists and is valid.
</p>
<p>
Author: idk
<br />
Parent class: I2PCommonBrowser
<br />
package: net.i2p.i2pfirefox
</p>
<h2>
Dependencies
</h2>
<p>
<details>
<br />
<summary>
<br />
Show dependencies
<br />
</summary>
<br />
<ul>
<br />
<li>
java.io.File
</li>
</ul>
<br />
</details>
</p>
<h2>
No member variables in this class
</h2>
<h2>
Methods
</h2>
<h3>
main
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L29">
[src]
</a>
</h3>
<ul>
<li>
Description: Output feedback if the profile directory is valid or invalid @description Output feedback if the profile directory is valid or invalid @args unused
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
Modifiers: static
</li>
<li>
return: void
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| args | String[] | |
</p>
<h3>
profileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L50">
[src]
</a>
</h3>
<ul>
<li>
Description: get the profile directory creating it if necessary
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: String
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| base | String | |
</p>
<h3>
validateProfileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L61">
[src]
</a>
</h3>
<ul>
<li>
Description: Return true if the profile directory is valid.
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: true if the profile directory is valid false otherwise
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| profileDirectory | String | the profile directory to check |
</p>
<h3>
validateFile
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L92">
[src]
</a>
</h3>
<ul>
<li>
Description: Return true if the file is valid.
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: true if the file is valid false otherwise
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| file | String | the file to check |
</p>
<h3>
validateExtensionDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L119">
[src]
</a>
</h3>
<ul>
<li>
Description: Return true if the extension directory is valid.
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: true if the extension directory is valid false otherwise
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| extensionDirectory | String | the extension directory to check |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pchromiumprofilechecker-src" rel="nofollow">
<span></span>
</a>
Class I2PChromiumProfileChecker
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java" rel="nofollow">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br>
Description:
</p>
<blockquote>
<p>
I2PChromiumProfileChecker.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com" rel="nofollow">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PChromiumProfileChecker is a that checks if the Chromium profile directory exists and is valid.
</p>
</blockquote>
<p>
Author: idk
<br>
Parent class: I2PCommonBrowser
<br>
package: net.i2p.i2pfirefox
</p>
<h2>
<a href="#dependencies" rel="nofollow">
<span></span>
</a>
Dependencies
</h2>
<p>
<details>
<br>
<summary>
</p>
<pre><code>Show dependencies
</code></pre>
<p>
<br>
<ul>
<br>
<li>
java.io.File
</li>
</ul>
<br>
<h2>
<a href="#no-member-variables-in-this-class" rel="nofollow">
<span></span>
</a>
No member variables in this class
</h2>
<h2>
<a href="#methods" rel="nofollow">
<span></span>
</a>
Methods
</h2>
<h3>
<a href="#main-src" rel="nofollow">
<span></span>
</a>
main
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L29" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: Output feedback if the profile directory is valid or invalid @description Output feedback if the profile directory is valid or invalid @args unused
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: void
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| args | String[] | |
</p>
<h3>
<a href="#validateprofiledirectory-src" rel="nofollow">
<span></span>
</a>
validateProfileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L50" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: Return true if the profile directory is valid.
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: true if the profile directory is valid false otherwise
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| profileDirectory | String | the profile directory to check |
</p>
<h3>
<a href="#validatefile-src" rel="nofollow">
<span></span>
</a>
validateFile
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L81" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: Return true if the file is valid.
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: true if the file is valid false otherwise
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| file | String | the file to check |
</p>
<h3>
<a href="#validateextensiondirectory-src" rel="nofollow">
<span></span>
</a>
validateExtensionDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L108" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: Return true if the extension directory is valid.
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: true if the extension directory is valid false otherwise
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| extensionDirectory | String | the extension directory to check |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1203,21 +1192,18 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
I2P
<a href="#hide">
Hide license
</a>
</div>
</body>
</html>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img src="i2plogo.png"></img>
I2P
</a>
</div>

View File

@ -37,21 +37,11 @@ package: net.i2p.i2pfirefox
| args | String[] | |
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L50)
+ Description: get the profile directory creating it if necessary
+ Access: public
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| base | String | |
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L61)
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L50)
+ Description: Return true if the profile directory is valid.
+ Access: public
+ Modifiers: static
+ return: true if the profile directory is valid false otherwise
| Name | Type | Description |
@ -59,10 +49,11 @@ package: net.i2p.i2pfirefox
| profileDirectory | String | the profile directory to check |
### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L92)
### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L81)
+ Description: Return true if the file is valid.
+ Access: public
+ Modifiers: static
+ return: true if the file is valid false otherwise
| Name | Type | Description |
@ -70,10 +61,11 @@ package: net.i2p.i2pfirefox
| file | String | the file to check |
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L119)
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L108)
+ Description: Return true if the extension directory is valid.
+ Access: public
+ Modifiers: static
+ return: true if the extension directory is valid false otherwise
| Name | Type | Description |

View File

@ -1,284 +1,285 @@
<html>
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="BUILD.html">
BUILD
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf.html
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
</a>
</li>
<li>
<a href="OSX.html">
OSX
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
</div>
<a id="returnhome" href="/">
/
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
</head>
<body>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
<h1>
Class I2PChromiumProfileUnpacker
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br />
Description:
<br />
&gt; I2PChromiumProfileUnpacker.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PChromiumProfileUnpacker is a that unpacks the Chromium profile zip file into the Chromium base profile directory. This is not used by the Chromium browser instance it&rsquo;s unpacked to the disk to be copied to the active profile directory.
</p>
<p>
Author: idk
<br />
Parent class: I2PChromiumProfileBuilder
<br />
package: net.i2p.i2pfirefox
</p>
<h2>
Dependencies
</h2>
<p>
<details>
<br />
<summary>
<br />
Show dependencies
<br />
</summary>
<br />
<ul>
<br />
</ul>
<br />
</details>
</p>
<h2>
No member variables in this class
</h2>
<h2>
Methods
</h2>
<h3>
main
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java#L23">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
Modifiers: static
</li>
<li>
return: void
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| args | String[] | |
</p>
<h3>
unpackProfile
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java#L38">
[src]
</a>
</h3>
<ul>
<li>
Description: unpack the profile directory
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: true if the profile directory was successfully unpacked
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| profileDirectory | String | |
<br />
| mode | String | |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pchromiumprofileunpacker-src" rel="nofollow">
<span></span>
</a>
Class I2PChromiumProfileUnpacker
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java" rel="nofollow">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br>
Description:
</p>
<blockquote>
<p>
I2PChromiumProfileUnpacker.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com" rel="nofollow">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PChromiumProfileUnpacker is a that unpacks the Chromium profile zip file into the Chromium base profile directory. This is not used by the Chromium browser instance it&#39;s unpacked to the disk to be copied to the active profile directory.
</p>
</blockquote>
<p>
Author: idk
<br>
Parent class: I2PCommonBrowser
<br>
package: net.i2p.i2pfirefox
</p>
<h2>
<a href="#dependencies" rel="nofollow">
<span></span>
</a>
Dependencies
</h2>
<p>
<details>
<br>
<summary>
</p>
<pre><code>Show dependencies
</code></pre>
<p>
<br>
<ul>
<br>
</ul>
<br>
<h2>
<a href="#no-member-variables-in-this-class" rel="nofollow">
<span></span>
</a>
No member variables in this class
</h2>
<h2>
<a href="#methods" rel="nofollow">
<span></span>
</a>
Methods
</h2>
<h3>
<a href="#main-src" rel="nofollow">
<span></span>
</a>
main
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java#L23" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: void
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| args | String[] | |
</p>
<h3>
<a href="#unpackprofile-src" rel="nofollow">
<span></span>
</a>
unpackProfile
<a href="src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java#L37" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: unpack the profile directory
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
return: true if the profile directory was successfully unpacked
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| profileDirectory | String | |
<br>
| mode | String | |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1121,21 +1122,18 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
I2P
<a href="#hide">
Hide license
</a>
</div>
</body>
</html>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img src="i2plogo.png"></img>
I2P
</a>
</div>

View File

@ -7,7 +7,7 @@ Description:
> I2PChromiumProfileUnpacker.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PChromiumProfileUnpacker is a that unpacks the Chromium profile zip file into the Chromium base profile directory. This is not used by the Chromium browser instance it's unpacked to the disk to be copied to the active profile directory.
Author: idk
Parent class: I2PChromiumProfileBuilder
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
@ -36,7 +36,7 @@ package: net.i2p.i2pfirefox
| args | String[] | |
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java#L38)
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java#L37)
+ Description: unpack the profile directory
+ Access: public

File diff suppressed because it is too large Load Diff

199
I2PCommonBrowser.md Normal file
View File

@ -0,0 +1,199 @@
# Class I2PCommonBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java)
>
Access: public
Description:
> I2PCommonBrowser.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Author: idk
package: net.i2p.i2pfirefox
## Dependencies
<details>
<summary>
Show dependencies
</summary>
<ul>
<li>java.io.File</li>
<li>java.io.FileInputStream</li>
<li>java.io.FileOutputStream</li>
<li>java.io.IOException</li>
<li>java.io.InputStream</li>
<li>java.io.OutputStream</li>
<li>java.nio.file.Files</li>
<li>java.nio.file.StandardCopyOption</li>
<li>java.util.logging.FileHandler</li>
<li>java.util.logging.Logger</li>
<li>java.util.logging.SimpleFormatter</li>
<li>java.util.zip.ZipEntry</li>
<li>java.util.zip.ZipInputStream</li>
</ul>
</details>
## Member Variables
## Methods
### validateUserDir [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L52)
+ Description:
+ Access: public
+ Modifiers: static
+ return: void
This method has no parameters.
### isWindows [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L98)
+ Description:
+ Access: protected
+ Modifiers: static
+ return: boolean
This method has no parameters.
### println [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L110)
+ Description:
+ Access: public
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| line | String | |
### logFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L112)
+ Description:
+ Access: private
+ Modifiers: static
+ return: File
This method has no parameters.
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L128)
+ Description: get the runtime directory creating it if create=true
+ Access: protected
+ Modifiers: static
+ return: the runtime directory or null if it could not be created
| Name | Type | Description |
| ----- | ----- | ----- |
| create | boolean | if true create the runtime directory if it does not exist |
| override | String | |
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L145)
+ Description: get the correct runtime directory
+ Access: protected
+ Modifiers: static
+ return: the runtime directory or null if it could not be created or found
| Name | Type | Description |
| ----- | ----- | ----- |
| override | String | |
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L192)
+ Description: get the profile directory creating it if necessary
+ Access: protected
+ Modifiers: static
+ return: the profile directory or null if it could not be created
| Name | Type | Description |
| ----- | ----- | ----- |
| envVar | String | |
| browser | String | |
### profileDir [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L204)
+ Description:
+ Access: protected
+ Modifiers: static
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| file | String | |
| browser | String | |
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L210)
+ Description:
+ Access: protected
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| profileDirectory | String | |
| browser | String | |
| base | String | |
### copyDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L256)
+ Description:
+ Access: protected
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| sourceDirectory | File | |
| destinationDirectory | File | |
| browser | String | |
| base | String | |
### copyDirectoryCompatibityMode [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L272)
+ Description:
+ Access: private
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| source | File | |
| destination | File | |
| browser | String | |
| base | String | |
### copyFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L281)
+ Description:
+ Access: private
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| sourceFile | File | |
| destinationFile | File | |
### validateProfileFirstRun [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L292)
+ Description:
+ Access: public
+ Modifiers: static
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| profileDirectory | String | |

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@ Description:
> I2PFirefox.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Author: idk
Parent class: I2PFirefoxProfileUnpacker
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
@ -18,17 +18,10 @@ package: net.i2p.i2pfirefox
</summary>
<ul>
<li>java.io.File</li>
<li>java.io.FileOutputStream</li>
<li>java.io.FileWriter</li>
<li>java.io.IOException</li>
<li>java.io.OutputStream</li>
<li>java.io.PrintWriter</li>
<li>java.net.Socket</li>
<li>java.util.ArrayList</li>
<li>java.util.Arrays</li>
<li>java.util.List</li>
<li>java.util.concurrent.TimeUnit</li>
<li>java.util.stream.Collectors</li>
<li>java.util.stream.Stream</li>
</ul>
</details>
@ -41,7 +34,14 @@ package: net.i2p.i2pfirefox
+ Access: private
+ Modifiers: final
#### Process process [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L)
#### int DEFAULT_TIMEOUT [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L)
>
+ Access: private
+ Modifiers: final
#### Process p [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L)
>
@ -52,136 +52,91 @@ package: net.i2p.i2pfirefox
>
+ Access: public
+ Modifiers: static
## Methods
### baseMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L35)
### FIND_FIREFOX_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L46)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### FIND_FIREFOX_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L61)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### FIND_FIREFOX_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L78)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### FIND_ALL_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L114)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### FIND_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L134)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### NEARBY_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L148)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### FIREFOX_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L204)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String[]
This method has no parameters.
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L216)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String
This method has no parameters.
### storeFirefoxDefaults [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L58)
+ Description:
+ Access: public
+ return: void
This method has no parameters.
### firefoxPathsUnix [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L87)
+ Description:
+ Access: public
+ return: String[]
This method has no parameters.
### firefoxBinsUnix [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L96)
+ Description:
+ Access: public
+ return: String[]
This method has no parameters.
### FIND_FIREFOX_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L113)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### firefoxPathsOSX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L126)
+ Description:
+ Access: public
+ return: String[]
This method has no parameters.
### FIND_FIREFOX_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L136)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### firefoxPathsWindows [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L149)
+ Description:
+ Access: public
+ return: String[]
This method has no parameters.
### firefoxBinsWindows [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L182)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### FIND_FIREFOX_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L192)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### FIND_ALL_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L206)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### FIND_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L226)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### NEARBY_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L241)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### FIREFOX_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L337)
+ Description:
+ Access: private
+ return: String[]
This method has no parameters.
### onlyValidFirefoxes [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L358)
### onlyValidFirefoxes [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L238)
+ Description: Check our list of firefox paths for a valid firefox binary. Just an existence check for now but should check versions in the future.
+ Access: public
@ -190,7 +145,7 @@ This method has no parameters.
This method has no parameters.
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L379)
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L258)
+ Description: Return the best available Firefox from the list of Firefoxes we have.
+ Access: public
@ -199,7 +154,7 @@ This method has no parameters.
This method has no parameters.
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L409)
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L287)
+ Description: Return the best available Firefox from the list of Firefoxes we have. if override is passed it will be validated and if it validates it will be used.
+ Access: public
@ -210,7 +165,7 @@ This method has no parameters.
| overrideFirefox | String | |
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L427)
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L305)
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
+ Access: public
@ -219,7 +174,7 @@ This method has no parameters.
This method has no parameters.
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L439)
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L317)
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
+ Access: public
@ -230,7 +185,7 @@ This method has no parameters.
| args | String[] | the args to pass to the Firefox binary |
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L453)
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L331)
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
+ Access: public
@ -239,7 +194,7 @@ This method has no parameters.
This method has no parameters.
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L466)
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L344)
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
+ Access: public
@ -250,27 +205,7 @@ This method has no parameters.
| args | String[] | the arguments to pass to the Firefox binary |
### appProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L489)
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
+ Access: public
+ return: a ProcessBuilder for the top Firefox binary and the default profile.
This method has no parameters.
### appProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L502)
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
+ Access: public
+ return: ProcessBuilder
| Name | Type | Description |
| ----- | ----- | ----- |
| args | String[] | the arguments to pass to the Firefox binary |
### headlessProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L523)
### headlessProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L366)
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --headless flag to open without a window.
+ Access: public
@ -281,19 +216,75 @@ This method has no parameters.
| args | String[] | the arguments to pass to the Firefox binary |
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L551)
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L389)
+ Description:
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile with a specific set of extended arguments.
+ Access: public
+ return: ProcessBuilder
+ return: a ProcessBuilder for the top Firefox binary and default profile with a specific set of extended arguments.
| Name | Type | Description |
| ----- | ----- | ----- |
| args | String[] | |
| app | boolean | |
| args | String[] | the extended arguments to pass to the Firefox binary. |
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L682)
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L422)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
This method has no parameters.
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L432)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L444)
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
| port | int | the port to wait for the proxy to be ready on. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L457)
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
| port | int | the port to wait for the proxy to be ready on. |
| host | String | the host to wait for the proxy to be ready on. |
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L471)
+ Description:
+ Access: private
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| port | int | |
| host | String | |
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L481)
+ Description:
+ Access: private
@ -302,7 +293,7 @@ This method has no parameters.
This method has no parameters.
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L688)
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L488)
+ Description:
+ Access: public
@ -314,19 +305,7 @@ This method has no parameters.
| url | String[] | |
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L694)
+ Description:
+ Access: public
+ return: Process
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | int | |
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L786)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L560)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
+ Access: public
@ -338,19 +317,7 @@ This method has no parameters.
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L792)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | int | |
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L818)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L584)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
+ Access: public
@ -361,7 +328,7 @@ This method has no parameters.
| privateWindow | boolean | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L828)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L594)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory. Uses a semi-permanent profile.
+ Access: public
@ -370,10 +337,11 @@ This method has no parameters.
This method has no parameters.
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L830)
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L596)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String
| Name | Type | Description |
@ -381,7 +349,7 @@ This method has no parameters.
| inUrl | String | |
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L841)
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L607)
+ Description:
+ Access: public
@ -393,3 +361,15 @@ This method has no parameters.
| args | String[] | |
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L636)
+ Description:
+ Access: private
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| millis | int | |

View File

@ -1,491 +1,473 @@
<html>
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="BUILD.html">
BUILD
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf.html
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
</a>
</li>
<li>
<a href="OSX.html">
OSX
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
</div>
<a id="returnhome" href="/">
/
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
</head>
<body>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
<h1>
Class I2PFirefoxProfileBuilder
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br />
Description:
<br />
&gt; I2PFirefoxProfileBuilder.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PFirefoxProfileBuilder is a that builds a profile directory which contains the I2P browser profile for the Firefox browser family. It manages the base profile directory and copies it&rsquo;s contents to the active profile directory which is actually used by Firefox.
</p>
<p>
Author: idk
<br />
Parent class: I2PFirefoxProfileChecker
<br />
package: net.i2p.i2pfirefox
</p>
<h2>
Dependencies
</h2>
<p>
<details>
<br />
<summary>
<br />
Show dependencies
<br />
</summary>
<br />
<ul>
<br />
<li>
java.io.File
</li>
<li>
java.io.IOException
</li>
<li>
java.nio.file.Files
</li>
<li>
java.nio.file.StandardCopyOption
</li>
</ul>
<br />
</details>
</p>
<h2>
Member Variables
</h2>
<h4>
boolean strict
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L">
[src]
</a>
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br />
</li>
</ul>
<h2>
Methods
</h2>
<h3>
userChromeCSS
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L28">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: private
<br />
</li>
<li>
return: String
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
baseProfileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L125">
[src]
</a>
</h3>
<ul>
<li>
Description: get the base profile directory creating it if necessary
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: String
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| base | String | |
</p>
<h3>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L149">
[src]
</a>
</h3>
<ul>
<li>
Description: get the runtime directory creating it if create=true
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: the runtime directory or null if it could not be created
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| create | boolean | if true create the runtime directory if it does not exist |
</p>
<h3>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L160">
[src]
</a>
</h3>
<ul>
<li>
Description: get the correct runtime directory
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: the runtime directory or null if it could not be created or found
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
copyBaseProfiletoProfile
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L180">
[src]
</a>
</h3>
<ul>
<li>
Description: Copy the inert base profile directory to the runtime profile directory
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: boolean
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| base | String | |
<br />
| app | boolean | |
</p>
<h3>
writeAppChrome
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L213">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: protected
<br />
</li>
<li>
return: boolean
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| profile | String | |
</p>
<h3>
deleteAppChrome
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L226">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: protected
<br />
</li>
<li>
return: boolean
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| profile | String | |
</p>
<h3>
copyStrictOptions
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L241">
[src]
</a>
</h3>
<ul>
<li>
Description: Copy the strict options from the base profile to the profile
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: true if successful false otherwise
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| base | String | |
<br />
| app | boolean | |
</p>
<h3>
setupUserChrome
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L276">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: void
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| profileDir | File | |
<br />
| app | boolean | |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pfirefoxprofilebuilder-src" rel="nofollow">
<span></span>
</a>
Class I2PFirefoxProfileBuilder
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java" rel="nofollow">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br>
Description:
</p>
<blockquote>
<p>
I2PFirefoxProfileBuilder.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com" rel="nofollow">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PFirefoxProfileBuilder is a that builds a profile directory which contains the I2P browser profile for the Firefox browser family. It manages the base profile directory and copies it&#39;s contents to the active profile directory which is actually used by Firefox.
</p>
</blockquote>
<p>
Author: idk
<br>
Parent class: I2PCommonBrowser
<br>
package: net.i2p.i2pfirefox
</p>
<h2>
<a href="#dependencies" rel="nofollow">
<span></span>
</a>
Dependencies
</h2>
<p>
<details>
<br>
<summary>
</p>
<pre><code>Show dependencies
</code></pre>
<p>
<br>
<ul>
<br>
<li>
java.io.File
</li>
<li>
java.nio.file.Files
</li>
<li>
java.nio.file.StandardCopyOption
</li>
</ul>
<br>
<h2>
<a href="#member-variables" rel="nofollow">
<span></span>
</a>
Member Variables
</h2>
<h4>
<a href="#boolean-strict-src" rel="nofollow">
<span></span>
</a>
boolean strict
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L" rel="nofollow">
[src]
</a>
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br>
</li>
<li>
Modifiers: static
</li>
</ul>
<h2>
<a href="#methods" rel="nofollow">
<span></span>
</a>
Methods
</h2>
<h3>
<a href="#profiledirectory-src" rel="nofollow">
<span></span>
</a>
profileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L33" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: get the profile directory creating it if necessary
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: String
<br>
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
<a href="#baseprofiledir-src" rel="nofollow">
<span></span>
</a>
baseProfileDir
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L37" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: private
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: String
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| file | String | |
<br>
| base | String | |
</p>
<h3>
<a href="#baseprofiledirectory-src" rel="nofollow">
<span></span>
</a>
baseProfileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L57" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: get the base profile directory creating it if necessary
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: String
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| base | String | |
</p>
<h3>
<a href="#runtimedirectory-src" rel="nofollow">
<span></span>
</a>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L81" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: get the runtime directory creating it if create=true
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: the runtime directory or null if it could not be created
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| create | boolean | if true create the runtime directory if it does not exist |
</p>
<h3>
<a href="#runtimedirectory-src" rel="nofollow">
<span></span>
</a>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L92" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: get the correct runtime directory
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: the runtime directory or null if it could not be created or found
<br>
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
<a href="#copybaseprofiletoprofile-src" rel="nofollow">
<span></span>
</a>
copyBaseProfiletoProfile
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L112" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: Copy the inert base profile directory to the runtime profile directory
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: boolean
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| base | String | |
</p>
<h3>
<a href="#copystrictoptions-src" rel="nofollow">
<span></span>
</a>
copyStrictOptions
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L151" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: Copy the strict options from the base profile to the profile
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: true if successful false otherwise
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| base | String | |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1328,21 +1310,18 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
I2P
<a href="#hide">
Hide license
</a>
</div>
</body>
</html>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img src="i2plogo.png"></img>
I2P
</a>
</div>

View File

@ -7,7 +7,7 @@ Description:
> I2PFirefoxProfileBuilder.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PFirefoxProfileBuilder is a that builds a profile directory which contains the I2P browser profile for the Firefox browser family. It manages the base profile directory and copies it's contents to the active profile directory which is actually used by Firefox.
Author: idk
Parent class: I2PFirefoxProfileChecker
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
@ -18,7 +18,6 @@ package: net.i2p.i2pfirefox
</summary>
<ul>
<li>java.io.File</li>
<li>java.io.IOException</li>
<li>java.nio.file.Files</li>
<li>java.nio.file.StandardCopyOption</li>
</ul>
@ -31,22 +30,38 @@ package: net.i2p.i2pfirefox
>
+ Access: private
+ Modifiers: static
## Methods
### userChromeCSS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L28)
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L33)
+ Description:
+ Access: private
+ Description: get the profile directory creating it if necessary
+ Access: public
+ Modifiers: static
+ return: String
This method has no parameters.
### baseProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L125)
### baseProfileDir [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L37)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| file | String | |
| base | String | |
### baseProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L57)
+ Description: get the base profile directory creating it if necessary
+ Access: public
+ Modifiers: static
+ return: String
| Name | Type | Description |
@ -54,10 +69,11 @@ This method has no parameters.
| base | String | |
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L149)
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L81)
+ Description: get the runtime directory creating it if create=true
+ Access: public
+ Modifiers: static
+ return: the runtime directory or null if it could not be created
| Name | Type | Description |
@ -65,70 +81,37 @@ This method has no parameters.
| create | boolean | if true create the runtime directory if it does not exist |
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L160)
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L92)
+ Description: get the correct runtime directory
+ Access: public
+ Modifiers: static
+ return: the runtime directory or null if it could not be created or found
This method has no parameters.
### copyBaseProfiletoProfile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L180)
### copyBaseProfiletoProfile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L112)
+ Description: Copy the inert base profile directory to the runtime profile directory
+ Access: public
+ Modifiers: static
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| base | String | |
| app | boolean | |
### writeAppChrome [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L213)
+ Description:
+ Access: protected
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| profile | String | |
### deleteAppChrome [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L226)
+ Description:
+ Access: protected
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| profile | String | |
### copyStrictOptions [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L241)
### copyStrictOptions [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L151)
+ Description: Copy the strict options from the base profile to the profile
+ Access: public
+ Modifiers: static
+ return: true if successful false otherwise
| Name | Type | Description |
| ----- | ----- | ----- |
| base | String | |
| app | boolean | |
### setupUserChrome [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L276)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| profileDir | File | |
| app | boolean | |

View File

@ -43,22 +43,11 @@ package: net.i2p.i2pfirefox
| args | String[] | |
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L53)
+ Description: get the profile directory creating it if necessary
+ Access: public
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| app | boolean | |
| base | String | |
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L64)
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L53)
+ Description: Return true if the profile directory is valid.
+ Access: public
+ Modifiers: static
+ return: true if the profile directory is valid false otherwise
| Name | Type | Description |
@ -66,10 +55,11 @@ package: net.i2p.i2pfirefox
| profileDirectory | String | the profile directory to check |
### deRestrictHTTPSAndSetupHomepage [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L97)
### deRestrictHTTPSAndSetupHomepage [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L86)
+ Description:
+ Access: private
+ Modifiers: static
+ return: boolean
| Name | Type | Description |
@ -77,10 +67,11 @@ package: net.i2p.i2pfirefox
| profile | String | |
### undoHttpsOnlyMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L120)
### undoHttpsOnlyMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L109)
+ Description:
+ Access: private
+ Modifiers: static
+ return: boolean
| Name | Type | Description |
@ -88,10 +79,11 @@ package: net.i2p.i2pfirefox
| fileToBeModified | File | |
### undoHomepage [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L126)
### undoHomepage [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L115)
+ Description:
+ Access: private
+ Modifiers: static
+ return: boolean
| Name | Type | Description |
@ -99,10 +91,11 @@ package: net.i2p.i2pfirefox
| fileToBeModified | File | |
### undoValue [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L149)
### undoValue [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L137)
+ Description:
+ Access: public
+ Access: private
+ Modifiers: static
+ return: boolean
| Name | Type | Description |
@ -112,10 +105,11 @@ package: net.i2p.i2pfirefox
| fileToBeModified | File | |
### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L183)
### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L171)
+ Description: Return true if the file is valid.
+ Access: public
+ Modifiers: static
+ return: true if the file is valid false otherwise
| Name | Type | Description |
@ -123,10 +117,11 @@ package: net.i2p.i2pfirefox
| file | String | the file to check |
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L210)
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L198)
+ Description: Return true if the extension directory is valid.
+ Access: public
+ Modifiers: static
+ return: true if the extension directory is valid false otherwise
| Name | Type | Description |

View File

@ -1,288 +1,289 @@
<html>
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="BUILD.html">
BUILD
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf.html
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
</a>
</li>
<li>
<a href="OSX.html">
OSX
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
</div>
<a id="returnhome" href="/">
/
<head>
<title>
i2p.plugins.fire...
</title>
<meta name="author" content="eyedeekay" />
<meta name="description" content="i2p.plugins.firefox" />
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
</head>
<body>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
<h1>
Class I2PFirefoxProfileUnpacker
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br />
Description:
<br />
&gt; I2PFirefoxProfileUnpacker.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PFirefoxProfileUnpacker is a that unpacks the I2P Firefox profile from a zip file embedded in the
<code>
jar
</code>
file. The zip is unpacked to a base directory where it is left untouched and the base profile is copied to the active profile directory.
</p>
<p>
Author: idk
<br />
Parent class: I2PFirefoxProfileBuilder
<br />
package: net.i2p.i2pfirefox
</p>
<h2>
Dependencies
</h2>
<p>
<details>
<br />
<summary>
<br />
Show dependencies
<br />
</summary>
<br />
<ul>
<br />
</ul>
<br />
</details>
</p>
<h2>
No member variables in this class
</h2>
<h2>
Methods
</h2>
<h3>
main
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java#L23">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
Modifiers: static
</li>
<li>
return: void
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| args | String[] | |
</p>
<h3>
unpackProfile
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java#L38">
[src]
</a>
</h3>
<ul>
<li>
Description: unpack the profile directory
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: true if the profile directory was successfully unpacked
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| profileDirectory | String | |
<br />
| base | String | |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pfirefoxprofileunpacker-src" rel="nofollow">
<span></span>
</a>
Class I2PFirefoxProfileUnpacker
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java" rel="nofollow">
[src]
</a>
</h1>
<blockquote>
<p>
*/
</p>
</blockquote>
<p>
Access: public
<br>
Description:
</p>
<blockquote>
<p>
I2PFirefoxProfileUnpacker.java Copyright C 2022 idk
<a href="mailto:hankhill19580@gmail.com" rel="nofollow">
hankhill19580@gmail.com
</a>
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PFirefoxProfileUnpacker is a that unpacks the I2P Firefox profile from a zip file embedded in the
<code>
jar
</code>
file. The zip is unpacked to a base directory where it is left untouched and the base profile is copied to the active profile directory.
</p>
</blockquote>
<p>
Author: idk
<br>
Parent class: I2PCommonBrowser
<br>
package: net.i2p.i2pfirefox
</p>
<h2>
<a href="#dependencies" rel="nofollow">
<span></span>
</a>
Dependencies
</h2>
<p>
<details>
<br>
<summary>
</p>
<pre><code>Show dependencies
</code></pre>
<p>
<br>
<ul>
<br>
</ul>
<br>
<h2>
<a href="#no-member-variables-in-this-class" rel="nofollow">
<span></span>
</a>
No member variables in this class
</h2>
<h2>
<a href="#methods" rel="nofollow">
<span></span>
</a>
Methods
</h2>
<h3>
<a href="#main-src" rel="nofollow">
<span></span>
</a>
main
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java#L23" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: void
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| args | String[] | |
</p>
<h3>
<a href="#unpackprofile-src" rel="nofollow">
<span></span>
</a>
unpackProfile
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java#L37" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description: unpack the profile directory
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
return: true if the profile directory was successfully unpacked
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| profileDirectory | String | |
<br>
| base | String | |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1125,21 +1126,18 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
I2P
<a href="#hide">
Hide license
</a>
</div>
</body>
</html>
</div>
</div>
<div>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div>
<div>
<a href="https://geti2p.net/">
<img src="i2plogo.png"></img>
I2P
</a>
</div>

View File

@ -7,7 +7,7 @@ Description:
> I2PFirefoxProfileUnpacker.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I2PFirefoxProfileUnpacker is a that unpacks the I2P Firefox profile from a zip file embedded in the `jar` file. The zip is unpacked to a base directory where it is left untouched and the base profile is copied to the active profile directory.
Author: idk
Parent class: I2PFirefoxProfileBuilder
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
@ -36,7 +36,7 @@ package: net.i2p.i2pfirefox
| args | String[] | |
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java#L38)
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java#L37)
+ Description: unpack the profile directory
+ Access: public

1667
I2PGenericUnsafeBrowser.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -18,15 +18,10 @@ package: net.i2p.i2pfirefox
</summary>
<ul>
<li>java.io.File</li>
<li>java.io.FileOutputStream</li>
<li>java.io.IOException</li>
<li>java.io.OutputStream</li>
<li>java.net.Socket</li>
<li>java.util.ArrayList</li>
<li>java.util.Arrays</li>
<li>java.util.List</li>
<li>java.util.Scanner</li>
<li>java.util.stream.Collectors</li>
</ul>
</details>
@ -44,6 +39,7 @@ package: net.i2p.i2pfirefox
>
+ Access: public
+ Modifiers: static
#### Process p [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L)
@ -53,64 +49,33 @@ package: net.i2p.i2pfirefox
## Methods
### getDefaultWindowsBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L101)
### getDefaultWindowsBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L90)
+ Description: Obtains the default browser for the Windows platform which by now should be Edgium in the worst-case scenario but in case it isn't we can use this function to figure it out. It can find: 1. The current user's HTTPS default browser if they configured it to be non-default 2. The current user's HTTP default browser if they configured it to be non-default 3. Edgium if it's available 4. iexplore if it's not and it will return the first one we find in exactly that order. Adapted from:
+ Description: Obtains the default browser for the Windows platform which by now should be Edgium in the worst-case scenario but in case it isn't we can use this function to figure it out. It can find: 1. The current user's HTTPS default browser if they configured it to be non-default 2. The current user's HTTP default browser if they configured it to be non-default 3. Edgium if it's available 4. iexplore if it's not and it will return the first one we find in exactly that order. Adapted from: and from:
+ Access: public
+ return: path to command[0] and target URL[1] to the default browser ready for execution or null if not found
+ Modifiers: static
+ return: String
This method has no parameters.
### registryQuery [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L142)
### getDefaultOutOfRegistry [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L118)
+ Description: obtains a value matching a key contained in the windows registry at a path represented by hkeyquery
+ Access: private
+ return: either a registry "Default" value or null if one does not exist/is empty
| Name | Type | Description |
| ----- | ----- | ----- |
| hkeyquery | String | registry entry to ask for. |
| key | String | key to retrieve value from |
### followUserConfiguredBrowserToCommand [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L180)
+ Description: If following a query back to the Default value doesn't work then what we have is a "ProgID" which will be registered in \HKEY_CLASSES_ROOT\%ProgId% and will have an entry \shell\open\command where \shell\open\command yields the value that contains the command it needs. This function takes a registry query in the same format as getDefaultOutOfRegistry but instead of looking for the default entry
+ Access: private
+ return: the command required to run the application referenced in hkeyquery or null
| Name | Type | Description |
| ----- | ----- | ----- |
| hkeyquery | String | |
### followProgIdToCommand [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L196)
+ Description: Cross-references a progId obtained by followUserConfiguredBrowserToCommand against HKEY_CLASSES_ROOT\%ProgId%\shell\open\command which holds the value of the command which we need to run to launch the default browser.
+ Access: private
+ return: the command required to run the application referenced in hkeyquery or null
| Name | Type | Description |
| ----- | ----- | ----- |
| progid | String | |
### getDefaultOutOfRegistry [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L215)
+ Description: obtains a default browsing command out of the Windows registry.
+ Access: private
+ return: either a registry "Default" value or null if one does not exist/is empty
+ Description: obtains information out of the Windows registry.
+ Access: public
+ Modifiers: static
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| hkeyquery | String | registry entry to ask for. |
### scanAPath [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L230)
### scanAPath [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L144)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String
| Name | Type | Description |
@ -118,37 +83,41 @@ This method has no parameters.
| dir | String | |
### getAnyUnixBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L245)
### getAnyUnixBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L159)
+ Description: Find any browser in our list within a UNIX path
+ Access: public
+ Modifiers: static
+ return: String
This method has no parameters.
### findUnsafeBrowserAnywhere [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L264)
### findUnsafeBrowserAnywhere [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L178)
+ Description: Find any usable browser and output the whole path
+ Access: public
+ Modifiers: static
+ return: String
This method has no parameters.
### deleteRuntimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L325)
### deleteRuntimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L229)
+ Description: delete the runtime directory
+ Access: public
+ Modifiers: static
+ return: boolean
This method has no parameters.
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L341)
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L245)
+ Description: get the runtime directory creating it if create=true
+ Access: public
+ Modifiers: static
+ return: the runtime directory or null if it could not be created
| Name | Type | Description |
@ -156,16 +125,62 @@ This method has no parameters.
| create | boolean | if true create the runtime directory if it does not exist |
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L353)
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L256)
+ Description: get the correct runtime directory
+ Access: public
+ Modifiers: static
+ return: the runtime directory or null if it could not be created or found
This method has no parameters.
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L368)
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L278)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
This method has no parameters.
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L288)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L300)
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
| port | int | the port to wait for the proxy to be ready on. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L314)
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
| port | int | the port to wait for the proxy to be ready on. |
| host | String | the host to wait for the proxy to be ready on. |
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L328)
+ Description:
+ Access: public
@ -177,7 +192,7 @@ This method has no parameters.
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L390)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L350)
+ Description:
+ Access: public
@ -189,10 +204,23 @@ This method has no parameters.
| url | String[] | |
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L408)
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L367)
+ Description:
+ Access: private
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| millis | int | |
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L375)
+ Description:
+ Access: private
+ Modifiers: static
+ return: String
| Name | Type | Description |
@ -200,15 +228,15 @@ This method has no parameters.
| inUrl | String | |
### main [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L419)
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L385)
+ Description:
+ Access: public
+ Modifiers: static
+ return: void
+ Access: private
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| args | String[] | |
| port | int | |
| host | String | |

File diff suppressed because it is too large Load Diff

0
LICENSE.md Normal file → Executable file
View File

View File

@ -23,23 +23,18 @@
</a>
</li>
<li>
<a href=""></a>
<a href="index.html">
index
</a>
</li>
<li>
<a href=""></a>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href=""></a>
</li>
<li>
<a href=""></a>
</li>
<li>
<a href=""></a>
</li>
<li>
<a href="BUILD.html">
BUILD
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
@ -47,11 +42,6 @@
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
@ -103,23 +93,28 @@
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="OSX.html">
OSX
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
@ -134,415 +129,249 @@
/
</a>
<h1>
Class I2PBrowserPlugin
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java">
[src]
<a href="#packages-for-various-operating-systems" rel="nofollow">
<span></span>
</a>
Packages for various operating systems
</h1>
<blockquote></blockquote>
<p>
Access: public
<br />
Parent class: I2PBrowser
<br />
Interfaces:
<br />
- ClientApp
</p>
<p>
package: net.i2p.i2pfirefox
</p>
<h2>
Dependencies
<a href="#making-a-new-release" rel="nofollow">
<span></span>
</a>
Making a new release:
</h2>
<p>
<details>
<br />
<summary>
<br />
Show dependencies
<br />
</summary>
<br />
<ul>
<br />
<li>
java.io.File
</li>
<li>
java.io.IOException
</li>
<li>
java.util.logging.FileHandler
</li>
<li>
java.util.logging.Logger
</li>
<li>
java.util.logging.SimpleFormatter
</li>
<li>
net.i2p.I2PAppContext
</li>
<li>
net.i2p.app.ClientApp
</li>
<li>
net.i2p.app.ClientAppManager
</li>
<li>
net.i2p.app.ClientAppState
</li>
<li>
net.i2p.util.EepGet
</li>
</ul>
<br />
</details>
Releases can be created in a mostly automatic way. With a working Java toolchain
including jpackage installed:
</p>
<ol>
<li>
Set a
<code>
GITHUB_TOKEN
</code>
in the environment containing an API key.
</li>
<li>
Update the version number(
<code>
GITHUB_TAG
</code>
) and version title(
<code>
GITHUB_NAME
</code>
) in
<code>
config.sh
</code>
</li>
<li>
On a Linux machine, run
<code>
./release.sh
</code>
</li>
<li>
On a Windows machine, run
<code>
./windows-release.sh
</code>
</li>
</ol>
<h2>
<a href="#windows" rel="nofollow">
<span></span>
</a>
Windows
</h2>
<p>
All Windows packages require building on a Windows machine. In order to build
them, check out i2p.firefox in an adjacent directory and
<code>
source
</code>
i2p.firefox/config.sh
to set the path to the Java toolchain you want to use.
</p>
<p>
run:
<code>
ant jar
</code>
before any of these scripts.
</p>
<p>
run:
<code>
windows-release.sh
</code>
only
<em>
after
</em>
release.sh on a Linux machine.
</p>
<h3>
<a href="#msi" rel="nofollow">
<span></span>
</a>
MSI
</h3>
<p>
Requires the Wixl toolset.
</p>
<h4>
<a href="#status-works-maintained" rel="nofollow">
<span></span>
</a>
Status: Works. Maintained.
</h4>
<p>
run:
<code>
./windows.sh
</code>
</p>
<h4>
<a href="#exe" rel="nofollow">
<span></span>
</a>
EXE
</h4>
<p>
No special requirements.
</p>
<h4>
<a href="#status-works-maintained" rel="nofollow">
<span></span>
</a>
Status: Works. Maintained.
</h4>
<p>
run:
<code>
./windows-exe.sh
</code>
</p>
<h3>
<a href="#portable-zip" rel="nofollow">
<span></span>
</a>
Portable(.zip)
</h3>
<p>
No special requirements.
</p>
<h4>
<a href="#status-unknown-maintained" rel="nofollow">
<span></span>
</a>
Status: Unknown. Maintained.
</h4>
<p>
run:
<code>
./windows-portable.sh
</code>
</p>
<h2>
Member Variables
<a href="#linux" rel="nofollow">
<span></span>
</a>
Linux
</h2>
<h4>
I2PAppContext context
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L">
[src]
<p>
All Linux packages require building on a Linux machines. Debian packages must
be built on Debian, Fedora packages must be built on Fedora. Some leeway for
derivative distros. Portable can be b build anywhere with a jpackage. Have
Java tools in your
<code>
PATH
</code>
.
</p>
<h3>
<a href="#debian" rel="nofollow">
<span></span>
</a>
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br />
</li>
<li>
Modifiers: final
</li>
</ul>
Debian
</h3>
<p>
Make sure you have a recent Java and jpackage.
</p>
<h4>
ClientAppManager cam
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L">
[src]
<a href="#status-works-maintained" rel="nofollow">
<span></span>
</a>
Status: Works. Maintained.
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br />
</li>
<li>
Modifiers: final
</li>
</ul>
<p>
run:
<code>
ant debian
</code>
</p>
<h3>
<a href="#fedora" rel="nofollow">
<span></span>
</a>
Fedora
</h3>
<p>
I&#39;m a Debian user and don&#39;t have a Fedora machine set up right now. Therefore,
I build Fedora packages in a container.
</p>
<p>
Fedora doesn&#39;t have a jpackage in their repositories as far as I can tell so I use
Adoptium&#39;s third-party repository to supply the JDK I use to build the fedora
package.
</p>
<h4>
String[] args
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L">
[src]
<a href="#status-unknown-maintained" rel="nofollow">
<span></span>
</a>
Status: Unknown. Maintained.
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br />
</li>
<li>
Modifiers: final
</li>
</ul>
<p>
run:
<code>
ant fedora
</code>
</p>
<h3>
<a href="#portable-zip" rel="nofollow">
<span></span>
</a>
Portable(.zip)
</h3>
<p>
Details are platform dependent. Same build-deps as everything else.
</p>
<h4>
boolean got
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L">
[src]
<a href="#status-works-maintained" rel="nofollow">
<span></span>
</a>
Status: Works. Maintained.
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br />
</li>
<li>
Modifiers: volatile
</li>
</ul>
<h4>
boolean shutdown
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L">
[src]
</a>
</h4>
<blockquote></blockquote>
<ul>
<li>
Access: private
<br />
</li>
<li>
Modifiers: volatile
</li>
</ul>
<p>
run:
<code>
ant jpackage
</code>
</p>
<h2>
Methods
<a href="#osx" rel="nofollow">
<span></span>
</a>
OSX
</h2>
<h3>
threadLogFile
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L30">
[src]
<a href="#todo" rel="nofollow">
<span></span>
</a>
TODO
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: private
<br />
</li>
<li>
return: File
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
getDisplayName
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L38">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: String
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
getName
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L39">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: String
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
shutdown
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L40">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: void
<br />
</li>
</ul>
<p>
| Name | Type | Description |
<br />
| &mdash;&ndash; | &mdash;&ndash; | &mdash;&ndash; |
<br />
| args | String[] | |
</p>
<h3>
downloadInBackground
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L50">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: private
<br />
</li>
<li>
return: void
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
startup
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L86">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: void
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
torrentDir
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L113">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: private
<br />
</li>
<li>
return: File
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
torrentFile
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L130">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: private
<br />
</li>
<li>
return: File
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
torrentFileContents
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L143">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: private
<br />
</li>
<li>
return: File
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
downloadTorrent
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L156">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: private
<br />
</li>
<li>
return: boolean
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<h3>
getState
<a href="src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java#L173">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br />
</li>
<li>
Access: public
<br />
</li>
<li>
return: ClientAppState
<br />
</li>
</ul>
<p>
This method has no parameters.
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>

91
PACKAGES.md Normal file
View File

@ -0,0 +1,91 @@
Packages for various operating systems
======================================
Making a new release:
---------------------
Releases can be created in a mostly automatic way. With a working Java toolchain
including jpackage installed:
0. Set a `GITHUB_TOKEN` in the environment containing an API key.
1. Update the version number(`GITHUB_TAG`) and version title(`GITHUB_NAME`) in `config.sh`
2. On a Linux machine, run `./release.sh`
3. On a Windows machine, run `./windows-release.sh`
Windows
-------
All Windows packages require building on a Windows machine. In order to build
them, check out i2p.firefox in an adjacent directory and `source` i2p.firefox/config.sh
to set the path to the Java toolchain you want to use.
run: `ant jar` before any of these scripts.
run: `windows-release.sh` only *after* release.sh on a Linux machine.
### MSI
Requires the Wixl toolset.
#### Status: Works. Maintained.
run: `./windows.sh`
#### EXE
No special requirements.
#### Status: Works. Maintained.
run: `./windows-exe.sh`
### Portable(.zip)
No special requirements.
#### Status: Unknown. Maintained.
run: `./windows-portable.sh`
Linux
-----
All Linux packages require building on a Linux machines. Debian packages must
be built on Debian, Fedora packages must be built on Fedora. Some leeway for
derivative distros. Portable can be b build anywhere with a jpackage. Have
Java tools in your `PATH`.
### Debian
Make sure you have a recent Java and jpackage.
#### Status: Works. Maintained.
run: `ant debian`
### Fedora
I'm a Debian user and don't have a Fedora machine set up right now. Therefore,
I build Fedora packages in a container.
Fedora doesn't have a jpackage in their repositories as far as I can tell so I use
Adoptium's third-party repository to supply the JDK I use to build the fedora
package.
#### Status: Unknown. Maintained.
run: `ant fedora`
### Portable(.zip)
Details are platform dependent. Same build-deps as everything else.
#### Status: Works. Maintained.
run: `ant jpackage`
OSX
---
### TODO

211
README.md Normal file → Executable file
View File

@ -1,6 +1,6 @@
# i2p.plugins.firefox
A port of the batch scripts from `i2p.firefox` to Java.
A port of the batch scripts from i2p.firefox to Java.
**Status:** This package is maintained. It cannot solve all your problems. Fingerprinting
is a reality in modern browsers. Exploits are too. This software attempts to provide a
@ -15,47 +15,14 @@ other system that exists underneath it. **It is just a profile manager.**
**[Windows users should see the Easy-Install Bundle](https://i2pgit.org/i2p-hackers/i2p.firefox)**
## Credits
This profile manager makes use of a set of browser extensions which are largely the work of others.
It makes use of dependencies that are the work of others. In many ways, it's merely an elaborate
configuration tool. A smart one, but a configuration tool nonetheless. Many thanks to the following
projects, developers, and communities:
### Firefox and Chrome Extensions
- [NoScript - Giorgio Maone and others](https://noscript.net)
- [HTTPS Everywhere - Electronic Frontier Foundation](https://www.eff.org/https-everywhere)
- [uBlock Origin - Raymond Gorhill and others](https://ublockorigin.com/)
- [LocalCDN - nobody and others](https://www.localcdn.org/)
- [jShelter - Libor Polčák and others](https://jshelter.org/)
### Firefox Configuration Modifiations
- [Arkenfox - Thorin Oakenpants and Others](https://github.com/arkenfox/user.js/)
You can find the license files for each of the these projects in the `src/i2p.firefox.*.profile/extensions/*`
directory for Firefox, and the `src/i2p.chromium.*.profile/extensions/*.js/*` directories for Chromium.
## Getting started
### Building the package:
- See: [BUILD.md](docs/BUILD.md)/[BUILD.html](docs/BUILD.html)
### Using a Binary
For platform specific instructions, see
- [LINUX.md](docs/LINUX.md)/[LINUX.html](docs/LINUX.html)
- [OSX.md](docs/OSX.md)/[OSX.html](docs/OSX.html)
- [WINDOWS.md](docs/WINDOWS.md)/[WINDOWS.html](docs/WINDOWS.html)
#### All platforms, using a zip: `.zip` and a non-bundled Java
```sh
mkdir ~/tmp-i2pfirefox && cd ~/tmp-i2pfirefox
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.3.0/i2pfirefox.zip
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.16/i2pfirefox.zip
unzip i2pfirefox.zip
./i2pfirefox.cmd
@ -63,3 +30,175 @@ unzip i2pfirefox.zip
./i2pchromium.cmd
```
### Build Dependencies
You will need `ant`, `java` and for building the Chromium profile, a Go application
called `crx3` which is used to interact with the Chrome app store. I've been using Java 17
on Debian mostly, on Debian and Ubuntu, install the dependencies with:
```sh
sudo apt-get install openjdk-17* ant golang-go
go install github.com/mediabuyerbot/go-crx3/crx3@latest
```
For Fedora, use Yum, for Arch use pacman or something else but make sure to tell everyone
about it. Once you have that installed, when building, make sure to add `$GOPATH/bin/`
to your `$PATH`.
```sh
export PATH=$PATH:$HOME/go/bin
```
Will almost always work.
### 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:
```sh
ant jar
```
To build just the jar. You'll know it worked if you can:
```sh
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:
```java
// Firefox Example
if (i2pIsRunning()) {
logger.warning("I2P is already running");
System.out.println("I2PFirefox");
I2PFirefox i2pFirefox = new I2PFirefox();
i2pFirefox.launch();
}
```
```java
// Chromium Example
if (i2pIsRunning()) {
logger.warning("I2P is already running");
System.out.println("I2PChromium");
I2PChromium i2pChromium = new I2PChromium();
i2pChromium.launch();
}
```
```java
// Auto-Select Example, chooses Firefox first, then Chromium
if (i2pIsRunning()) {
logger.warning("I2P is already running");
System.out.println("I2PBrowser");
I2PBrowser i2pBrowser = new I2PBrowser();
/*
* toggle chromium to the top of the order by doing:
I2PBrowser.chromiumFirst = true;
*
*/
i2pBrowser.launch(privateBrowsing);
}
```
to add a browser management tool to it.
### Browser Discovery Methods
This tool looks for browsers on the host system, creates a workspace to use for I2P
purposes, and launches the browser inside of that workspace. The details of the
workspace vary from browser to browser but roughly corresponds to a browser profile.
In order to be successful this tool uses 3 main types of browser discovery methods,
in this order:
1. "Local" discovery, where a browser is in a subdirectory of the directory where you
ran the launcher. This will only happen if the user unpacked a portable browser into
the same directory where they ran the launcher.
2. "Path-Based" discovery, where it scans common browser installation directories
until it finds one which it can use. On Unix, it simply scans the directories on the
`PATH` for a browser it knows about. On Windows, default paths to browser install
directories are hard-coded and included in the binary. This is what usually happens.
3. "System-Based" discovery, where it defers to the host system to make a choice
about the browser and counts on browser vendors to honor the system proxy environment
variables. This is a catch-all solution which works with most browsers, but does
not apply any customizations.
There is a little subtlety here though.
- The path to Edgium on Windows will **always** resolve during path-based discovery,
resulting in a positive test for Chromium when launching the browser in auto-select
mode. So Windows will never reach stage 3 unless expressly forced to. If Firefox or
a variant is installed, it will be chosen before Edgium unless directed otherwise.
- Linux is unaware of a Tor Browser path because Tor Browser is rarely, if ever,
installed on-path. What is on path is virtually always a wrapper for Tor Browser
which is installed either as the main user or it's own user. Linux will only use
Tor Browser if it's discovered in "Local" mode.
- The above is also true of OSX for now but doesn't have to remain so.
- I really only test Phase 3 with Dillo and Edgium. **YMMV.**
### Usability vs Strict
This is basically a profile-management tool geared toward minimizing the
differences between browser users which are passively discernible while
they are browsing I2P. It assumes that they are part of a highly fragmented
browsing environment where they are already unique, and therefore consolidation
on configuration is a goal. However, this goal sometimes also conflicts with
usability. To allow users a safe set of choices, we offer "Coarse" configuration
in 2 modes. We recommend that you do not deviate from these configurations if
you have browser application fingerprinting as a concern.
#### Usability Mode
TODO: description
Pros: Allows a restricted subset of Javascript
Pros: Less likely to try and reach the clearnet
Cons: Looks very different from Tor Browser
Cons: Plugin updates can create temporary uniqueness
##### Usability Extension Set
- **I2P In Private Browsing**
- **uMatrix**
- **jsRestrictor**
- **LocalCDN**
- **Onion in Container Tabs**
- **HTTPS EveryWhere** in some configurations
##### Usability user.js characteristics
TODO: Summarize differences
#### Strict Mode
TODO: description
Pros: Does not allow Javascript by default
Pros: Looks a lot like Tor Browser especially if you're using Tor Browser
Cons: More work to use
Cons: Temporary uniqueness can be created by enabling Javascript for specific sites
Cons: More likely to try and reach the clearnet
##### Strict Extension Set
- **NoScript**
- **I2P In Private Browsing**
- **HTTPS EveryWhere** in some configurations
##### Strict user.js characteristics
TODO: Summarize differences

View File

@ -8,216 +8,199 @@
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="BUILD.html">
BUILD
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf.html
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
</a>
</li>
<li>
<a href="OSX.html">
OSX
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
<a id="returnhome" href="/">
/
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#sums-for-release-0-0-31" rel="nofollow">
<span></span>
</a>
<h1>
Using this on OSX
</h1>
<p>
This code will launch an I2P-Configured Browser on OSX, but at this time
there are no packages for it because it&rsquo;s not possible for me to sign OSX
packages. You can use the
<code>
.jar
</code>
file with any Java greater than Java 8.
</p>
<pre><code class="language-sh">mkdir ~/tmp-i2pfirefox &amp;&amp; cd ~/tmp-i2pfirefox
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.3.0/i2pfirefox.zip
unzip i2pfirefox.zip
./cmd/i2pfirefox.cmd
#or if you want to use a Chromium
./cmd/i2pchromium.cmd
</code></pre>
<h2>
Building a
<code>
jpackage
</code>
</h2>
<p>
In order to build a
<code>
jpackage
</code>
, install at least Java 17. To set up Java
17 and configure it to be the Java used by the system for the rest of the
session, use these commands:
</p>
<pre><code class="language-sh">brew install openjdk@17
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
export JAVA_HOME=`/usr/libexec/java_home -v 17`
</code></pre>
<p>
Once you&rsquo;re finished, run
<code>
./osx-dmg.sh
</code>
in the repository root to produce a
<code>
.dmg
</code>
package.
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
Sums for release 0.0.31
</h1>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pfirefox.jar" rel="nofollow">
b4281b944433069681ece1124bf5ac1a527dcef9d29ce999ab0dac7a0bbee70e i2pfirefox.jar
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</li>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pfirefox.zip" rel="nofollow">
5b21bb74ce6715bd48bcc019a1165f1f27a15bd831c1a723d8b90f7cb82498df i2pfirefox.zip
</a>
</li>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.zip" rel="nofollow">
86b0ae9040d64651cc13027a9861d0fdf2afaac4a4cdb9cbef69e82cc92adb67 i2pbrowser.zip
</a>
</li>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser_0.0.31_.deb" rel="nofollow">
3a08a52a41463e0b5324101eb097f533bbac8b7db44964a2f90d305247320ecc i2pbrowser
<em>
0.0.31
</em>
.deb
</a>
</li>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser-0.0.31_.rpm" rel="nofollow">
67739c09653b52d8bdb75b2c742aa8c21a8a7c278b7c05e25957747afede218b i2pbrowser-0.0.31_.rpm
</a>
</li>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.msi" rel="nofollow">
f40ef6126af9fd93272c2935e1fb056a6aceb2dfbbb0aafe1847708c40a3220a i2pbrowser.msi
</a>
</li>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.exe" rel="nofollow">
33ecc96815f3e6934112f138b54bb64fde93565dcafae000d73b2539449f10ed i2pbrowser.exe
</a>
</li>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser-portable.zip" rel="nofollow">
6a620cd58fda291945fa010e3411fac817f2b9f87f572b67697de0e16e694efd i2pbrowser-portable.zip
</a>
</li>
</ul>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1060,10 +1043,9 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
@ -1072,7 +1054,7 @@ Public License instead of this License.
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
<img src="i2plogo.png"></img>
I2P
</a>
</div>

12
RELEASES.md Normal file
View File

@ -0,0 +1,12 @@
Sums for release 0.0.31
==============================
- [b4281b944433069681ece1124bf5ac1a527dcef9d29ce999ab0dac7a0bbee70e i2pfirefox.jar](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pfirefox.jar)
- [5b21bb74ce6715bd48bcc019a1165f1f27a15bd831c1a723d8b90f7cb82498df i2pfirefox.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pfirefox.zip)
- [86b0ae9040d64651cc13027a9861d0fdf2afaac4a4cdb9cbef69e82cc92adb67 i2pbrowser.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.zip)
- [3a08a52a41463e0b5324101eb097f533bbac8b7db44964a2f90d305247320ecc i2pbrowser_0.0.31_.deb](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser_0.0.31_.deb)
- [67739c09653b52d8bdb75b2c742aa8c21a8a7c278b7c05e25957747afede218b i2pbrowser-0.0.31_.rpm](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser-0.0.31_.rpm)
- [f40ef6126af9fd93272c2935e1fb056a6aceb2dfbbb0aafe1847708c40a3220a i2pbrowser.msi](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.msi)
- [33ecc96815f3e6934112f138b54bb64fde93565dcafae000d73b2539449f10ed i2pbrowser.exe](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.exe)
- [6a620cd58fda291945fa010e3411fac817f2b9f87f572b67697de0e16e694efd i2pbrowser-portable.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser-portable.zip)

View File

@ -8,209 +8,175 @@
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="docs/BUILD.html">
docs/BUILD
</a>
</li>
<li>
<a href="docs/I2PBrowser.html">
docs/I2PBrowser
</a>
</li>
<li>
<a href="docs/I2PBrowserPlugin.html">
docs/I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="docs/I2PChromium.html">
docs/I2PChromium
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileBuilder.html">
docs/I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileChecker.html">
docs/I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileUnpacker.html">
docs/I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="docs/I2PCommonBrowser.html">
docs/I2PCommonBrowser
</a>
</li>
<li>
<a href="docs/I2PFirefox.html">
docs/I2PFirefox
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileBuilder.html">
docs/I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileChecker.html">
docs/I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileUnpacker.html">
docs/I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="docs/I2PGenericUnsafeBrowser.html">
docs/I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="docs/I2PLibreWolf.html">
docs/I2PLibreWolf.html
</a>
</li>
<li>
<a href="docs/LINUX.html">
docs/LINUX
</a>
</li>
<li>
<a href="docs/OSX.html">
docs/OSX
</a>
</li>
<li>
<a href="docs/WINDOWS.html">
docs/WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
<a id="returnhome" href="/">
/
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#to-do-list" rel="nofollow">
<span></span>
</a>
<h1>
Extension Versions
</h1>
<h2>
Firefox
</h2>
<pre><code class="language-md">i2p-in-private-browsing
1.48
https://addons.mozilla.org/firefox/downloads/file/4123613/i2p_in_private_browsing-1.48.xpi
noscript
11.4.29
https://addons.mozilla.org/firefox/downloads/file/4206186/noscript-11.4.29.xpi
localcdn-fork-of-decentraleyes
2.6.64
https://addons.mozilla.org/firefox/downloads/file/4243456/localcdn_fork_of_decentraleyes-2.6.64.xpi
onion-in-container-browsing
0.82
https://addons.mozilla.org/firefox/downloads/file/3904685/onion_in_container_browsing-0.82.xpi
javascript-restrictor
0.17
https://addons.mozilla.org/firefox/downloads/file/4190089/javascript_restrictor-0.17.xpi
ublock-origin
1.56.0
https://addons.mozilla.org/firefox/downloads/file/4237670/ublock_origin-1.56.0.xpi
</code></pre>
<h2>
Chromium
</h2>
<pre><code class="language-md">__MSG_extensionName__
1.29
https://clients2.google.com/service/update2/crx
NoScript
11.4.18
https://clients2.google.com/service/update2/crx
LocalCDN
2.6.64
https://clients2.google.com/service/update2/crx
uBlock Origin
1.56.0
https://clients2.google.com/service/update2/crx
__MSG_extensionName__
0.17
https://clients2.google.com/service/update2/crx
</code></pre>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
To-Do List:
</h1>
<ol>
<li>
Decide on an GUI component for launching the browser/variants with the choices:
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
Launch $firefox_variant in I2P Mode
</li>
<li>
Launch $chromium_variant in I2P Mode
</li>
<li>
Launch system default browser in I2P Mode(Potentially Unsafe!)
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</li>
<li>
Registry-based discovery of Firefox variants
</li>
<li>
Registry-based discovery of Chrome variants
</li>
</ol>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1053,10 +1019,9 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
@ -1065,7 +1030,7 @@ Public License instead of this License.
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
<img src="i2plogo.png"></img>
I2P
</a>
</div>

9
TODO.md Normal file
View File

@ -0,0 +1,9 @@
To-Do List:
===========
1. Decide on an GUI component for launching the browser/variants with the choices:
- Launch $firefox_variant in I2P Mode
- Launch $chromium_variant in I2P Mode
- Launch system default browser in I2P Mode(Potentially Unsafe!)
2. Registry-based discovery of Firefox variants
3. Registry-based discovery of Chrome variants

View File

@ -8,267 +8,219 @@
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="BUILD.html">
BUILD
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PBrowserPlugin.html">
I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="I2PLibreWolf.html">
I2PLibreWolf.html
</a>
</li>
<li>
<a href="LINUX.html">
LINUX
</a>
</li>
<li>
<a href="OSX.html">
OSX
</a>
</li>
<li>
<a href="WINDOWS.html">
WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
<a id="returnhome" href="/">
/
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#example-commands" rel="nofollow">
<span></span>
</a>
<h3>
Linux Support
</h3>
<p>
It&rsquo;s possible to use this package in the following binary formats on
Linux. These packages are for the
Example Commands:
</h1>
<p>
These scripts are designed so that they can be executed on both Windows and Unix.
</p>
<p>
The top command is for Unixes and should work on most POSIX shells. After it runs, the script will terminate preventing Windows commands from running.
</p>
<p>
The second and third command is for Windows and won&#39;t be reachable on Linux(because the top command will be run and the script will exit).
</p>
<p>
Both determine the path to the script, use it to find the jar file, and execute a single command.
</p>
<p>
Auto-Select in Persistent Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser
</pre>
</div>
<p>
Auto-Select in Private Browsing Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private
</pre>
</div>
<p>
Firefox in Persistent Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox
</pre>
</div>
<p>
Firefox in Private Browsing Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private
</pre>
</div>
<p>
Chromium in Persistent Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium
</pre>
</div>
<p>
Chromium in Private Browsing Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private
</pre>
</div>
<div id="sourcecode">
<span id="sourcehead">
<strong>
<code>
amd64
</code>
Get the source code:
</strong>
architecture.
</p>
<h4>
Linux jpackage:
<code>
.tar.gz
</code>
</h4>
<pre><code class="language-sh">mkdir ~/tmp-i2pbrowser &amp;&amp; cd ~/tmp-i2pbrowser
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.3.0/i2pbrowser.tar.gz
tar xvzf i2pbrowser.tar.gz &amp;&amp; cd i2pbrowser
## THIS STEP IS OPTIONAL but it will force the system to use Tor Browser from within the i2pbrowser directory.
# This probably offers better security than vanilla Firefox.
# This will also make the directory the launcher is in relocatable to a flash drive, for instance.
# This is commonly referred to as being portable.
# If tor and torsocks are on the host system, Tor Browser will be downloaded over Tor.
./lib/torbrowser.sh
# end of optional step.
./bin/i2pbrowser
</code></pre>
<h4>
Debian/Ubuntu and variants Jpackage:
<code>
.deb
</code>
</h4>
<ol>
</span>
<ul>
<li>
Start your I2P Router
</li>
<li>
Download the latest release
<code>
.deb
</code>
from
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases">
Github
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
and verify it&rsquo;s hash.
</li>
<li>
Run
<code>
sudo apt-get install ./i2pbrowser*.deb
</code>
(Only needs to be done once per update)
</li>
<li>
Use the applications menu shortcut to launch the pre-configured I2P browser
</li>
</ol>
<h4>
Fedora and variants Jpackage:
<code>
.rpm
</code>
</h4>
<ol>
<li>
Start your I2P Router
</li>
<li>
Download the latest release
<code>
.r[m
</code>
from
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases">
Github
</a>
and verify it&rsquo;s hash.
</li>
<li>
Run
<code>
sudo rpm -i ./i2pbrowser*.rpm
</code>
(Only needs to be done the first time)
</li>
<li>
Run
<code>
sudo rpm -U ./i2pbrowser*.rpm
</code>
(Only needs to be done once per update)
</li>
<li>
Use the applications menu shortcut to launch the pre-configured I2P browser
</li>
</ol>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1111,10 +1063,9 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
@ -1123,7 +1074,7 @@ Public License instead of this License.
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
<img src="i2plogo.png"></img>
I2P
</a>
</div>

58
USAGE.md Normal file
View File

@ -0,0 +1,58 @@
Example Commands:
=================
These scripts are designed so that they can be executed on both Windows and Unix.
The top command is for Unixes and should work on most POSIX shells. After it runs, the script will terminate preventing Windows commands from running.
The second and third command is for Windows and won't be reachable on Linux(because the top command will be run and the script will exit).
Both determine the path to the script, use it to find the jar file, and execute a single command.
Auto-Select in Persistent Mode
```sh
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser
```
Auto-Select in Private Browsing Mode
```sh
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private
```
Firefox in Persistent Mode
```sh
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox
```
Firefox in Private Browsing Mode
```sh
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private
```
Chromium in Persistent Mode
```sh
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium
```
Chromium in Private Browsing Mode
```sh
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private
```

View File

@ -1,46 +0,0 @@
Extension Versions
==================
## Firefox
```md
i2p-in-private-browsing
1.48
https://addons.mozilla.org/firefox/downloads/file/4123613/i2p_in_private_browsing-1.48.xpi
noscript
11.4.29
https://addons.mozilla.org/firefox/downloads/file/4206186/noscript-11.4.29.xpi
localcdn-fork-of-decentraleyes
2.6.64
https://addons.mozilla.org/firefox/downloads/file/4243456/localcdn_fork_of_decentraleyes-2.6.64.xpi
onion-in-container-browsing
0.82
https://addons.mozilla.org/firefox/downloads/file/3904685/onion_in_container_browsing-0.82.xpi
javascript-restrictor
0.17
https://addons.mozilla.org/firefox/downloads/file/4190089/javascript_restrictor-0.17.xpi
ublock-origin
1.56.0
https://addons.mozilla.org/firefox/downloads/file/4237670/ublock_origin-1.56.0.xpi
```
## Chromium
```md
__MSG_extensionName__
1.29
https://clients2.google.com/service/update2/crx
NoScript
11.4.18
https://clients2.google.com/service/update2/crx
LocalCDN
2.6.64
https://clients2.google.com/service/update2/crx
uBlock Origin
1.56.0
https://clients2.google.com/service/update2/crx
__MSG_extensionName__
0.17
https://clients2.google.com/service/update2/crx
```

View File

@ -1 +0,0 @@
arkenfox.number=105.0

View File

@ -1,15 +0,0 @@
#Chromium Configuration Section
#Sun Oct 23 11:53:50 EDT 2022
chromium.bins.linux=ungoogled-chromium,chromium,brave,edge,ungoogled-chromium,chrome
chromium.bins.osx=ungoogled-chromium,chromium,brave,edge,ungoogled-chromium,chrome
chromium.bins.windows=ungoogled-chromium.exe,chromium.exe,brave.exe,edge.exe,ungoogled-chromium.exe,chrome.exe
chromium.paths.linux=/usr/bin,/usr/local/bin,/opt/chromium/bin,/snap/bin
chromium.paths.osx=/Applications/Chromium.app/Contents/MacOS,/Applications/Chrome.app/Contents/MacOS,/Applications/Brave.app/Contents/MacOS
chromium.paths.windows=C\:/Users/user/AppData/Local/Google/Chrome/Application,C\:/Program Files/Google/Chrome/Application,C\:/Program Files (x86)/Google/Chrome/Application,C\:/Users/user/AppData/Local/Chromium/Application,C\:/Program Files/Chromium/Application,C\:/Program Files (x86)/Chromium/Application,C\:/Users/user/AppData/Local/BraveSoftware/Brave Browser/Application,C\:/Program Files/BraveSoftware/Brave Browser/Application,C\:/Program Files (x86)/BraveSoftware/Brave Browser/Application,C\:/Program Files (x86)/Microsoft/Edge/Application,C\:/Program Files/Microsoft/Edge/Application
firefox.bins.linux=firefox,firefox-bin,firefox-esr,waterfox,waterfox-bin,librewolf
firefox.bins.osx=firefox,firefox-bin,firefox-esr,waterfox,waterfox-bin,librewolf
firefox.bins.windows=firefox.exe,firefox-bin.exe,firefox-esr.exe,waterfox.exe,waterfox-bin.exe,librewolf.exe
firefox.paths.linux=/usr/bin,/usr/local/bin,/opt/firefox/bin,/snap/bin
firefox.paths.osx=/Applications/Tor Browser.app/Contents/MacOS,/Applications/Firefox.app/Contents/MacOS,/Applications/Waterfox.app/Contents/MacOS,/Applications/Librewolf.app/Contents/MacOS
firefox.paths.windows=C\:/Users/user/OneDrive/Desktop/Tor Browser/Browser,C\:/Users/user/Desktop/Tor Browser/Browser,C\:/Program Files/Mozilla Firefox,C\:/Program Files (x86)/Mozilla Firefox,C\:/Program Files/Waterfox,C\:/Program Files (x86)/Waterfox,C\:/Program Files/Librewolf
generic.bins.unix=sensible-browser,xdg-open,x-www-browser,gnome-www-browser,defaultbrowser,dillo,seamonkey,konqueror,galeon,surf,www-browser,links,lynx

View File

@ -1,7 +0,0 @@
#! /usr/bin/env sh
rm -f browser.config
ant clangFmt jar
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -chromium -outputconfig -nosystray "http://idk.i2p"
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -firefox -outputconfig -nosystray "http://idk.i2p"
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -generic -outputconfig -nosystray "http://idk.i2p"

875
build.xml

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
#! /usr/bin/env sh
export GITHUB_USER=eyedeekay
export GITHUB_REPO=i2p.plugins.firefox
export GITHUB_NAME="Updates extensions, plugin support temporarily removed(Stay on the old version)"
export GITHUB_DESCRIPTION=$(cat CHANGES.md VERSION.md)
export GITHUB_TAG=1.4.0
export GITHUB_NAME="Fix URL argument passing"
export GITHUB_DESCRIPTION=$(cat CHANGES.md)
export GITHUB_TAG=0.0.32

View File

@ -1,24 +0,0 @@
/* edgar darklight CSS file */
#checkboxDarkLight:checked + .container {
background-color: #202020;
filter: invert(100%);
}
#checkboxDarkLight{
appearance: none;
width: 80px;
height: 40px;
background: black;
border-radius: 22px;
cursor: pointer;
outline: none;
}
#checkboxDarkLight::before{
content: '';
width: 40px;
height: 35px;
background-color:white;
border-radius: 35px;
cursor: pointer;
transition: .3s linear;
}

10
debian-torbrowser.sh → debian.sh Normal file → Executable file
View File

@ -1,11 +1,7 @@
#! /usr/bin/env sh
# debian build which automatically configures Tor Browser.
# I do not think that it has write permission to it's own directory, making Tor Browser updates probably impossible.
# Don't use it yet.
. ./config.sh
ant jpackage
jpackage --verbose \
--app-image i2pbrowser \
--type deb \
--linux-deb-maintainer hankhill19580@gmail.com \
--linux-menu-group "Network;WebBrowser;P2P" \
@ -14,5 +10,7 @@ jpackage --verbose \
--linux-shortcut \
--license-file LICENSE.md \
--name i2pbrowser \
--icon src/icon.png \
--app-version "$GITHUB_TAG" \
--input src/build \
--main-jar i2pfirefox.jar \
--main-class net.i2p.i2pfirefox.I2PBrowser

View File

@ -1,11 +0,0 @@
#! /usr/bin/env sh
## Run this from inside the `i2p.plugins.firefox` checkout.
docker build -t eyedeekay/i2p.plugins.firefox .
xhost + local:docker
docker run -it --rm \
--net=host \
-e DISPLAY=unix"${DISPLAY}" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
eyedeekay/i2p.plugins.firefox

View File

@ -1,228 +0,0 @@
# Building
## Build Dependencies
You will need `ant` and java `java` and for building the jar. You will need
`jpackage` for many of the potential build targets. I've been using Java 18
on Debian mostly, on Debian and Ubuntu, install the dependencies with:
```sh
sudo apt-get install openjdk-18* ant
```
Some of the targets use scripts written in Go to help generate resources. If
you want to update the profiles, you will need them. To install Go on Debian
and Ubuntu:
```sh
sudo apt-get install golang-go
```
Add `$HOME/go/bin` to your `$PATH` so `ant` can find Go applications.
`export PATH=$PATH:$HOME/go/bin`
Then use Go to download the applications you need and add them to `$HOME/go/bin`.
If you want to build the Chromium profiles you will need a Go application
called `crx3` which is used to interact with the Chrome app store to download
and update extensions.
```sh
go install github.com/mediabuyerbot/go-crx3/crx3@latest
```
Another Go application, called `amo-version`, is used to fetch extensions from addons.mozilla.org.
Like the Chrome profiles, generating the Firefox profiles requires this application. If you don't
want to update the profiles, you don't need it.
```sh
go install github.com/eyedeekay/amo-version@latest
```
One last Go application, called `dzip` is used to generate zip files deterministically for
redistribution.
```sh
go install github.com/delicb/dzip@latest
```
If you don't want to use it, you can work around it by creating a file called
`dzip` in `/usr/local/bin/dzip` and adding the contents:
```sh
#! /usr/bin/env sh
zip -r $@
```
This will break deterministic builds, but for testing it will continue to work. More elaborate
scripts or other deterministic zip utilities can be easily substituted in by placing them
in the `$PATH` under the name `dzip`.
For Fedora, use Yum, for Arch use pacman or something else but make sure to tell everyone
about it. Once you have that installed, when building, make sure to add `$GOPATH/bin/`
to your `$PATH`.
```sh
export PATH=$PATH:$HOME/go/bin
```
Will almost always work.
## 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:
```sh
ant jar
```
To build just the jar. You'll know it worked if you can:
```sh
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:
```java
// Firefox Example
if (i2pIsRunning()) {
logger.warning("I2P is already running");
System.out.println("I2PFirefox");
I2PFirefox i2pFirefox = new I2PFirefox();
i2pFirefox.launch();
}
```
```java
// Chromium Example
if (i2pIsRunning()) {
logger.warning("I2P is already running");
System.out.println("I2PChromium");
I2PChromium i2pChromium = new I2PChromium();
i2pChromium.launch();
}
```
```java
// Auto-Select Example, chooses Firefox first, then Chromium
if (i2pIsRunning()) {
logger.warning("I2P is already running");
System.out.println("I2PBrowser");
I2PBrowser i2pBrowser = new I2PBrowser();
/*
* toggle chromium to the top of the order by doing:
I2PBrowser.chromiumFirst = true;
*
*/
i2pBrowser.launch(privateBrowsing);
}
```
to add a browser management tool to it.
## Browser Discovery Methods
This tool looks for browsers on the host system, creates a workspace to use for I2P
purposes, and launches the browser inside of that workspace. The details of the
workspace vary from browser to browser but roughly corresponds to a browser profile.
In order to be successful this tool uses 3 main types of browser discovery methods,
in this order:
1. "Local" discovery, where a browser is in a subdirectory of the directory where you
ran the launcher. This will only happen if the user unpacked a portable browser into
the same directory where they ran the launcher.
2. "Path-Based" discovery, where it scans common browser installation directories
until it finds one which it can use. On Unix, it simply scans the directories on the
`PATH` for a browser it knows about. On Windows, default paths to browser install
directories are hard-coded and included in the binary. This is what usually happens.
3. "System-Based" discovery, where it defers to the host system to make a choice
about the browser and counts on browser vendors to honor the system proxy environment
variables. This is a catch-all solution which works with most browsers, but does
not apply any customizations.
There is a little subtlety here though.
- The path to Edgium on Windows will **always** resolve during path-based discovery,
resulting in a positive test for Chromium when launching the browser in auto-select
mode. So Windows will never reach stage 3 unless expressly forced to. If Firefox or
a variant is installed, it will be chosen before Edgium unless directed otherwise.
- Even though it will launch you into Edgium if it has no other choice, I recommend
you do not use it. Edgium will in a constant, incessant way try to induce you to
share your behavior with Microsoft. If you try to resist this, it negatively affects
the performance of the browser. Google also does this with Chrome, ant this negatively
affects Chrome performance too, but less than with Edgium. TL:DR Edgium sucks and is
pointless and terrible. Literally any other browser would be better.
- Linux is unaware of a Tor Browser path because Tor Browser is rarely, if ever,
installed on-path. What is on path is virtually always a wrapper for Tor Browser
which is installed either as the main user or it's own user. Linux will only use
Tor Browser if it's discovered in "Local" mode. To set this up automatically, you
can `cd` to the `I2P` directory where you unpacked the `.tar.gz` file, and run the
`./lib/torbrowser.sh` script from there.
- I really only test Phase 3 with Dillo and Edgium. **YMMV.**
## Usability vs Strict
This is basically a profile-management tool geared toward minimizing the
differences between browser users which are passively discernible while
they are browsing I2P. It assumes that they are part of a highly fragmented
browsing environment where they are already unique, and therefore consolidation
on configuration is a goal. However, this goal sometimes also conflicts with
usability. To allow users a safe set of choices, we offer "Coarse" configuration
in 2 modes. We recommend that you do not deviate from these configurations if
you have browser application fingerprinting as a concern.
### Usability Mode
TODO: description
Pros: Allows a restricted subset of Javascript
Pros: Less likely to try and reach the clearnet
Cons: Looks very different from Tor Browser
Cons: Plugin updates can create temporary uniqueness
#### Usability Extension Set
- **I2P In Private Browsing**
- **uMatrix**
- **jsRestrictor**
- **LocalCDN**
- **Onion in Container Tabs**
- **HTTPS EveryWhere** in some configurations
### Usability user.js characteristics
TODO: Summarize differences
### Strict Mode
TODO: description
Pros: Does not allow Javascript by default
Pros: Looks a lot like Tor Browser especially if you're using Tor Browser
Cons: More work to use
Cons: Temporary uniqueness can be created by enabling Javascript for specific sites
Cons: More likely to try and reach the clearnet
#### Strict Extension Set
- **NoScript**
- **I2P In Private Browsing**
- **HTTPS EveryWhere** in some configurations
#### Strict user.js characteristics
TODO: Summarize differences

File diff suppressed because it is too large Load Diff

View File

@ -1,431 +0,0 @@
# Class I2PBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java)
> */
Access: public
Description:
> I2PBrowser.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @description I2PBrowser is a that is used to open a browser window to the I2P network. It automatically detects the operating system and available browsers and selects the best one to use with Tor Browser at the top for Firefox and Brave at the top for Chrome.
Author: idk
Parent class: I2PGenericUnsafeBrowser
package: net.i2p.i2pfirefox
## Dependencies
<details>
<summary>
Show dependencies
</summary>
<ul>
<li>java.awt.AWTException</li>
<li>java.awt.Component</li>
<li>java.awt.Image</li>
<li>java.awt.Menu</li>
<li>java.awt.MenuItem</li>
<li>java.awt.PopupMenu</li>
<li>java.awt.SystemTray</li>
<li>java.awt.Toolkit</li>
<li>java.awt.TrayIcon</li>
<li>java.awt.event.ActionEvent</li>
<li>java.awt.event.ActionListener</li>
<li>java.awt.event.MouseAdapter</li>
<li>java.awt.event.MouseEvent</li>
<li>java.awt.event.MouseListener</li>
<li>java.io.File</li>
<li>java.io.FileOutputStream</li>
<li>java.io.FileWriter</li>
<li>java.io.IOException</li>
<li>java.io.InputStream</li>
<li>java.io.OutputStream</li>
<li>java.util.ArrayList</li>
<li>java.util.Arrays</li>
</ul>
</details>
## Member Variables
#### I2PFirefox i2pFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### I2PChromium i2pChromium [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### I2PGenericUnsafeBrowser i2pGeneral [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### Toolkit toolkit [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### SystemTray tray [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### Image image [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### TrayIcon icon [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### PopupMenu menu [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### Menu submenuStrict [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### MenuItem launchRegularBrowserStrict [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### MenuItem launchPrivateBrowserStrict [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### Menu submenuUsability [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### MenuItem launchRegularBrowserUsability [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### MenuItem launchPrivateBrowserUsability [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### MenuItem launchConfigBrowserUsability [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### MenuItem closeItem [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
+ Modifiers: final
#### boolean firefox [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean chromium [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean generic [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean chromiumFirst [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean usability [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### int privateBrowsing [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: public
#### boolean outputConfig [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
#### boolean useSystray [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L)
>
+ Access: private
## Methods
### launchFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L78)
+ Description:
+ Access: private
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | int | |
| url | String[] | |
### launchChromium [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L85)
+ Description:
+ Access: private
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | int | |
| url | String[] | |
### launchGeneric [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L92)
+ Description:
+ Access: private
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindowInt | int | |
| url | String[] | |
### setBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L121)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| browserPath | String | |
### hasChromium [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L129)
+ Description: Return true if there is a Chromium available
+ Access: public
+ return: true if Chromium is available false otherwise
This method has no parameters.
### hasFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L146)
+ Description: Return true if there is a Firefox variant available
+ Access: public
+ return: true if Firefox variant is available false otherwise
This method has no parameters.
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L166)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches either Firefox or Chromium with the profile directory.
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | int | |
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L211)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches either Firefox or Chromium with the profile directory.
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| privateWindow | boolean | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L225)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches either Firefox or Chromium with the profile directory.
+ Access: public
+ return: void
This method has no parameters.
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L227)
+ Description:
+ Access: private
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| inUrl | String | |
### main [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L237)
+ Description:
+ Access: public
+ Modifiers: static
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| args | String[] | |
### parseArgs [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L241)
+ Description:
+ Access: public
+ return: ArrayList<String>
| Name | Type | Description |
| ----- | ----- | ----- |
| args | String[] | |
### startup [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L288)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| args | String[] | |
### createSystrayRunningFile [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L307)
+ Description:
+ Access: protected
+ return: boolean
This method has no parameters.
### systrayRunningExternally [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L323)
+ Description:
+ Access: protected
+ return: boolean
This method has no parameters.
### initTray [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L334)
+ Description:
+ Access: private
+ return: SystemTray
This method has no parameters.
### initMenu [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L345)
+ Description:
+ Access: private
+ return: PopupMenu
This method has no parameters.
### initIconFile [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L350)
+ Description:
+ Access: private
+ return: File
This method has no parameters.
### initIcon [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L364)
+ Description:
+ Access: private
+ return: TrayIcon
This method has no parameters.
### startupSystray [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L377)
+ Description:
+ Access: protected
+ return: void
This method has no parameters.
### shutdownSystray [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L404)
+ Description:
+ Access: protected
+ return: void
This method has no parameters.
### systray [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L413)
+ Description:
+ Access: public
+ return: boolean
This method has no parameters.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,335 +0,0 @@
# Class I2PCommonBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java)
>
Access: public
Description:
> I2PCommonBrowser.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Author: idk
package: net.i2p.i2pfirefox
## Dependencies
<details>
<summary>
Show dependencies
</summary>
<ul>
<li>java.io.File</li>
<li>java.io.FileInputStream</li>
<li>java.io.FileOutputStream</li>
<li>java.io.IOException</li>
<li>java.io.InputStream</li>
<li>java.io.OutputStream</li>
<li>java.net.Socket</li>
<li>java.nio.file.Files</li>
<li>java.nio.file.StandardCopyOption</li>
<li>java.util.Arrays</li>
<li>java.util.Properties</li>
<li>java.util.logging.FileHandler</li>
<li>java.util.logging.Logger</li>
<li>java.util.logging.SimpleFormatter</li>
<li>java.util.zip.ZipEntry</li>
<li>java.util.zip.ZipInputStream</li>
</ul>
</details>
## Member Variables
#### Properties prop [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L)
>
+ Access: public
#### Logger logger [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L)
>
+ Access: public
#### FileHandler fh [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L)
>
+ Access: private
## Methods
### loadPropertiesFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L58)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| props | File | |
### validateUserDir [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L68)
+ Description:
+ Access: public
+ return: void
This method has no parameters.
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L113)
+ Description:
+ Access: public
+ return: String
This method has no parameters.
### isWindows [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L127)
+ Description:
+ Access: protected
+ return: boolean
This method has no parameters.
### isOSX [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L139)
+ Description:
+ Access: protected
+ return: boolean
This method has no parameters.
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L179)
+ Description: get the runtime directory creating it if create=true
+ Access: protected
+ return: the runtime directory or null if it could not be created
| Name | Type | Description |
| ----- | ----- | ----- |
| create | boolean | if true create the runtime directory if it does not exist |
| override | String | |
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L196)
+ Description: get the correct runtime directory
+ Access: protected
+ return: the runtime directory or null if it could not be created or found
| Name | Type | Description |
| ----- | ----- | ----- |
| override | String | |
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L244)
+ Description: get the profile directory creating it if necessary
+ Access: protected
+ return: the profile directory or null if it could not be created
| Name | Type | Description |
| ----- | ----- | ----- |
| envVar | String | |
| browser | String | |
| base | String | |
| app | boolean | |
### profileDir [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L257)
+ Description:
+ Access: protected
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| file | String | |
| browser | String | |
| base | String | |
| app | boolean | |
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L268)
+ Description:
+ Access: protected
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| profileDirectory | String | |
| browser | String | |
| base | String | |
### copyDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L313)
+ Description:
+ Access: protected
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| sourceDirectory | File | |
| destinationDirectory | File | |
| browser | String | |
| base | String | |
### copyDirectoryCompatibilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L328)
+ Description:
+ Access: private
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| source | File | |
| destination | File | |
| browser | String | |
| base | String | |
### copy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L336)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| source | InputStream | |
| target | OutputStream | |
### copyFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L345)
+ Description:
+ Access: private
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| sourceFile | File | |
| destinationFile | File | |
### validateProfileFirstRun [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L356)
+ Description:
+ Access: public
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| profileDirectory | String | |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L382)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
This method has no parameters.
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L392)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L404)
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
| port | int | the port to wait for the proxy to be ready on. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L419)
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds. If the timeout is zero or less the check is disabled and always returns true.
+ Access: public
+ return: true if the proxy is ready false if it is not.
| Name | Type | Description |
| ----- | ----- | ----- |
| timeout | int | the number of seconds to wait for the proxy to be ready. |
| port | int | the port to wait for the proxy to be ready on. |
| host | String | the host to wait for the proxy to be ready on. |
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L437)
+ Description:
+ Access: public
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| port | int | |
| host | String | |
### setProxyTimeoutTime [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L452)
+ Description: Alters the proxy timeout to customized value time in seconds. May be zero.
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| time | int | |
### join [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L457)
+ Description:
+ Access: protected
+ return: String
| Name | Type | Description |
| ----- | ----- | ----- |
| arr | String[] | |
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L466)
+ Description:
+ Access: public
+ return: void
| Name | Type | Description |
| ----- | ----- | ----- |
| millis | int | |
### searchFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L474)
+ Description:
+ Access: public
+ return: File
| Name | Type | Description |
| ----- | ----- | ----- |
| file | File | |
| search | String | |

File diff suppressed because it is too large Load Diff

View File

@ -1,35 +0,0 @@
### Linux Support
It's possible to use this package in the following binary formats on
Linux. These packages are for the **`amd64`** architecture.
#### Linux jpackage: `.tar.gz`
```sh
mkdir ~/tmp-i2pbrowser && cd ~/tmp-i2pbrowser
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.3.0/i2pbrowser.tar.gz
tar xvzf i2pbrowser.tar.gz && cd i2pbrowser
## THIS STEP IS OPTIONAL but it will force the system to use Tor Browser from within the i2pbrowser directory.
# This probably offers better security than vanilla Firefox.
# This will also make the directory the launcher is in relocatable to a flash drive, for instance.
# This is commonly referred to as being portable.
# If tor and torsocks are on the host system, Tor Browser will be downloaded over Tor.
./lib/torbrowser.sh
# end of optional step.
./bin/i2pbrowser
```
#### Debian/Ubuntu and variants Jpackage: `.deb`
1. Start your I2P Router
2. Download the latest release `.deb` from [Github](https://github.com/eyedeekay/i2p.plugins.firefox/releases) and verify it's hash.
3. Run `sudo apt-get install ./i2pbrowser*.deb`(Only needs to be done once per update)
4. Use the applications menu shortcut to launch the pre-configured I2P browser
#### Fedora and variants Jpackage: `.rpm`
1. Start your I2P Router
2. Download the latest release `.r[m` from [Github](https://github.com/eyedeekay/i2p.plugins.firefox/releases) and verify it's hash.
3. Run `sudo rpm -i ./i2pbrowser*.rpm`(Only needs to be done the first time)
4. Run `sudo rpm -U ./i2pbrowser*.rpm`(Only needs to be done once per update)
5. Use the applications menu shortcut to launch the pre-configured I2P browser

View File

@ -1,33 +0,0 @@
Using this on OSX
=================
This code will launch an I2P-Configured Browser on OSX, but at this time
there are no packages for it because it's not possible for me to sign OSX
packages. You can use the `.jar` file with any Java greater than Java 8.
```sh
mkdir ~/tmp-i2pfirefox && cd ~/tmp-i2pfirefox
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.3.0/i2pfirefox.zip
unzip i2pfirefox.zip
./cmd/i2pfirefox.cmd
#or if you want to use a Chromium
./cmd/i2pchromium.cmd
```
Building a `jpackage`
---------------------
In order to build a `jpackage`, install at least Java 17. To set up Java
17 and configure it to be the Java used by the system for the rest of the
session, use these commands:
```sh
brew install openjdk@17
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
export JAVA_HOME=`/usr/libexec/java_home -v 17`
```
Once you're finished, run `./osx-dmg.sh` in the repository root to produce a
`.dmg` package.

View File

@ -1,33 +0,0 @@
### Windows Support
It's possible to use this package on Windows, but it's recommended that
you get it through the Easy-Install bundle which includes this functionality
already. Use this only if you want to test new features or if you prefer
an unbundled I2P router with an external JVM.
#### Windows Jpackage: `.zip`
**(Not Recommended! This functionality is already included in the Easy-Install Bundle for Windows)**
1. Start your I2P Router
2. Download the latest release `.zip` from [Github](https://github.com/eyedeekay/i2p.plugins.firefox/releases) and verify it's hash.
3. Unzip the `.zip` directory
4. run the `i2pbrowser.exe` file inside the unzipped directory.
#### Windows Jpackage: `.msi`
**(Not Recommended! This functionality is already included in the Easy-Install Bundle for Windows)**
1. Start your I2P Router
2. Download the latest release `.msi` from [Github](https://github.com/eyedeekay/i2p.plugins.firefox/releases) and verify it's hash.
3. Run the `.msi` installer(Only needs to be done once per update)
4. Use the start menu shortcut to launch the pre-configured I2P browser
#### Windows Jpackage: `.exe`
**(Not Recommended! This functionality is already included in the Easy-Install Bundle for Windows)**
1. Start your I2P Router
2. Download the latest release `.exe` from [Github](https://github.com/eyedeekay/i2p.plugins.firefox/releases) and verify it's hash.
3. Run the `.msi` installer(Only needs to be done once per update)
4. Use the start menu shortcut to launch the pre-configured I2P browser

View File

@ -1,24 +0,0 @@
/* edgar darklight CSS file */
#checkboxDarkLight:checked + .container {
background-color: #202020;
filter: invert(100%);
}
#checkboxDarkLight{
appearance: none;
width: 80px;
height: 40px;
background: black;
border-radius: 22px;
cursor: pointer;
outline: none;
}
#checkboxDarkLight::before{
content: '';
width: 40px;
height: 35px;
background-color:white;
border-radius: 35px;
cursor: pointer;
transition: .3s linear;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

View File

@ -1,15 +0,0 @@
/* edgar showhider CSS file */
#show {display:none; }
#hide {display:block; }
#show:target {display: block; }
#hide:target {display: none; }
#shownav {display:none; }
#hidenav {display:block; }
#shownav:target {display: block; }
#hidenav:target {display: none; }
#donate {display:none; }
#hidedonate {display:block; }
#donate:target {display: block; }
#hidedonate:target {display: none; }

View File

@ -1,163 +0,0 @@
/* edgar default CSS file */
body {
font-family: "Roboto";
font-family: monospace;
text-align: justify;
background-color: #373636;
color: whitesmoke;
font-size: 1.15em;
}
ul {
width: 55%;
display: block;
}
ol {
width: 55%;
display: block;
}
li {
margin-top: 1%;
}
p {
max-width: 90%;
margin-top: 1%;
margin-left: 3%;
margin-right: 3%;
}
img {
float: left;
top: 5%;
left: 5%;
max-width: 60%;
display: inline;
padding-right: 2%;
}
.inline {
display: inline;
}
.link-button:focus {
outline: none;
}
.link-button:active {
color: red;
}
code {
font-family: monospace;
border-radius: 5%;
padding: 1%;
border-color: darkgray;
font-size: .9em;
}
a {
color: #C6D9FE;
padding: 1%;
}
ul li {
color: #C6D9FE;
}
iframe {
background: aliceblue;
border-radius: 15%;
margin: 2%;
}
.container {
display: inline-block;
margin: 0;
padding: 0;
}
.editor-toolbar a {
display: inline-block;
text-align: center;
text-decoration: none !important;
color: whitesmoke !important;
}
#feed {
width: 60vw;
height: unset !important;
margin: 0;
padding: 0;
float: right;
background-color: #373636;
color: whitesmoke;
border: #C6D9FE solid 1px;
}
.thread-post,
.thread {
color: whitesmoke !important;
background-color: #373636;
border: 1px solid darkgray;
font-size: inherit;
padding-top: 1%;
padding-bottom: 1%;
}
.thread-post {
margin-left: 4%;
}
input {
text-align: center;
color: whitesmoke !important;
background-color: #373636;
border: 1px solid darkgray;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
padding-top: 1%;
padding-bottom: 1%;
}
.thread-hash {
text-align: right;
color: whitesmoke !important;
background-color: #373636;
border: 1px solid darkgray;
font-size: inherit;
padding-top: 1%;
padding-bottom: 1%;
}
.post-body {
text-align: left;
color: whitesmoke !important;
font-size: inherit;
padding-top: 1%;
padding-bottom: 1%;
}
#show {display:none; }
#hide {display:block; }
#show:target {display: block; }
#hide:target {display: none; }
#shownav {display:none; }
#hidenav {display:block; }
#shownav:target {display: block; }
#hidenav:target {display: none; }
#navbar {
float: right;
width: 15%;
}
#returnhome {
font-size: xxx-large;
display: inline;
}
h1 {
display: inline;
}

View File

@ -1,32 +0,0 @@
#!/bin/bash
TORSOCKS=$(which torsocks)
#if [ -f "${TORSOCKS}" ]; then
# . "${TORSOCKS}" on
#fi
if [ -z $version ]; then
version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")"
fi
if [ -z $locale ]; then
locale="ALL" # mention your locale. default = ALL
fi
if [ ! -f ./tor.keyring ]; then
gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
gpg --output ./tor.keyring --export torbrowser@torproject.org
fi
if [ ! -f "tor-browser-linux64-${version}_${locale}.exe" ]; then
wget -cv "https://www.torproject.org/dist/torbrowser/${version}/torbrowser-install-win64-${version}_${locale}.exe"
wget -cv "https://www.torproject.org/dist/torbrowser/${version}/torbrowser-install-win64-${version}_${locale}.exe.asc"
fi
gpgv --keyring ./tor.keyring "torbrowser-install-win64-${version}_${locale}.exe.asc" "torbrowser-install-win64-${version}_${locale}.exe"
#tar xvJf "torbrowser-install-win64-${version}_${locale}.exe"
#for n in `seq 1 2000`; do echo $n; dd ibs=256 if="torbrowser-install-win64-${version}_${locale}.exe" count=2 skip=$n | file - ; done 2>/dev/null |less
#zip -FF "torbrowser-install-win64-${version}_${locale}.exe" --out extracted.zip
export WINEPREFIX=$(pwd)/../tmp
wine "torbrowser-install-win64-${version}_${locale}.exe" /S #/D .
cp -vr "$WINEPREFIX/drive_c/users/idk/Desktop/Tor Browser/" "Tor Browser"

View File

@ -1,28 +0,0 @@
#!/bin/bash
TORSOCKS=$(which torsocks)
if [ -f "${TORSOCKS}" ]; then
. "${TORSOCKS}" on
echo ""
fi
if [ -z $version ]; then
version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")"
fi
if [ -z $locale ]; then
locale="ALL" # mention your locale. default = ALL
fi
if [ ! -f ./tor.keyring ]; then
gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
gpg --output ./tor.keyring --export torbrowser@torproject.org
fi
if [ ! -f "tor-browser-linux64-${version}_${locale}.tar.xz" ]; then
wget -cv "https://www.torproject.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${locale}.tar.xz"
wget -cv "https://www.torproject.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${locale}.tar.xz.asc"
fi
gpgv --keyring ./tor.keyring "tor-browser-linux64-${version}_${locale}.tar.xz.asc" "tor-browser-linux64-${version}_${locale}.tar.xz"
tar xvJf "tor-browser-linux64-${version}_${locale}.tar.xz"

View File

@ -2,8 +2,16 @@
. ./config.sh
dnf -y update
dnf -y install temurin-19-jdk
cat <<EOF > /etc/yum.repos.d/adoptium.repo
[Adoptium]
name=Adoptium
baseurl=https://packages.adoptium.net/artifactory/rpm/${DISTRIBUTION_NAME:-$(. /etc/os-release; echo $ID)}/\$releasever/\$basearch
enabled=1
gpgcheck=1
gpgkey=https://packages.adoptium.net/artifactory/api/gpg/key/public
EOF
yum -y update
yum -y install temurin-18-jdk
jpackage --verbose \
--type rpm \
@ -14,7 +22,6 @@ jpackage --verbose \
--license-file LICENSE.md \
--name i2pbrowser \
--app-version "$GITHUB_TAG" \
--icon src/icon.png \
--input src/build \
--main-jar i2pfirefox.jar \
--main-class net.i2p.i2pfirefox.I2PBrowser

View File

@ -1,7 +1,7 @@
#! /usr/bin/env sh
. ./config.sh
docker build -f Dockerfile.fedora -t eyedeekay/i2p.plugins.firefox.fedora .
docker build -t eyedeekay/i2p.plugins.firefox .
docker rm -f i2pbrowser-fedora
docker run --name i2pbrowser-fedora eyedeekay/i2p.plugins.firefox.fedora
docker run --name i2pbrowser-fedora eyedeekay/i2p.plugins.firefox
docker cp i2pbrowser-fedora:/src/i2p.plugins.firefox/i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm .

View File

@ -1,5 +0,0 @@
#! /usr/bin/env sh
rm lib/jars/gngr.jar
mkdir -p lib/jars/
wget -c -O lib/jars/gngr.jar https://github.com/gngrOrg/gngr/releases/download/v0.3.16/gngr-0.3.16.jar

Binary file not shown.

3
i2pbrowser-private.cmd Executable file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private

3
i2pbrowser.cmd Executable file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser

3
i2pchromium-private.cmd Executable file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private

View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private -usability; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private -usability

3
i2pchromium-usability.cmd Executable file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -usability; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -usability

3
i2pchromium.cmd Executable file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium

View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private -usability; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private -usability

3
i2pfirefox-private.cmd Executable file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private

3
i2pfirefox-usability.cmd Executable file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -usability; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -usability

3
i2pfirefox.cmd Executable file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox

View File

@ -8,332 +8,524 @@
<meta name="keywords" content="main" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
<link rel="stylesheet" type="text/css" href="darklight.css" />
</head>
<body>
<input type="checkbox" id="checkboxDarkLight">
<div class="container">
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="VERSION.html">
VERSION
</a>
</li>
<li>
<a href="index.html">
index.html
</a>
</li>
<li>
<a href="docs/BUILD.html">
docs/BUILD
</a>
</li>
<li>
<a href="docs/I2PBrowser.html">
docs/I2PBrowser
</a>
</li>
<li>
<a href="docs/I2PBrowserPlugin.html">
docs/I2PBrowserPlugin.html
</a>
</li>
<li>
<a href="docs/I2PChromium.html">
docs/I2PChromium
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileBuilder.html">
docs/I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileChecker.html">
docs/I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="docs/I2PChromiumProfileUnpacker.html">
docs/I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="docs/I2PCommonBrowser.html">
docs/I2PCommonBrowser
</a>
</li>
<li>
<a href="docs/I2PFirefox.html">
docs/I2PFirefox
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileBuilder.html">
docs/I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileChecker.html">
docs/I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="docs/I2PFirefoxProfileUnpacker.html">
docs/I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="docs/I2PGenericUnsafeBrowser.html">
docs/I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="docs/I2PLibreWolf.html">
docs/I2PLibreWolf.html
</a>
</li>
<li>
<a href="docs/LINUX.html">
docs/LINUX
</a>
</li>
<li>
<a href="docs/OSX.html">
docs/OSX
</a>
</li>
<li>
<a href="docs/WINDOWS.html">
docs/WINDOWS
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
<div id="navbar">
<a href="#shownav">
Show navigation
</a>
<div id="shownav">
<div id="hidenav">
<ul>
<li>
<a href="..">
Up one level ^
</a>
</li>
<li>
<a href="index.html">
index
</a>
</li>
<li>
<a href="CHANGES.html">
CHANGES
</a>
</li>
<li>
<a href="EXAMPLES.html">
EXAMPLES
</a>
</li>
<li>
<a href="I2PBrowser.html">
I2PBrowser
</a>
</li>
<li>
<a href="I2PChromium.html">
I2PChromium
</a>
</li>
<li>
<a href="I2PChromiumProfileBuilder.html">
I2PChromiumProfileBuilder
</a>
</li>
<li>
<a href="I2PChromiumProfileChecker.html">
I2PChromiumProfileChecker
</a>
</li>
<li>
<a href="I2PChromiumProfileUnpacker.html">
I2PChromiumProfileUnpacker
</a>
</li>
<li>
<a href="I2PCommonBrowser.html">
I2PCommonBrowser
</a>
</li>
<li>
<a href="I2PFirefox.html">
I2PFirefox
</a>
</li>
<li>
<a href="I2PFirefoxProfileBuilder.html">
I2PFirefoxProfileBuilder
</a>
</li>
<li>
<a href="I2PFirefoxProfileChecker.html">
I2PFirefoxProfileChecker
</a>
</li>
<li>
<a href="I2PFirefoxProfileUnpacker.html">
I2PFirefoxProfileUnpacker
</a>
</li>
<li>
<a href="I2PGenericUnsafeBrowser.html">
I2PGenericUnsafeBrowser
</a>
</li>
<li>
<a href="LICENSE.html">
LICENSE
</a>
</li>
<li>
<a href="PACKAGES.html">
PACKAGES
</a>
</li>
<li>
<a href="RELEASES.html">
RELEASES
</a>
</li>
<li>
<a href="TODO.html">
TODO
</a>
</li>
<li>
<a href="USAGE.html">
USAGE
</a>
</li>
</ul>
<br>
<a href="#hidenav">
Hide Navigation
</a>
</div>
</div>
<a id="returnhome" href="/">
/
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#i2p-plugins-firefox" rel="nofollow">
<span></span>
</a>
<h1>
i2p.plugins.firefox
</h1>
<p>
A port of the batch scripts from
<code>
i2p.firefox
</code>
to Java.
</p>
<p>
<strong>
Status:
</strong>
This package is maintained. It cannot solve all your problems. Fingerprinting
is a reality in modern browsers. Exploits are too. This software attempts to provide a
best-possible baseline of privacy first, security a close second for browsing the web that
exists within I2P. Do not expect it to withstand attacks from very powerful adversaries
who can spend time and money to screw up your life. Do expect it to resist advertisers,
trackers, and jerks using off-the-shelf techniques and exploits. It is fundamentally unable
to make changes which un-trust your browser vendor, your OS, your package manager or any
other system that exists underneath it.
<strong>
It is just a profile manager.
</strong>
</p>
<p>
<strong>
All packages require a running I2P router.
</strong>
</p>
<p>
<strong>
<a href="https://i2pgit.org/i2p-hackers/i2p.firefox">
Windows users should see the Easy-Install Bundle
</a>
</strong>
</p>
<h2>
Credits
</h2>
<p>
This profile manager makes use of a set of browser extensions which are largely the work of others.
It makes use of dependencies that are the work of others. In many ways, it&rsquo;s merely an elaborate
configuration tool. A smart one, but a configuration tool nonetheless. Many thanks to the following
projects, developers, and communities:
</p>
<h3>
Firefox and Chrome Extensions
</h3>
<ul>
<li>
<a href="https://noscript.net">
NoScript - Giorgio Maone and others
</a>
</li>
<li>
<a href="https://www.eff.org/https-everywhere">
HTTPS Everywhere - Electronic Frontier Foundation
</a>
</li>
<li>
<a href="https://ublockorigin.com/">
uBlock Origin - Raymond Gorhill and others
</a>
</li>
<li>
<a href="https://www.localcdn.org/">
LocalCDN - nobody and others
</a>
</li>
<li>
<a href="https://jshelter.org/">
jShelter - Libor Polčák and others
</a>
</li>
</ul>
<h3>
Firefox Configuration Modifiations
</h3>
<ul>
<li>
<a href="https://github.com/arkenfox/user.js/">
Arkenfox - Thorin Oakenpants and Others
</a>
</li>
</ul>
<p>
You can find the license files for each of the these projects in the
<code>
src/i2p.firefox.*.profile/extensions/*
</code>
directory for Firefox, and the
<code>
src/i2p.chromium.*.profile/extensions/*.js/*
</code>
directories for Chromium.
</p>
<h2>
Getting started
</h2>
<h3>
Building the package:
</h3>
<ul>
<li>
See:
<a href="docs/BUILD.md">
BUILD.md
</a>
/
<a href="docs/BUILD.html">
BUILD.html
</a>
</li>
</ul>
<h3>
Using a Binary
</h3>
<p>
For platform specific instructions, see
</p>
<ul>
<li>
<a href="docs/LINUX.md">
LINUX.md
</a>
/
<a href="docs/LINUX.html">
LINUX.html
</a>
</li>
<li>
<a href="docs/OSX.md">
OSX.md
</a>
/
<a href="docs/OSX.html">
OSX.html
</a>
</li>
<li>
<a href="docs/WINDOWS.md">
WINDOWS.md
</a>
/
<a href="docs/WINDOWS.html">
WINDOWS.html
</a>
</li>
</ul>
<h4>
All platforms, using a zip:
<code>
.zip
</code>
and a non-bundled Java
</h4>
<pre><code class="language-sh">mkdir ~/tmp-i2pfirefox &amp;&amp; cd ~/tmp-i2pfirefox
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.3.0/i2pfirefox.zip
i2p.plugins.firefox
</h1>
<p>
A port of the batch scripts from i2p.firefox to Java.
</p>
<p>
<strong>
Status:
</strong>
This package is maintained. It cannot solve all your problems. Fingerprinting
is a reality in modern browsers. Exploits are too. This software attempts to provide a
best-possible baseline of privacy first, security a close second for browsing the web that
exists within I2P. Do not expect it to withstand attacks from very powerful adversaries
who can spend time and money to screw up your life. Do expect it to resist advertisers,
trackers, and jerks using off-the-shelf techniques and exploits. It is fundamentally unable
to make changes which un-trust your browser vendor, your OS, your package manager or any
other system that exists underneath it.
<strong>
It is just a profile manager.
</strong>
</p>
<p>
<strong>
All packages require a running I2P router.
</strong>
</p>
<p>
<strong>
<a href="https://i2pgit.org/i2p-hackers/i2p.firefox" rel="nofollow">
Windows users should see the Easy-Install Bundle
</a>
</strong>
</p>
<h2>
<a href="#getting-started" rel="nofollow">
<span></span>
</a>
Getting started
</h2>
<h3>
<a href="#using-a-binary" rel="nofollow">
<span></span>
</a>
Using a Binary
</h3>
<div>
<pre>
mkdir ~/tmp-i2pfirefox &amp;&amp; cd ~/tmp-i2pfirefox
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.16/i2pfirefox.zip
unzip i2pfirefox.zip
./i2pfirefox.cmd
#or if you want to use a Chromium
./i2pchromium.cmd
</code></pre>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
</pre>
</div>
<h3>
<a href="#build-dependencies" rel="nofollow">
<span></span>
</a>
Build Dependencies
</h3>
<p>
You will need
<code>
ant
</code>
,
<code>
java
</code>
and for building the Chromium profile, a Go application
called
<code>
crx3
</code>
which is used to interact with the Chrome app store. I&#39;ve been using Java 17
on Debian mostly, on Debian and Ubuntu, install the dependencies with:
</p>
<div>
<pre>sudo apt-get install openjdk-17* ant golang-go
go install github.com/mediabuyerbot/go-crx3/crx3@latest
</pre>
</div>
<p>
For Fedora, use Yum, for Arch use pacman or something else but make sure to tell everyone
about it. Once you have that installed, when building, make sure to add
<code>
$GOPATH/bin/
</code>
to your
<code>
$PATH
</code>
.
</p>
<div>
<pre>export PATH=$PATH:$HOME/go/bin
</pre>
</div>
<p>
Will almost always work.
</p>
<h3>
<a href="#building" rel="nofollow">
<span></span>
</a>
Building
</h3>
<p>
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:
</p>
<div>
<pre>
ant jar
</pre>
</div>
<p>
To build just the jar. You&#39;ll know it worked if you can:
</p>
<div>
<pre>
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox
</pre>
</div>
<p>
and a new Firefox instance comes up with a fresh profile, ready-to-use for I2P browsing.
</p>
<p>
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:
</p>
<div>
<pre>
// Firefox Example
if (i2pIsRunning()) {
logger.warning(&#34;I2P is already running&#34;);
System.out.println(&#34;I2PFirefox&#34;);
I2PFirefox i2pFirefox = new I2PFirefox();
i2pFirefox.launch();
}
</pre>
</div>
<div>
<pre>
// Chromium Example
if (i2pIsRunning()) {
logger.warning(&#34;I2P is already running&#34;);
System.out.println(&#34;I2PChromium&#34;);
I2PChromium i2pChromium = new I2PChromium();
i2pChromium.launch();
}
</pre>
</div>
<div>
<pre>
// Auto-Select Example, chooses Firefox first, then Chromium
if (i2pIsRunning()) {
logger.warning(&#34;I2P is already running&#34;);
System.out.println(&#34;I2PBrowser&#34;);
I2PBrowser i2pBrowser = new I2PBrowser();
/*
* toggle chromium to the top of the order by doing:
I2PBrowser.chromiumFirst = true;
*
*/
i2pBrowser.launch(privateBrowsing);
}
</pre>
</div>
<p>
to add a browser management tool to it.
</p>
<h3>
<a href="#browser-discovery-methods" rel="nofollow">
<span></span>
</a>
Browser Discovery Methods
</h3>
<p>
This tool looks for browsers on the host system, creates a workspace to use for I2P
purposes, and launches the browser inside of that workspace. The details of the
workspace vary from browser to browser but roughly corresponds to a browser profile.
In order to be successful this tool uses 3 main types of browser discovery methods,
in this order:
</p>
<ol>
<li>
&#34;Local&#34; discovery, where a browser is in a subdirectory of the directory where you
ran the launcher. This will only happen if the user unpacked a portable browser into
the same directory where they ran the launcher.
</li>
<li>
&#34;Path-Based&#34; discovery, where it scans common browser installation directories
until it finds one which it can use. On Unix, it simply scans the directories on the
<code>
PATH
</code>
for a browser it knows about. On Windows, default paths to browser install
directories are hard-coded and included in the binary. This is what usually happens.
</li>
<li>
&#34;System-Based&#34; discovery, where it defers to the host system to make a choice
about the browser and counts on browser vendors to honor the system proxy environment
variables. This is a catch-all solution which works with most browsers, but does
not apply any customizations.
</li>
</ol>
<p>
There is a little subtlety here though.
</p>
<ul>
<li>
The path to Edgium on Windows will
<strong>
always
</strong>
resolve during path-based discovery,
resulting in a positive test for Chromium when launching the browser in auto-select
mode. So Windows will never reach stage 3 unless expressly forced to. If Firefox or
a variant is installed, it will be chosen before Edgium unless directed otherwise.
</li>
<li>
Linux is unaware of a Tor Browser path because Tor Browser is rarely, if ever,
installed on-path. What is on path is virtually always a wrapper for Tor Browser
which is installed either as the main user or it&#39;s own user. Linux will only use
Tor Browser if it&#39;s discovered in &#34;Local&#34; mode.
</li>
<li>
The above is also true of OSX for now but doesn&#39;t have to remain so.
</li>
<li>
I really only test Phase 3 with Dillo and Edgium.
<strong>
YMMV.
</strong>
</li>
</ul>
<h3>
<a href="#usability-vs-strict" rel="nofollow">
<span></span>
</a>
Usability vs Strict
</h3>
<p>
This is basically a profile-management tool geared toward minimizing the
differences between browser users which are passively discernible while
they are browsing I2P. It assumes that they are part of a highly fragmented
browsing environment where they are already unique, and therefore consolidation
on configuration is a goal. However, this goal sometimes also conflicts with
usability. To allow users a safe set of choices, we offer &#34;Coarse&#34; configuration
in 2 modes. We recommend that you do not deviate from these configurations if
you have browser application fingerprinting as a concern.
</p>
<h4>
<a href="#usability-mode" rel="nofollow">
<span></span>
</a>
Usability Mode
</h4>
<p>
TODO: description
</p>
<p>
Pros: Allows a restricted subset of Javascript
Pros: Less likely to try and reach the clearnet
</p>
<p>
Cons: Looks very different from Tor Browser
Cons: Plugin updates can create temporary uniqueness
</p>
<h5>
<a href="#usability-extension-set" rel="nofollow">
<span></span>
</a>
Usability Extension Set
</h5>
<ul>
<li>
<strong>
I2P In Private Browsing
</strong>
</li>
<li>
<strong>
uMatrix
</strong>
</li>
<li>
<strong>
jsRestrictor
</strong>
</li>
<li>
<strong>
LocalCDN
</strong>
</li>
<li>
<strong>
Onion in Container Tabs
</strong>
</li>
<li>
<strong>
HTTPS EveryWhere
</strong>
in some configurations
</li>
</ul>
<h5>
<a href="#usability-user-js-characteristics" rel="nofollow">
<span></span>
</a>
Usability user.js characteristics
</h5>
<p>
TODO: Summarize differences
</p>
<h4>
<a href="#strict-mode" rel="nofollow">
<span></span>
</a>
Strict Mode
</h4>
<p>
TODO: description
</p>
<p>
Pros: Does not allow Javascript by default
Pros: Looks a lot like Tor Browser especially if you&#39;re using Tor Browser
</p>
<p>
Cons: More work to use
Cons: Temporary uniqueness can be created by enabling Javascript for specific sites
Cons: More likely to try and reach the clearnet
</p>
<h5>
<a href="#strict-extension-set" rel="nofollow">
<span></span>
</a>
Strict Extension Set
</h5>
<ul>
<li>
<strong>
NoScript
</strong>
</li>
<li>
<strong>
I2P In Private Browsing
</strong>
</li>
<li>
<strong>
HTTPS EveryWhere
</strong>
in some configurations
</li>
</ul>
<h5>
<a href="#strict-user-js-characteristics" rel="nofollow">
<span></span>
</a>
Strict user.js characteristics
</h5>
<p>
TODO: Summarize differences
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>
</div>
<div>
<a href="#show">
Show license
</a>
<div id="show">
<div id="hide">
<pre><code> Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -1176,10 +1368,9 @@ consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
</code></pre>
<a href="#hide">
Hide license
</a>
</div>
<a href="#hide">
Hide license
</a>
</div>
</div>
</div>
@ -1188,7 +1379,7 @@ Public License instead of this License.
</div>
<div>
<a href="https://geti2p.net/">
<img class="i2plogo" src="i2plogo.png"></img>
<img src="i2plogo.png"></img>
I2P
</a>
</div>

View File

@ -1,8 +1,10 @@
#! /usr/bin/env bash
ant distclean
rm -rf docs
~/.cargo/bin/lojidoc src/java/net/i2p/i2pfirefox/ -s -l > report.log
~/.cargo/bin/lojidoc -c src/java/net/i2p/i2pfirefox/ -s
mv -v generated/net/i2p/i2pfirefox/*.md ./docs/
mv -v generated/net/i2p/i2pfirefox/*.md .
rm -rf generated
git add ./*.md

View File

@ -1,22 +1,11 @@
#! /usr/bin/env sh
. ./config.sh
if [ -z "$I2P_SIGNER_USERPHRASE" ]; then
I2P_SIGNER_USERPHRASE=$(security find-identity -v -p codesigning | cut -d ' ' -f 4)
echo "Warning: using automatically configured signer ID, make sure this is the one you want: $I2P_SIGNER_USERPHRASE"
echo "continuing in 10 seconds"
sleep 10
fi
jpackage \
--verbose \
--type dmg \
--license-file LICENSE.md \
--name i2pbrowser \
--app-version "$GITHUB_TAG" \
--icon src/icon.icns \
--input src/build \
--main-jar i2pfirefox.jar \
--mac-sign \
--mac-signing-key-user-name "$I2P_SIGNER_USERPHRASE" \
--mac-entitlements resources/entitlements.xml \
--main-class net.i2p.i2pfirefox.I2PBrowser

View File

@ -19,12 +19,12 @@ echo "Downloaded jpackage zip"
github-release download --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--name "i2pbrowser_${GITHUB_TAG}_amd64.deb"
--name "i2pbrowser_${GITHUB_TAG}_.deb"
echo "Downloaded debian package"
github-release download --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--name "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm"
--name "i2pbrowser-${GITHUB_TAG}_.rpm"
echo "Downloaded fedora package"
github-release download --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
@ -45,14 +45,14 @@ echo "Downloaded Windows ZIP package"
echo "Sums for release ${GITHUB_TAG}" | tee RELEASES.md
echo "==============================" | tee -a RELEASES.md
echo "" | tee -a RELEASES.md
echo "- [$(sha256sum i2pfirefox.jar)](https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/${GITHUB_TAG}/i2pfirefox.jar)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pfirefox.zip)](https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/${GITHUB_TAG}/i2pfirefox.zip)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser.zip)](https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/${GITHUB_TAG}/i2pbrowser.zip)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser_${GITHUB_TAG}_amd64.deb)](https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/${GITHUB_TAG}/i2pbrowser_${GITHUB_TAG}_amd64.deb)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm)](https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/${GITHUB_TAG}/i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser.msi)](https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/${GITHUB_TAG}/i2pbrowser.msi)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser.exe)](https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/${GITHUB_TAG}/i2pbrowser.exe)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser-portable.zip)](https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/${GITHUB_TAG}/i2pbrowser-portable.zip)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pfirefox.jar)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.jar)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pfirefox.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.zip)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.zip)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser_${GITHUB_TAG}_.deb)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser_${GITHUB_TAG}_amd64.deb)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser-${GITHUB_TAG}_.rpm)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm.rpm)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser.msi)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.msi)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser.exe)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.exe)" | tee -a RELEASES.md
echo "- [$(sha256sum i2pbrowser-portable.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser-portable.zip)" | tee -a RELEASES.md
echo "" | tee -a RELEASES.md
git add RELEASES.md

View File

@ -1,842 +0,0 @@
Copyright 2022 idk (hankhill19580@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
========================================================================
Includes code from zzzot:
Copyright 2010 zzz (zzz@mail.i2p)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
========================================================================
Includes code from Jetty 5.1.15:
Copyright 199-2004 Mort Bay Consulting Pty. Ltd.
------------------------------------------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MIT License
Copyright (c) 2019 idk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
HTTPS Everwyhere:
Copyright © 2010-2012 Mike Perry <mikeperry@fscked.org>
Peter Eckersley <pde@eff.org>
and many others
(Licensed GPL v2+)
Incorporating code from NoScript,
Copyright © 2004-2007 Giorgio Maone <g.maone@informaction.com>
Licensed GPL v2+
Incorporating code from Convergence
Copyright © Moxie Marlinspike
Licensed GPL v3+
Incorporating code from URI.js
Copyright © Rodney Rehm
Licensed MIT, GPL V3
Incorporating code from js-lru
Copyright © 2010 Rasmus Andersson
Licensed MIT
The build system incorporates code from Python 2.6,
Copyright © 2001-2006 Python Software Foundation
Python Software Foundation License Version 2
Net License: GPL v3+ (complete tree)
GPL v2+ (if Moxie's NSS.js is absent)
Text of MIT License:
====================
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
MIT License
Copyright (c) 2019 idk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
HTTPS Everwyhere:
Copyright © 2010-2012 Mike Perry <mikeperry@fscked.org>
Peter Eckersley <pde@eff.org>
and many others
(Licensed GPL v2+)
Incorporating code from NoScript,
Copyright © 2004-2007 Giorgio Maone <g.maone@informaction.com>
Licensed GPL v2+
Incorporating code from Convergence
Copyright © Moxie Marlinspike
Licensed GPL v3+
Incorporating code from URI.js
Copyright © Rodney Rehm
Licensed MIT, GPL V3
Incorporating code from js-lru
Copyright © 2010 Rasmus Andersson
Licensed MIT
The build system incorporates code from Python 2.6,
Copyright © 2001-2006 Python Software Foundation
Python Software Foundation License Version 2
Net License: GPL v3+ (complete tree)
GPL v2+ (if Moxie's NSS.js is absent)
Text of MIT License:
====================
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

View File

@ -1,5 +1,8 @@
clientApp.0.main=net.i2p.i2pfirefox.plugin.I2PBrowserPlugin
clientApp.0.name=i2pfirefox
clientApp.0.main=net.i2p.i2pfirefox.I2PFirefoxController
clientApp.0.name=I2PFirefox
clientApp.0.args=-d $PLUGIN start
clientApp.0.stopargs=-d $PLUGIN stop
clientApp.0.delay=0
clientApp.0.startOnLoad=true
clientApp.0.classpath=$PLUGIN/lib/i2pfirefox-plugin.jar
# we also use i2p.jar and i2ptunnel.jar, they are in the standard router classpath
clientApp.0.classpath=$PLUGIN/lib/i2pfirefox.jar,$I2P/lib/i2psnark.jar

View File

@ -1,3 +0,0 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/lib/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser; exit $?
@ECHO OFF
java -cp %cd%/lib/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<!--
Configure a custom context for the eepsite.
This context contains only a ServletContextHandler with a default servlet
to serve static html files and images.
-->
<Configure class="org.eclipse.jetty.servlet.ServletContextHandler">
<Set name="contextPath">/</Set>
<Set name="resourceBase">$PLUGIN/eepsite/docroot/</Set>
<Call name="setInitParameter">
<Arg>cacheControl</Arg>
<Arg>max-age=3600,public</Arg>
</Call>
<Call name="addServlet">
<Arg>net.i2p.servlet.I2PDefaultServlet</Arg>
<Arg>/</Arg>
</Call>
</Configure>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<!--
Configure a custom context for the eepsite.
* CGI Servlet.
*
* The cgi bin directory can be set with the "cgibinResourceBase" init parameter
* or it will default to the resource base of the context.
*
* The "commandPrefix" init parameter may be used to set a prefix to all
* commands passed to exec. This can be used on systems that need assistance to
* execute a particular file type. For example on windows this can be set to
* "perl" so that perl scripts are executed.
*
* The "Path" init param is passed to the exec environment as PATH. Note: Must
* be run unpacked somewhere in the filesystem.
*
* Any initParameter that starts with ENV_ is used to set an environment
* variable with the name stripped of the leading ENV_ and using the init
* parameter value.
-->
<Configure class="org.eclipse.jetty.servlet.ServletContextHandler">
<Set name="contextPath">/cgi-bin</Set>
<Set name="resourceBase">$PLUGIN/eepsite/cgi-bin/</Set>
<Call name="setInitParameter">
<Arg>Path</Arg>
<Arg>/usr/local/bin:/bin:/usr/bin</Arg>
</Call>
<Call name="addServlet">
<Arg>org.eclipse.jetty.servlets.CGI</Arg>
<Arg>/</Arg>
</Call>
</Configure>

View File

@ -0,0 +1,21 @@
#
# This file defines users passwords and roles for a HashUserRealm
#
# The format is
# <username>: <password>[,<rolename> ...]
#
# Passwords may be clear text, obfuscated or checksummed. The class
# org.mortbay.util.Password should be used to generate obfuscated
# passwords or password checksums
#
# If DIGEST Authentication is used, the password must be in a recoverable
# format, either plain text or OBF:.
#
jetty: MD5:164c88b302622e17050af52c89945d44,user
admin: CRYPT:ad1ks..kc.1Ug,server-administrator,content-administrator,admin
other: OBF:1xmk1w261u9r1w1c1xmq
plain: plain
user: password
# This entry is for digest auth. The credential is a MD5 hash of username:realmname:password
digest: MD5:6e120743ad67abfbc385bc2bb754e297

View File

@ -0,0 +1,408 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ===================================================================== -->
<!-- This file contains the default descriptor for web applications. -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- The intent of this descriptor is to include jetty specific or common -->
<!-- configuration for all webapps. If a context has a webdefault.xml -->
<!-- descriptor, it is applied before the contexts own web.xml file -->
<!-- -->
<!-- A context may be assigned a default descriptor by: -->
<!-- + Calling WebApplicationContext.setDefaultsDescriptor -->
<!-- + Passed an arg to addWebApplications -->
<!-- -->
<!-- This file is used both as the resource within the jetty.jar (which is -->
<!-- used as the default if no explicit defaults descriptor is set) and it -->
<!-- is copied to the etc directory of the Jetty distro and explicitly -->
<!-- by the jetty.xml file. -->
<!-- -->
<!-- ===================================================================== -->
<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
metadata-complete="true"
version="2.5">
<description>
Default web.xml file.
This file is applied to a Web application before it's own WEB_INF/web.xml file
</description>
<!-- ==================================================================== -->
<!-- Context params to control Session Cookies -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- UNCOMMENT TO ACTIVATE
<context-param>
<param-name>org.eclipse.jetty.servlet.SessionDomain</param-name>
<param-value>127.0.0.1</param-value>
</context-param>
<context-param>
<param-name>org.eclipse.jetty.servlet.SessionPath</param-name>
<param-value>/</param-value>
</context-param>
<context-param>
<param-name>org.eclipse.jetty.servlet.MaxAge</param-name>
<param-value>-1</param-value>
</context-param>
-->
<context-param>
<param-name>org.eclipse.jetty.webapp.NoTLDJarPattern</param-name>
<param-value>start.jar|ant-.*\.jar|dojo-.*\.jar|jetty-.*\.jar|jsp-api-.*\.jar|junit-.*\.jar|servlet-api-.*\.jar|dnsns\.jar|rt\.jar|jsse\.jar|tools\.jar|sunpkcs11\.jar|sunjce_provider\.jar|xerces.*\.jar</param-value>
</context-param>
<!-- ==================================================================== -->
<!-- The default servlet. -->
<!-- This servlet, normally mapped to /, provides the handling for static -->
<!-- content, OPTIONS and TRACE methods for the context. -->
<!-- The following initParameters are supported: -->
<!-- -->
<!-- acceptRanges If true, range requests and responses are -->
<!-- supported -->
<!-- -->
<!-- dirAllowed If true, directory listings are returned if no -->
<!-- welcome file is found. Else 403 Forbidden. -->
<!-- -->
<!-- welcomeServlets If true, attempt to dispatch to welcome files -->
<!-- that are servlets, if no matching static -->
<!-- resources can be found. -->
<!-- -->
<!-- redirectWelcome If true, redirect welcome file requests -->
<!-- else use request dispatcher forwards -->
<!-- -->
<!-- gzip If set to true, then static content will be served-->
<!-- as gzip content encoded if a matching resource is -->
<!-- found ending with ".gz" -->
<!-- -->
<!-- resoureBase Can be set to replace the context resource base -->
<!-- -->
<!-- relativeResourceBase -->
<!-- Set with a pathname relative to the base of the -->
<!-- servlet context root. Useful for only serving -->
<!-- static content from only specific subdirectories. -->
<!-- -->
<!-- useFileMappedBuffer -->
<!-- If set to true (the default), a memory mapped -->
<!-- file buffer will be used to serve static content -->
<!-- when using an NIO connector. Setting this value -->
<!-- to false means that a direct buffer will be used -->
<!-- instead. If you are having trouble with Windows -->
<!-- file locking, set this to false. -->
<!-- -->
<!-- cacheControl If set, all static content will have this value -->
<!-- set as the cache-control header. -->
<!-- -->
<!-- maxCacheSize Maximum size of the static resource cache -->
<!-- -->
<!-- maxCachedFileSize Maximum size of any single file in the cache -->
<!-- -->
<!-- maxCachedFiles Maximum number of files in the cache -->
<!-- -->
<!-- cacheType "nio", "bio" or "both" to determine the type(s) -->
<!-- of resource cache. A bio cached buffer may be used-->
<!-- by nio but is not as efficient as a nio buffer. -->
<!-- An nio cached buffer may not be used by bio. -->
<!-- -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
<init-param>
<param-name>acceptRanges</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>dirAllowed</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>welcomeServlets</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>redirectWelcome</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>maxCacheSize</param-name>
<param-value>256000000</param-value>
</init-param>
<init-param>
<param-name>maxCachedFileSize</param-name>
<param-value>10000000</param-value>
</init-param>
<init-param>
<param-name>maxCachedFiles</param-name>
<param-value>1000</param-value>
</init-param>
<init-param>
<param-name>cacheType</param-name>
<param-value>both</param-value>
</init-param>
<init-param>
<param-name>gzip</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>useFileMappedBuffer</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>cacheControl</param-name>
<param-value>max-age=3600,public</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping>
<!-- ==================================================================== -->
<!-- JSP Servlet -->
<!-- This is the jasper JSP servlet from the jakarta project -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- The JSP page compiler and execution servlet, which is the mechanism -->
<!-- used by Glassfish to support JSP pages. Traditionally, this servlet -->
<!-- is mapped to URL patterh "*.jsp". This servlet supports the -->
<!-- following initialization parameters (default values are in square -->
<!-- brackets): -->
<!-- -->
<!-- checkInterval If development is false and reloading is true, -->
<!-- background compiles are enabled. checkInterval -->
<!-- is the time in seconds between checks to see -->
<!-- if a JSP page needs to be recompiled. [300] -->
<!-- -->
<!-- compiler Which compiler Ant should use to compile JSP -->
<!-- pages. See the Ant documenation for more -->
<!-- information. [javac] -->
<!-- -->
<!-- classdebuginfo Should the class file be compiled with -->
<!-- debugging information? [true] -->
<!-- -->
<!-- classpath What class path should I use while compiling -->
<!-- generated servlets? [Created dynamically -->
<!-- based on the current web application] -->
<!-- Set to ? to make the container explicitly set -->
<!-- this parameter. -->
<!-- -->
<!-- development Is Jasper used in development mode (will check -->
<!-- for JSP modification on every access)? [true] -->
<!-- -->
<!-- enablePooling Determines whether tag handler pooling is -->
<!-- enabled [true] -->
<!-- -->
<!-- fork Tell Ant to fork compiles of JSP pages so that -->
<!-- a separate JVM is used for JSP page compiles -->
<!-- from the one Tomcat is running in. [true] -->
<!-- -->
<!-- ieClassId The class-id value to be sent to Internet -->
<!-- Explorer when using <jsp:plugin> tags. -->
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
<!-- -->
<!-- javaEncoding Java file encoding to use for generating java -->
<!-- source files. [UTF-8] -->
<!-- -->
<!-- keepgenerated Should we keep the generated Java source code -->
<!-- for each page instead of deleting it? [true] -->
<!-- -->
<!-- logVerbosityLevel The level of detailed messages to be produced -->
<!-- by this servlet. Increasing levels cause the -->
<!-- generation of more messages. Valid values are -->
<!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. -->
<!-- [WARNING] -->
<!-- -->
<!-- mappedfile Should we generate static content with one -->
<!-- print statement per input line, to ease -->
<!-- debugging? [false] -->
<!-- -->
<!-- -->
<!-- reloading Should Jasper check for modified JSPs? [true] -->
<!-- -->
<!-- suppressSmap Should the generation of SMAP info for JSR45 -->
<!-- debugging be suppressed? [false] -->
<!-- -->
<!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
<!-- dumped to a file? [false] -->
<!-- False if suppressSmap is true -->
<!-- -->
<!-- scratchdir What scratch directory should we use when -->
<!-- compiling JSP pages? [default work directory -->
<!-- for the current web application] -->
<!-- -->
<!-- tagpoolMaxSize The maximum tag handler pool size [5] -->
<!-- -->
<!-- xpoweredBy Determines whether X-Powered-By response -->
<!-- header is added by generated servlet [false] -->
<!-- -->
<!-- If you wish to use Jikes to compile JSP pages: -->
<!-- Set the init parameter "compiler" to "jikes". Define -->
<!-- the property "-Dbuild.compiler.emacs=true" when starting Jetty -->
<!-- to cause Jikes to emit error messages in a format compatible with -->
<!-- Jasper. -->
<!-- If you get an error reporting that jikes can't use UTF-8 encoding, -->
<!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet id="jsp">
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>logVerbosityLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<!--
<init-param>
<param-name>classpath</param-name>
<param-value>?</param-value>
</init-param>
-->
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
<url-pattern>*.jspf</url-pattern>
<url-pattern>*.jspx</url-pattern>
<url-pattern>*.xsp</url-pattern>
<url-pattern>*.JSP</url-pattern>
<url-pattern>*.JSPF</url-pattern>
<url-pattern>*.JSPX</url-pattern>
<url-pattern>*.XSP</url-pattern>
</servlet-mapping>
<!-- ==================================================================== -->
<!-- Dynamic Servlet Invoker. -->
<!-- This servlet invokes anonymous servlets that have not been defined -->
<!-- in the web.xml or by other means. The first element of the pathInfo -->
<!-- of a request passed to the envoker is treated as a servlet name for -->
<!-- an existing servlet, or as a class name of a new servlet. -->
<!-- This servlet is normally mapped to /servlet/* -->
<!-- This servlet support the following initParams: -->
<!-- -->
<!-- nonContextServlets If false, the invoker can only load -->
<!-- servlets from the contexts classloader. -->
<!-- This is false by default and setting this -->
<!-- to true may have security implications. -->
<!-- -->
<!-- verbose If true, log dynamic loads -->
<!-- -->
<!-- * All other parameters are copied to the -->
<!-- each dynamic servlet as init parameters -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Uncomment for dynamic invocation
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>org.eclipse.jetty.servlet.Invoker</servlet-class>
<init-param>
<param-name>verbose</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>nonContextServlets</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>dynamicParam</param-name>
<param-value>anyValue</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping> <servlet-name>invoker</servlet-name> <url-pattern>/servlet/*</url-pattern> </servlet-mapping>
-->
<!-- ==================================================================== -->
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<!-- ==================================================================== -->
<!-- Default MIME mappings -->
<!-- The default MIME mappings are provided by the mime.properties -->
<!-- resource in the org.mortbay.jetty.jar file. Additional or modified -->
<!-- mappings may be specified here -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- UNCOMMENT TO ACTIVATE
<mime-mapping>
<extension>mysuffix</extension>
<mime-type>mymime/type</mime-type>
</mime-mapping>
-->
<!-- ==================================================================== -->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- ==================================================================== -->
<locale-encoding-mapping-list>
<locale-encoding-mapping><locale>ar</locale><encoding>ISO-8859-6</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>be</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>bg</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>ca</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>cs</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>da</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>de</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>el</locale><encoding>ISO-8859-7</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>en</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>es</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>et</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>fi</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>fr</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>hr</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>hu</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>is</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>it</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>iw</locale><encoding>ISO-8859-8</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>ja</locale><encoding>Shift_JIS</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>ko</locale><encoding>EUC-KR</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>lt</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>lv</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>mk</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>nl</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>no</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>pl</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>pt</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>ro</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>ru</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>sh</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>sk</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>sl</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>sq</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>sr</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>sv</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>tr</locale><encoding>ISO-8859-9</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>uk</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>zh</locale><encoding>GB2312</encoding></locale-encoding-mapping>
<locale-encoding-mapping><locale>zh_TW</locale><encoding>Big5</encoding></locale-encoding-mapping>
</locale-encoding-mapping-list>
<security-constraint>
<web-resource-collection>
<web-resource-name>Disable TRACE</web-resource-name>
<url-pattern>/</url-pattern>
<http-method>TRACE</http-method>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
</web-app>

360
plugin/templates/help.html Normal file
View File

@ -0,0 +1,360 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>I2P Firefox | HELP</title>
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABwlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADzlhbzeBbzfRbzihbzkxbzdRbzbBbzhhbzjxbzgxYDAQDzbxbzehbzgBbzchbziBbzfxYHAwEJBAHzjBYVCwIFAwAxGQQZDgIVCQINBwFuOQoeEAMcDgIQCQEpFgTwjBbphBXubBW/ZBGkTQ9yPwpVMAhWKAglEgPxgRbwkxXfdxTdaxTKbBLKZBLAahGiYw6IPQxkMQlDJwbqehXocRXnaBXdghTgZxTWfhPWdxPLcRK7XhHCWBG6WBG3URCZWw6KRw2YRQ2IUgyBQQtIJAdJLAY3HAUkFQPxiBbvdhbpfRXscRXcfhTWZRPKexLCeBK5cBG7bBG7ZxG8WBG0XBCsUQ+hWw6hTA6ITwx7OQt0OAtxRApuPQprMwpgNwhbNQhPKQdEHwY6IAUsGQTrjRXpjBXeiRThgRTgfRTibhS0aRCsZxCYTQ6TTQ2RTQ19SwtPLge07EnRAAAAJHRSTlMABK+M1/Xz7YlpJRoMBtzNyIRWT+T7tJBwbl86NRAO5cTCtYFtLGI6AAAEcklEQVRYw5XXd0PTQBQA8LSltUCVlqGIuB9gWScFUxtKF6MLREBkyFC2gHvvvff6vt57ubYkTWr8/ZGmJXfk3ch7kcxU1rjt3loAqKutsvuqK6X/0ugoA50yxwGrrT31e8BQWf1BC80PuV2Qx/o4KHD5PFJptvJdoIpnntydHziNbtx98joEql3ltlLtK7xAwi8m2nUm0qKPoxXm7RucgHrXhtoMDKX6ATmrzW7fASj26ISZK49igPYZhrHbTsOWHuzp6fmS2U5f6TEw+IIBZ99t0H4vDd0y3uzssAzyWpuhZZqVvUU92OwU/Wg7eiXjebux0V66B30UFP/mIIW6SLcZPCEMftaOxOAUjYO2fTVwb4dOkrcM0Cx9GcoyiF06udPQZeAaNPPvxHu+1kkWQTWGX0Yu83BYolPjGkbhrNgxAEdw8VzoUL1WAMnf8AsNByQ6tC6E+Y/ewjCU4/wtdau+ykCCa/zLU4X6etmts4RRlue3H67/aEBYDYoONgKBnwwQGwvoRXFfHBIdHMf199EvbIOQ8X9nQPr9RT7gmnRL5CDu31SrMM5AGL6fC2a1tVgKd7e6uffjxS05UWpFIuKTjbYYwJnYLyF8ep1rEs6EIIcp4nOzycg5/qc92P4AP+m72ixcZKCnPGw2chWnslEs4mddOeeLO2Cs//yP8eYuPZwIh4jgdj6CBBhhQZA3P+liuK3GUMk/Qi05GIEJ5U2LTpz/WinV8GM2HxhGYEaeadbK8h9rJB8/rvsFjMCUvOLXWqe1dIwfk6eEJIMSek9pJfHBIlXx49lW4aUMpdxs1bjJf6qSDvNjR04YSpGfd2gxgMNSHZ+ETmGMQUnsza+xkc4CXLUSrsOTwlMZSmNBJm89ezgnru8THYROC9tghSzDHzVphnIdtKsWwCp2jxrwDupwEFmbajIIFsnL1ICf1dI0LpwgU2DZIl5/g6YRM9JEDwmDZQt4/T1+ckxy8+NkG5oF6+YoZH7io82UUUsIBpZRgwxuJtrOcRqCFctjKPJmiLazhCUZ5T7cyhYl8PpLWLiJR1q0k9sCixRlFa9Pi0daI+bFAb41ImANm5rv4AYwAiw+KYbH3d1zFtdQX6qbpDCCfGJ5Hwg8UKyMHotOB8jIcD6xeFyYWfzrwX82Vt79vuUXMK+4ROnrxpm8ni3dWH63sXS9NW8Gk+vxXHlM6b2/xLBtbSS7WjQovXs0BUa/Yvrvnzfp3REFhmDz4lPBdBrlB806Z3EKj9h0RdYwM1s4F7u0ZjRFFmkAnEuzHm41aZyhB4eu5N5HpYxJD+Oa8ZumMtFhWOrGmHEHmvhFqWtcbCciMhSb9xfciYti26zcjxnM5uipnOm0cblPbPsA9RXdRCF3Po4Bcpi9N1U7AYWDui7UInhgpReQs6HES9dRIJEw7NxamA+T0TAQb4W1175InHcRREy5P5mNW3ntIx6fCwoikUiCQZ7LfUj6t4P1ZWBoT71HsuiA0ct3o/RfKqt99qraOsyfXru7xvT1/y8HBiJNY8d/vwAAAABJRU5ErkJggg==">
<style type="text/css">
html,
body {
min-width: 800px;
min-height: 100%;
line-height: 1.4;
font-size: 14pt;
font-family: "Droid Sans", "Open Sans", "Noto Sans", Ubuntu, "Segoe UI", "Lucida Grande", "DejaVu Sans", Helvetica, sans-serif;
color: #ccc;
background: #111;
overflow-x: hidden;
scrollbar-color: #222 #111;
}
@supports (background-blend-mode: overlay) {
html, body {
background: repeating-linear-gradient(45deg, #333, #111 2px, #111 3px),
repeating-linear-gradient(135deg, #444, #333 2px, #222 3px) #111;
background-blend-mode: overlay, normal;
background-size: 100% 100%, 100% 100%;
background-attachment: fixed;
}
}
::selection,
::-moz-selection {
text-shadow: none;
background: #431;
color: #fff;
}
code::-moz-selection,
#b64::-moz-selection,
code::selection,
#b64::selection {
background: #150;
color: #fff;
}
p,
li,
code {
text-shadow: 0 1px 1px #000;
}
#container {
padding: 5% 15%;
}
#panel {
padding: 20px 40px 15px;
font-size: 85%;
text-align: justify;
border: 1px solid #555;
box-shadow: inset 0 0 0 1px #111, inset 0 0 2px 1px #444, 0 0 2px 2px #000;
background: #181818;
background: repeating-linear-gradient(to right, rgba(255, 255, 255, .05), rgba(0, 0, 0, .08) 2px),
repeating-linear-gradient(to bottom, #222, #111 2px);
background-blend-mode: overlay;
will-change: transform;
}
@supports not (-moz-appearance: none) {
#panel {
background: repeating-linear-gradient(to bottom, #222, #111 2px);
}
}
#sitename,
#sitename:hover,
#sitename:focus {
margin: -8px 0 -14px;
display: inline-block;
font-size: 500%;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}
#sitename::before {
margin-top: 4px;
display: inline-block;
content: "";
width: 68px;
height: 56px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAABdFBMVEUAAADOzs7g4ODb29vZ2dnd3d3T09Pi4uLq6urr6+vX19fk5OTl5eXm5ubp6ene3t7h4eHk5OTn5+fo6Ojk5OTm5ubq6urp6em7u7v///8dEgrX19fg4OBSPTF/W0VsTzxKNywgFg/k5OTS0tLAv7/p6Oh3VkHv7+9iRzjNzc2EX0hyUz9aQjRnSzra2trJycn19fXGxsby8vJfRjXDw8P7+/vc3Nw/MScmGxOIYUlEMyn4+Pg6KyItIRoxJRzq6up6WUXPz8+KZEw0KCA8LSWwrau/t7FgV1JFPDe5uLe3tLKzsbC6raStopqZlZSIg4GgjICEa1zc1dHDubOgnZuyoZapmY+mk4eVioRtVEXCvbqsqaiFgH2AenZ1b2qKdWdpYV5RR0I8Miy9saqxqaWSc192ZVrUzsumo6Gypp6jmpSSg3mXemluZ2JjXVhZUk7j3tnLwLm9ubech3qZgXJ/ZVNnWE9wXE5fS0A+NjGNiYbSycJQXgkWAAAAGHRSTlMA/NAH6uD4vEk+7qymkGPbwp96b7GFNSKLdq62AAAFzUlEQVRo3qzTSW/aQBgG4DE4G82etH1HbWIUDWCRRIGAIyU9FCGB1BQkFrFeOBCIshzaZpX65wvGIeOBjMc0j82Bz2ZeZvmIss9by4G5obX15c1P5F0tbesag0ta09cXybv4qCdhY6ydH6q2GRvFHekrQfJ/NkNpe+x87fbU5b6Wt0OYvkpm90EDwKqNbHyqbL3KAGgLs00jGEgCGIx+KtNoA0guEP+WjwDW7WU99QoMONom/qxqALvKniopDyM0X2cqwIBuNq4sO4hgAaJqUQPavbgvtwzQlhRXn4HV4r7VGNIrSssDsN7uDHoM8F6moA7kd2cTzwMhr/HngavdmdWA+aDX+I1dl7tq4VY9oe6RMA+Uoi4FSql1H1VWkiaEJsav0aFI1FeCLjk/9YxLx6K224y6xptnaQUoRt1+0ZFa1Ici8IFMsZRGft+tRB2/B18M+8MxJj6OLti0ntbAMvsu0Qh1VLjqQ6Hy629pXyLKoE3bAFYWXqzTF5HXYifmzEmizCa3YZGhbggi9EViXHs4dkplQ6IOtjrRAW1DcEdf7Tu1zEuolTFk/oiLtA028ZcqXMCDYRsfK1oxpMrABuEd4WriHcrp2KXW5bhQMuQukOQbegGsdSjoUs69XfrNbcqhXMu1z8EkiocCI0E5jWGpQMeqh16ukZRPoER5hUGlzi+ZZ4DBuH7WUDRFFcq7NM07i45FTG8XrwdpFWilBE8W5cXMDl8opry1gC0youOPKSpStyK/JdaTqeAcIWeLGW5M0R6VqJgqbpAmthWwlKhvWfTNy7pJqTAZPjordH4gupIFHJsHSs6hO13cPBBFLImTTksp4GbUCovAs/iob3n4Wm2Un70CTGDJ7jLsiC6+KUhUus3Ujsyo10LI7Yj2vin6ciALyEG327gpPugnlDVlAU27mdPoiw+K6gGXsoAnMEI+AWHRSSJxrHglHsMSwGeyCSaWH499uJYFMGyRjclDdO0n4ER+jDbIOn6IuZcxP/qSGfxAgKzh55nbc8yXi7Oz8NRrIIc1MoecENv0F7C3E35TDnOjgDPuDqdj32M+7lgzbP9OvLmAf63ay2+iUBgF8AtlprU++m5PKAtpPxfdlJCQljSlk4k2oCa6cTU+omYWZhJrMotJ2r9+AhGBggjc/sTNXZwTicnV7/IUMWv8yKfx51/9Kdm64DFi3Mjv5ldvMnuMcwuOPhd0GgXd/u7b9WhWF0dMRCeyVlcaHJSOHQ5r45idAM9hyxs+9/VQGHDCzkCRgsUNp2kojHDKroBWyOM1d0EoDbhkjDALddoKLzsUBsPbcEYvgbHCaxaE9b0NR8IwVDBQHhSuS6kHYUNvyywDzcBfhdc8CAPcaWEJaAal1w+8gqwW4A3ydEwsn3PP687amEBjLgmvlu+Nu8AICtxfLa4L0Iu/Nr7m1Q4KCFXmMbA01wbcBUPTtwTt+WOiV38R3AU909fdDI7OgLnpsW558wctP38O1II/gete55YPrcyNXmiaUAaZqsvmir8bm+qGRQjN5HX0VdeIJ38wV0N6kVmCCLK8L9HPwsg2w/wPEMwSBm4t7ooaWWpEDxoLOwHeZdkqFt79sJtylBMbDAroqqpTILxvN9W4dmxqVyOM1KmWix8eNwIdJExlnb6WWWe0asrbvBNEFiOgvdA0PdNLe5NTmIDA4kqEjp5RT00zhFFiCcpAW89mqaboA9Wtw3EYmaTdoUnKQYsEIt6CKXCYdgBCmazUbabAd8Z2NBi7Llql3J/dhzi020xO9uHlpztEBskF6gKQ9tguIlyU8gYcNYHTBkSWQdXALo4cNwaowjIpCfkL3ru5TnxFQqq5HGUNABJZDgdCjgKzT4BQY/mca9iuJQeaPQK0CstvX8c2z7JvOgSgiwWfS9gXkMySXeZkSACEMiuuJlFygTNewGUcnjI+e1VJw2frVl26YF/i4FgSDESQIJ2X2Je6PK0cH31ziZWzK5bVf0D9anRc2+uqAAAAAElFTkSuQmCC) center center no-repeat;
background-size: 56px 56px;
opacity: 0.7;
filter: drop-shadow(0 0 3px rgba(0,0,0,.75));
}
hr.heading {
margin: -10px 0 15px;
height: 1px;
color: transparent;
border: none;
background: repeating-linear-gradient(to right, rgba(255, 255, 255, .05), rgba(0, 0, 0, .08) 2px),
linear-gradient(to right, #888, #666 20%, rgba(0, 0, 0, 0) 90%);
filter: drop-shadow(0 1px 1px #000);
animation: ease-out underline 1s forwards;
will-change: transform;
}
@keyframes underline {
from {
width: 0;
}
to {
width: 100%;
}
}
#v {
margin-left: -10px;
}
h2,
h3 {
color: #ccc;
text-shadow: 0 0 2px #181818, 0 3px 1px #000;
}
h2 {
margin-top: 10px;
}
h3 {
padding: 5px 0 0;
}
h2::first-letter,
h3::first-letter {
font-size: 114%;
}
a:link,
.urls li {
font-weight: bold;
text-decoration: none;
color: #c4ad9d;
outline: none;
}
#local {
font-weight: normal;
color: #bbb;
}
a:visited {
color: #a98770;
}
a:hover,
a:focus {
color: #e88b44;
}
code,
#b64 {
white-space: nowrap;
font-weight: bold;
font-family: "Droid Sans Mono", "Noto Mono", "DejaVu Sans Mono", "Lucida Console", monospace;
font-size: 90%;
color: #292;
-moz-user-select: all;
-webkit-user-select: all;
user-select: all;
}
#b64 {
margin-bottom: -5px;
width: 100%;
display: inline-block;
white-space: no-wrap;
overflow: hidden;
text-overflow: ellipsis;
}
#b64:focus {
white-space: normal;
word-break: break-all;
overflow: normal;
outline: none;
}
.warn {
margin-top: 18px;
padding: 15px 18px 15px 54px;
line-height: 1.2;
border: 1px solid #900;
border-radius: 4px;
box-shadow: inset 0 0 0 1px #000, inset 0 0 2px 1px #900, 0 0 2px 1px rgba(0, 0, 0, .2);
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAhCAMAAAEaI3KMAAAACXBIWXMAAA7DAAAOwwHHb6hkAAACbVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQECAgIDAAADAgIEBAQGBAQGBQUGBgYHAQAHBwcICAgJCQkKAQAKCgoLAQALCwsMCwsODg4PDw8QAQAQAgASAAASAwAVCwsaGhobDw8bExMbGxskHx8mJiYpAwAqKiotKysuAQAwLi4yMjI8HR08JiY9CAA/CAA/Pz9BQUFDQ0NKBwBLPDxLS0tTAwBhBABmZmZpAABpPT1tEABvEAB4RUV4WFh4a2uCBwCECACGhoaHeHiUAQCWFgCaFgCclZWkDgClVFSlb2+0lZW0tLS2FQC4BQC9vb3GGQDGxsbIVlbKWFjMFwDOCgDPfn7RFADUrKnV1dXWCgDWEgDWLR7YBATYEADYg4PZ2dnaAwPakozbEADbp6fbysrb29vezc3e1NTe3t7hDQDhIxjk5OTlb2nlcWvmCwDqwL7qysnq6urrCQDrDAPrDgbtAADtgIDv7+/wQkLwS0bxBgDxPTjzBADzhITzq6vz8/P1oJ/1qKf19fX2BAD209P51tb7AgD7HBv77+/7+/v8/Pz/AAD/DAz/amr/bm7/cnL/enr/goL/ior/k5P/lJT/mJj/m5v/o6P/q6v/s7P/t7f/uLj/u7v/vr7/w8P/xcX/yMj/y8v/09P/2Nj/29v/4+P/5OT/6en/6ur/6+v/8fH/8vL/9PT//Pz//f3////ZtbwoAAAAJXRSTlMAAwYMEhUYGyEkMDxCS1ppeISHkJacpairtMPP2Nvk5+3w8/n8UHR7egAAAp9JREFUGBmFwYlDi2EcB/BvB6lRjoxOS/1ykzPkFrmv3GdCyZEzLMRcrZdhjjG3MV4du/S2aU1puXn+Js87G/WWfD4I8W4FkMpaARgEwYAexAHQgFM1gbOPtAPThPUCQNxQyOb5w/Db2aYsKR4y62txgWglILosaDVkQxAS5p+HoK1NXhUC4qVxjccRYG/NYvZUcGQVF4uvreAMgrBeEAyTgNVlQb2QRkE9EaK+fFENhbQWToMOyO3++dPtJrQz2+lkmdnM6ZyJkJgN9+oYmzuZsbp7G2IQ0P+A+b7JZCooMJlMD8wH+oNLOaM7X8GtWlXBndedSQGSSztJRoiKekNpypcxUEh66X+RhA6i1rS0tKzpgfbI6/3q9RLaidvrbmTv3Hvj8NcoSbpEJyVpBP5IfORsfkIHm513ExEUucRuZ4xuMrt9SQR+yzhd+5kxYuxz7bkMBMQWWl+JokiiKL6yFsZCRmaziSMTZzYTuIRThmsCRwJ31XAsAQjP1ekqZFQh0+lyw5FeppSO5aVKy6AmpUFQitIs2rMwLQr/oaKdbW1t20iFbsVRyQdZCcWhG+rRF3w+33ufz3dhtBr/EpY057HH4/Ezv8fjeTwnKQxditQsbeA+5VP+xwZuqSYSXYjJ2OJyueq/HxpP2fu+1btcro0ZMegkloodDsfbH4wNo4kn2Y+3DoejmGKhED/8iM1mkxg3legNY0yy2WyHhw9AB4k5d6qrayQmm0+zmEyqqa6+k5OIvyJS8x5aLJZnzwNW0ornAU8tFsvDvNQIBEWnrzMajbdv3FS6fstoNK5Nj0ZAH9qh1+urrlQGZVJmZdCVKr1ev536gOtHRVqttvxE18q1Wm0R9QUGTth/9H/2j43HoBmbd+3u3q5N0wf/ApzdYLKMtOjLAAAAAElFTkSuQmCC) 12px center no-repeat, repeating-linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(64, 0, 0, .2) 2px), linear-gradient(to bottom, #222, #111);
background-size: 32px auto, 100% 100%, 100% 100%;
will-change: transform;
}
.emphasis {
margin-top: 4px;
display: inline-block;
line-height: 110%;
color: #900;
font-weight: bold;
}
ul {
margin-top: -10px;
}
ul#config {
list-style-type: none;
}
#config li {
padding: 10px 15px 5px 0;
position: relative;
}
#config li::before {
content: "";
display: inline-block;
width: 25px;
height: 20px;
position: absolute;
top: 12px;
left: -22px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABwlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADzlhbzeBbzfRbzihbzkxbzdRbzbBbzhhbzjxbzgxYDAQDzbxbzehbzgBbzchbziBbzfxYHAwEJBAHzjBYVCwIFAwAxGQQZDgIVCQINBwFuOQoeEAMcDgIQCQEpFgTwjBbphBXubBW/ZBGkTQ9yPwpVMAhWKAglEgPxgRbwkxXfdxTdaxTKbBLKZBLAahGiYw6IPQxkMQlDJwbqehXocRXnaBXdghTgZxTWfhPWdxPLcRK7XhHCWBG6WBG3URCZWw6KRw2YRQ2IUgyBQQtIJAdJLAY3HAUkFQPxiBbvdhbpfRXscRXcfhTWZRPKexLCeBK5cBG7bBG7ZxG8WBG0XBCsUQ+hWw6hTA6ITwx7OQt0OAtxRApuPQprMwpgNwhbNQhPKQdEHwY6IAUsGQTrjRXpjBXeiRThgRTgfRTibhS0aRCsZxCYTQ6TTQ2RTQ19SwtPLge07EnRAAAAJHRSTlMABK+M1/Xz7YlpJRoMBtzNyIRWT+T7tJBwbl86NRAO5cTCtYFtLGI6AAAEcklEQVRYw5XXd0PTQBQA8LSltUCVlqGIuB9gWScFUxtKF6MLREBkyFC2gHvvvff6vt57ubYkTWr8/ZGmJXfk3ch7kcxU1rjt3loAqKutsvuqK6X/0ugoA50yxwGrrT31e8BQWf1BC80PuV2Qx/o4KHD5PFJptvJdoIpnntydHziNbtx98joEql3ltlLtK7xAwi8m2nUm0qKPoxXm7RucgHrXhtoMDKX6ATmrzW7fASj26ISZK49igPYZhrHbTsOWHuzp6fmS2U5f6TEw+IIBZ99t0H4vDd0y3uzssAzyWpuhZZqVvUU92OwU/Wg7eiXjebux0V66B30UFP/mIIW6SLcZPCEMftaOxOAUjYO2fTVwb4dOkrcM0Cx9GcoyiF06udPQZeAaNPPvxHu+1kkWQTWGX0Yu83BYolPjGkbhrNgxAEdw8VzoUL1WAMnf8AsNByQ6tC6E+Y/ewjCU4/wtdau+ykCCa/zLU4X6etmts4RRlue3H67/aEBYDYoONgKBnwwQGwvoRXFfHBIdHMf199EvbIOQ8X9nQPr9RT7gmnRL5CDu31SrMM5AGL6fC2a1tVgKd7e6uffjxS05UWpFIuKTjbYYwJnYLyF8ep1rEs6EIIcp4nOzycg5/qc92P4AP+m72ixcZKCnPGw2chWnslEs4mddOeeLO2Cs//yP8eYuPZwIh4jgdj6CBBhhQZA3P+liuK3GUMk/Qi05GIEJ5U2LTpz/WinV8GM2HxhGYEaeadbK8h9rJB8/rvsFjMCUvOLXWqe1dIwfk6eEJIMSek9pJfHBIlXx49lW4aUMpdxs1bjJf6qSDvNjR04YSpGfd2gxgMNSHZ+ETmGMQUnsza+xkc4CXLUSrsOTwlMZSmNBJm89ezgnru8THYROC9tghSzDHzVphnIdtKsWwCp2jxrwDupwEFmbajIIFsnL1ICf1dI0LpwgU2DZIl5/g6YRM9JEDwmDZQt4/T1+ckxy8+NkG5oF6+YoZH7io82UUUsIBpZRgwxuJtrOcRqCFctjKPJmiLazhCUZ5T7cyhYl8PpLWLiJR1q0k9sCixRlFa9Pi0daI+bFAb41ImANm5rv4AYwAiw+KYbH3d1zFtdQX6qbpDCCfGJ5Hwg8UKyMHotOB8jIcD6xeFyYWfzrwX82Vt79vuUXMK+4ROnrxpm8ni3dWH63sXS9NW8Gk+vxXHlM6b2/xLBtbSS7WjQovXs0BUa/Yvrvnzfp3REFhmDz4lPBdBrlB806Z3EKj9h0RdYwM1s4F7u0ZjRFFmkAnEuzHm41aZyhB4eu5N5HpYxJD+Oa8ZumMtFhWOrGmHEHmvhFqWtcbCciMhSb9xfciYti26zcjxnM5uipnOm0cblPbPsA9RXdRCF3Po4Bcpi9N1U7AYWDui7UInhgpReQs6HES9dRIJEw7NxamA+T0TAQb4W1175InHcRREy5P5mNW3ntIx6fCwoikUiCQZ7LfUj6t4P1ZWBoT71HsuiA0ct3o/RfKqt99qraOsyfXru7xvT1/y8HBiJNY8d/vwAAAABJRU5ErkJggg==) left top no-repeat;
background-size: 14px 14px;
opacity: .85;
filter: saturate(0) brightness(1.6) drop-shadow(0 1px 1px #000);
}
#config li br {
display: none;
}
.urls li {
margin-left: -15px;
list-style-type: none;
}
.urls li::before {
margin: 2px 0 -3px;
width: 22px;
height: 20px;
display: inline-block;
content: "";
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAABEVBMVEUAAAAAAAAAAAAAAAAAAABDREYAAAAAAAAAAACDhYgAAABmaGuPkZRZWlyFh4oAAABkZWcAAAAAAABRUlRiY2ZPUVN4eXtydHdcXV9YWVtCQ0QxMjM2Nzh6fH6DhIcAAAAAAAB3eXt3enxoaWtlZ2p2d3pwcnWCg4Z7fH5OTlBnaWtdXmAxMTJXWFoyMjRAQEIAAABeYGJmZ2qIio2jpKfx8vOKjZDLzM7v7+6wsrWdnqCAgYSbnJ6Nj5KMjY58foFxcnXp6urh4uTOz9KztreYmp2QkJOFh4uSlJaPkJF/f4NVVljR0tS/vsC8vsCsrrKgoqSXl5uQkpN6e31ub3JsbXBdYGJaW12/v8G+vb+SlJjRk2qVAAAAMnRSTlMABAwWJ4UHQiBhEWDohWEw7ToU8e3r5dKRg3tpXz05Nw/v7ejEvrGtfHRtaGZXV0w5MLROkgwAAAE3SURBVDjLndHXcoJAFIBhlyWEGA2WJJY003tjAQ2hKQIGe4tJ3v9BsjDOeLEcLzy335nZPfOnNpzTjEnILYIY7SnNVm/g2QLgO4ra/jPHw8kNgvyDlJ9KvuJwoGcl/sUezQtJ78fO17i7X0/G7MJJ5BWeQ7thPcixC0Km2Sb3kX/WNfk4zSykzVZn6lwKsW+J7J1Yc21dXTzHziccgYlvNKzu0lHCwnnkPy7k6FBvWN+6Eazxr6Izk/ePqDP9NHJB/WCbzplInenn+gb1vIgxTgsJ/To2/V8xjxHUZxr9zxFBrzqq1dVnGOpXecst5L4B9svyolQNXagfdU54XNOvHPUF+5Ge+VqjDvcbjEvvDyHYr3DtDX27D3qKk+yJMvICyFMI56+c+aofOwKWVv0SB3GFuN9m8w950jtLubKVyAAAAABJRU5ErkJggg==) left center no-repeat;
background-size: 16px 16px;
filter: sepia(1) saturate(.4) drop-shadow(0 1px 1px #000);
}
.external::before {
content: "";
display: inline-block;
width: 16px;
height: 14px;
vertical-align: middle;
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAC61BMVEUAAAAAAAAAAAAAAAAAAAAAAAAYf7wbfa8AAAACDBESfbwZbpwVd64dgLITfrUVfLcadqkVX4YXZ5AKLT8MNUkEExsAAAAAAAAWcqQMOlIUaJQeeqoXerMXeq0WfrgVfrMUYYsUYYgypuIintwso+AmoN6f6QAYmNk5q+U1qOUem9oVgcoZgrec5gCa5QCN2wC/6P0yp+6h6wGd6ACY4wCQ3gBRufApot4bmtwSldcLktYDjdUbhL4fhrsehbmu7Rqq8QCl7QCV4gA6qv6m3Pmg2vlJs/RkwPI5q+xGsucZmOc/ruYHjt7i/Jmx7iyV3wCw4v+L0P/G6v665f2s4PzQ7fu04/uX1/iHz/V7y/U4qfROt+xHsuwRlN0NfMHj/3iK2hx2zhmS3wGe2v8vpP+l3/6X1P1Wuf2X2fyQ1PkooPUamfJcve8rouQRlNY/m84fjsUSiMVVu7RjxKdJtZM/rYbS9oPb+oLT+GnF81eD10W48Dm38iGf5x2R3xKw8wWc4QKG1wKe6AC15P9gvv8dmv/a8f56yf6Gzvo8rfduyPV0x/JVvPKv4+4Oku0noes+relxveQmn+S95+MRlOOn399ruN9Xu9NAr9Akls8Zks8Ih85isszr/sEOfcHJ8btOt7eb3rQnobKHy7BAr7BntKpOuaVNuJ5xzZlkw5fl/o+q34+g145dwIbG7oV20YGBzXpYvm+w5m1vym1uymTO+FyS3FZ1z0zB9EWP2kOc5kKx6UF2zjrB9DlqyDh40TSE1y6l5Rao7BGp7w990wuq7Adtxf+w3+kwn+eY2ONiv9qIz9ktndVUqtRjwdMnlNPF7NENgtG96c4Li8tvyMcwpcZOtr/h+76157wUjLwdm7tEnbbl/LFTqazV9Kq97qUnn6Momp9Xu54fnJ6Pzpt6wJmH1YJiw3k6rHbh/3V/13SJ22V70l2b4Fy27Fi68FZTuVNcv0ij4TprySaF1xSU4RCc6Aie4Qa4/QHF9Rd9AAAAInRSTlMABhYPNh3q3EIv07J37OfC0ZmNWUxLOikiGQ7NnZ2ZmSkpxqDDBgAAAzRJREFUeNplklNgJEsAAHeWcc56DNa2bdsb27Zztm3bNp9t2zY+r2f2nPqtajfqPjMy0rYUArakZcxAjWVammL3oc4iQOeh3YrsaY9o6CnG1z8ccB7o6v71zIXL3V07FU9CD/mspsXvbXY6Vz63utJbtUd3vedIEx560K/hbP7Y+aknYAjXzJtbf1Yn/PPIJlDc9/45QWfXSo/BWOl9aecs/boRofvEvQJ6oqliTtDH2fpmoKzSe8KlPrPWUn58hH3wo8eTRQ7DyAH+9c7T75e9ELn4ywDp2rV1e0uEuw7Sn0YmyF5eDY/vPt3T81tfv/rbFweL9Vxu7Tsl17/JhqeYrqo2+jj+mTM/O3euz6V+5hhrP+tdS24D8dbIRfp0MEHGKwv8/lDI41l8GfZvHx1t08coufkr6q4Mf5IBoSDC8kWcUCBQUbG636W+MVC1jzm4fz41N59o62AfS4NQGEZUFDIYjGXV2/vVN3gkUi9LwDzFBYFkCfs8HYNCMxaIDMZwuMa7fegmj8Rn/iMQFH/JzRXnSZaU/EdHg8AsioZrIvPmujRaOBCwdCdj1HwQrPp9GAkWicyRSDT67M1kwGKe0sNbyJMU7EgGpn0m88KF5lk/JQMmSW+hghVoZKnDoYAD6/9rTfXm+qpXh7Q8sEnS2Rg8AQgaZXIVCAjPX/jRFI/HRaIBjVbbe3JwGzgCMoFM/hYBjcJMeK3taCJhTcRNbec1P5eXbztcu3TFnQlaJmBQUKrCYllmt1qtifmtQ/+2Fu/5rvRSnc22qsAhlytTwU3iCC9TKBQ7YFmstZevOTx7dnv78R0djs+/3/gYDrwWZpIql0qlwFDBI+4d3VXMEujcbrfgK8UkDPzcuPTm3Ls0NCyta+frSoVsNvuvN9LBBABMaub6/CRiMTHPdpUFe+GtD/CpmOSXQ2Mz1xNh8gAS29VRMIO7ZCMeiwYTJIspmc3A0QBkckHBpb8FrD9a8FMQf3eOdOUGCRkglTY6PuRf+YKejoy/X6ROHKds3iCVymQyeUcLfdzE1Ac9KDA47OTxBJVKqVQpCeMnY3EY2D+STMWmIGCnjtVIAmHQCBjoAX0bgdwQZFvzARQAAAAASUVORK5CYII=) center top no-repeat;
background-size: 12px 12px;
opacity: .7;
}
.external:hover::before {
opacity: 1;
}
@supports (-webkit-text-stroke-width: 1px) {
#sitename,
#sitename:hover,
#sitename:focus {
background: #731;
background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .2), rgba(0, 0, 0, .5) 2px),
linear-gradient(to bottom, rgba(255, 96, 0, .2), rgba(0, 0, 0, .9) 100%),
linear-gradient(to bottom, #210, #310 15%, #fff 50%, #310 80%);
-moz-background-clip: text !important;
-webkit-background-clip: text !important;
background-clip: text !important;
-moz-text-fill-color: transparent !important;
-webkit-text-fill-color: transparent !important;
text-fill-color: transparent !important;
filter: drop-shadow(0 0 2px #000);
-webkit-text-stroke-color: #999;
-webkit-text-stroke-width: 0.02em;
}
#sitename:hover,
#sitename:focus {
background: #951;
background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .2), rgba(0, 0, 0, .3) 2px),
linear-gradient(to bottom, rgba(255, 255, 255, .2), rgba(0, 0, 0, .7) 100%),
linear-gradient(to bottom, #930, #d50 15%, #fff 50%, #930 80%, #000 100%, #ff0 150%);
filter: drop-shadow(0 0 2px #b00);
-webkit-text-stroke-color: #bbb;
}
}
@media screen and (max-width: 1200px) {
#help {
font-size: 90%;
}
.external::before {
margin-left: -2px;
}
#sitename::before {
height: 52px;
background-size: 52px 52px;
}
}
@media screen and (max-width: 1400px) {
#container {
padding: 2% !important;
}
#panel {
padding: 20px 35px 10px;
}
#sitename,
#sitename:hover,
#sitename:focus {
margin: -14px 0;
}
code:not(#b64) {
display: inline-block;
white-space: normal;
text-align: left;
}
br + code {
margin-top: 3px;
}
#config li br {
display: block;
}
}
</style>
</head>
<body id="help">
<div id="container">
<div id="panel">
<a href="http://127.0.0.1:7662/" title="Firefox Manager Homepage" alt="Firefox Manager Homepage"><span id="sitename">I2P Firefox</span></a>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,25 @@
<!DOCTYPE HTML>
<html>
<!-- edit this file if you want to change your home page -->
<head>
<meta charset="UTF-8">
<title>I2P Firefox</title>
<style type="text/css">
body, html {min-height: 100%; font-size: 0;}
body {background: #111;}
body {background: repeating-linear-gradient(45deg, #444, #333 2px, #222 3px), repeating-linear-gradient(135deg, #444, #333 2px, #222 3px); background-blend-mode: multiply, normal;}
</style>
<link href="/firefox.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="container">
<div id="panel">
<a href="/launch" title="Launch Firefox configured for I2P"><span id="sitename">i2pfirefox</span></a>
<span id="footer" class="b32">$B32</span>
</div>
</div>
</body>
</html>

293
plugin/templates/jetty.xml Normal file
View File

@ -0,0 +1,293 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<!-- ========================================================================= -->
<!-- This file configures the Jetty server. -->
<!-- All changes require a restart of I2P. -->
<!-- -->
<!-- Commonly changed settings: -->
<!-- * host: Change 127.0.0.1 to 0.0.0.0 in the addListener section -->
<!-- to access the server directly (bypassing i2p) -->
<!-- from other computers. -->
<!-- * port: Default 7662 in the addConnector section -->
<!-- * docroot: Change the ResourceBase in the contexts/base-context.xml file -->
<!-- to serve files from a different location. -->
<!-- * threads: Raise maximumPoolSize in the ThreadPool section -->
<!-- if you have a high-traffic site and get a lot of warnings. -->
<!-- -->
<!-- I2P uses Jetty 9. If you need web server features not found -->
<!-- in I2P's Jetty 9, you may install and run Jetty 9 in a different JVM -->
<!-- or run any other web server such as Apache. If you do run another web -->
<!-- server instead, be sure and disable the Jetty 9 server for your -->
<!-- eepsite on http://127.0.0.1:7657/configclients.jsp . -->
<!-- -->
<!-- Jetty now uses the I2P logging system rather than wrapper.log. -->
<!-- Use the log override org.eclipse.jetty.server.Server to adjust the log level. -->
<!-- -->
<!-- Note that the XML encoding for this file is UTF-8. -->
<!-- -->
<!-- ========================================================================= -->
<!-- =============================================================== -->
<!-- Configure the Jetty Server -->
<!-- -->
<!-- Documentation of this file format can be found at: -->
<!-- http://docs.codehaus.org/display/JETTY/jetty.xml -->
<!-- -->
<!-- =============================================================== -->
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<!-- =========================================================== -->
<!-- Server Thread Pool -->
<!-- =========================================================== -->
<Arg>
<!--
Requests above the maxThreads + queue_size will be rejected and logged.
ref:
https://wiki.eclipse.org/Jetty/Howto/High_Load
http://trac.i2p2.i2p/ticket/1395
-->
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<Arg type="int">20</Arg> <!-- maxThreads, overridden below -->
<Arg type="int">3</Arg> <!-- minThreads, overridden below -->
<Arg type="int">60000</Arg> <!-- maxIdleTimeMs, overridden below -->
<Arg>
<New class="java.util.concurrent.LinkedBlockingQueue">
<Arg type="int">50</Arg>
</New>
</Arg>
<Set name="minThreads">4</Set>
<Set name="maxThreads">20</Set>
<Set name="idleTimeout">60000</Set>
<Set name="daemon">true</Set>
<Set name="name">I2PFirefox Jetty</Set>
</New>
</Arg>
<!-- =========================================================== -->
<!-- Set connectors -->
<!-- =========================================================== -->
<!-- One of each type! -->
<!-- =========================================================== -->
<!-- Use this connector for many frequently idle connections
and for threadless continuations.
Not recommended on Java 5 - comment this out, and uncomment the
SocketConnector below.
Do not use for gij or JamVM - comment this out, and uncomment the
SocketConnector below.
-->
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.ServerConnector">
<Arg><Ref id="Server" /></Arg>
<Arg type="int">1</Arg> <!-- number of acceptors -->
<Arg type="int">0</Arg> <!-- default number of selectors -->
<Arg>
<Array type="org.eclipse.jetty.server.ConnectionFactory"> <!-- varargs so we need an array -->
<Item>
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
<Arg>
<New class="org.eclipse.jetty.server.HttpConfiguration">
<Set name="sendServerVersion">false</Set>
<Set name="sendDateHeader">true</Set>
</New>
</Arg>
</New>
</Item>
</Array>
</Arg>
<Set name="host">127.0.0.1</Set>
<Set name="port">7662</Set>
<Set name="idleTimeout">600000</Set>
</New>
</Arg>
</Call>
<!-- =========================================================== -->
<!-- Set up global session ID manager -->
<!-- =========================================================== -->
<!--
<Set name="sessionIdManager">
<New class="org.eclipse.jetty.server.session.HashSessionIdManager">
<Set name="workerName">node1</Set>
</New>
</Set>
-->
<!-- =========================================================== -->
<!-- Set handler Collection Structure -->
<!-- -->
<!-- We use a RewriteHandler at the top level so that we may -->
<!-- convert any top-level URLs for the firefox down into the -->
<!-- firefox servlet, without interfering with anything else -->
<!-- that is hosted on the same eepsite. -->
<!-- =========================================================== -->
<Set name="handler">
<New id="Rewrite" class="org.eclipse.jetty.rewrite.handler.RewriteHandler">
<Set name="rewriteRequestURI">true</Set>
<Set name="rewritePathInfo">false</Set>
<Set name="originalPathAttribute">requestedPath</Set>
<Set name="rules">
<Array type="org.eclipse.jetty.rewrite.handler.Rule">
<Item>
<New class="org.eclipse.jetty.rewrite.handler.RewritePatternRule">
<Set name="pattern">/help</Set>
<Set name="replacement">/help.html</Set>
</New>
</Item>
<Item>
<New class="org.eclipse.jetty.rewrite.handler.RewritePatternRule">
<Set name="pattern">/help/</Set>
<Set name="replacement">/help.html</Set>
</New>
</Item>
</Array>
</Set>
<Set name="handler">
<New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
<Set name="handlers">
<Array type="org.eclipse.jetty.server.Handler">
<Item>
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
</Item>
<Item>
<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
</Item>
<Item>
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"/>
</Item>
</Array>
</Set>
</New>
</Set>
</New>
</Set>
<!-- =============================================================== -->
<!-- Create the deployment manager -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- The deplyment manager handles the lifecycle of deploying web -->
<!-- applications. Apps are provided by instances of the -->
<!-- AppProvider interface. Typically these are provided by -->
<!-- one or more of: -->
<!-- jetty-webapps.xml - monitors webapps for wars and dirs -->
<!-- jetty-contexts.xml - monitors contexts for context xml -->
<!-- jetty-templates.xml - monitors contexts and templates -->
<!-- =============================================================== -->
<Call name="addBean">
<Arg>
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
<Set name="contexts">
<Ref id="Contexts" />
</Set>
<Call name="setContextAttribute">
<Arg>org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern</Arg>
<Arg>.*/.*jsp-api-[^/]*\.jar$|.*/.*jsp-[^/]*\.jar$|.*/.*taglibs[^/]*\.jar$</Arg>
</Call>
</New>
</Arg>
</Call>
<!-- =========================================================== -->
<!-- Configure the context deployer -->
<!-- A context deployer will deploy contexts described in -->
<!-- configuration files discovered in a directory. -->
<!-- The configuration directory can be scanned for hot -->
<!-- deployments at the configured scanInterval. -->
<!-- -->
<!-- This deployer is configured to deploy contexts configured -->
<!-- in the $JETTY_HOME/contexts directory -->
<!-- -->
<!-- =========================================================== -->
<Ref id="DeploymentManager">
<Call name="addAppProvider">
<Arg>
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
<Set name="monitoredDirName">$PLUGIN/contexts</Set>
<Set name="scanInterval">120</Set>
</New>
</Arg>
</Call>
</Ref>
<!-- =========================================================== -->
<!-- Configure the webapp deployer. -->
<!-- A webapp deployer will deploy standard webapps discovered -->
<!-- in a directory at startup, without the need for additional -->
<!-- configuration files. It does not support hot deploy or -->
<!-- non standard contexts (see ContextDeployer above). -->
<!-- -->
<!-- This deployer is configured to deploy webapps from the -->
<!-- $JETTY_HOME/webapps directory -->
<!-- -->
<!-- Normally only one type of deployer need be used. -->
<!-- -->
<!-- =========================================================== -->
<Ref id="DeploymentManager">
<Call id="webappprovider" name="addAppProvider">
<Arg>
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
<Set name="monitoredDirName">$PLUGIN/eepsite/webapps</Set>
<Set name="parentLoaderPriority">false</Set>
<Set name="extractWars">false</Set>
<Set name="defaultsDescriptor">$PLUGIN/etc/webdefault.xml</Set>
</New>
</Arg>
</Call>
</Ref>
<!-- =========================================================== -->
<!-- Configure Authentication Realms -->
<!-- Realms may be configured for the entire server here, or -->
<!-- they can be configured for a specific web app in a context -->
<!-- configuration (see $(jetty.home)/contexts/test.xml for an -->
<!-- example). -->
<!-- =========================================================== -->
<!-- UNCOMMENT TO ACTIVATE
<Set name="UserRealms">
<Array type="org.eclipse.jetty.security.LoginService">
<Item>
<New class="org.eclipse.jetty.security.HashLoginService">
<Set name="name">Test Realm</Set>
<Set name="config">$PLUGIN/etc/realm.properties</Set>
<Set name="refreshInterval">0</Set>
</New>
</Item>
</Array>
</Set>
-->
<!-- =========================================================== -->
<!-- Configure Request Log -->
<!-- Request logs may be configured for the entire server here, -->
<!-- or they can be configured for a specific web app in a -->
<!-- contexts configuration (see $(jetty.home)/contexts/test.xml -->
<!-- for an example). -->
<!-- =========================================================== -->
<Ref id="RequestLog">
<Set name="requestLog">
<New id="RequestLogImpl" class="net.i2p.jetty.I2PRequestLog">
<Set name="filename">$PLUGIN/eepsite/logs/yyyy_mm_dd.request.log</Set>
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
<Set name="retainDays">90</Set>
<Set name="append">true</Set>
<Set name="extended">false</Set>
<Set name="logCookies">false</Set>
<Set name="LogTimeZone">GMT</Set>
</New>
</Set>
</Ref>
<!-- =========================================================== -->
<!-- extra options -->
<!-- =========================================================== -->
<Set name="stopAtShutdown">true</Set>
<Set name="stopTimeout">1000</Set>
</Configure>

View File

@ -1,15 +0,0 @@
#! /usr/bin/env sh
. ./config.sh
ant distclean clangFmt versionMd
./javadoc.sh
NUMLINE=`grep release.number build.xml | head -n 1`
READMELINE=`grep 'i2p.plugins.firefox/releases/download' README.md | grep i2pfirefox`
sed -i "s|${READMELINE}|wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.zip|g" README.md
READMELINE=`grep 'i2p.plugins.firefox/releases/download' docs/LINUX.md | grep i2pbrowser`
sed -i "s|${READMELINE}|wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.tar.gz|g" docs/LINUX.md
READMELINE=`grep 'i2p.plugins.firefox/releases/download' docs/OSX.md | grep i2pfirefox`
sed -i "s|${READMELINE}|wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.zip|g" docs/OSX.md
sed -i "s|${NUMLINE}| <property name=\"release.number\" value=\"$GITHUB_TAG\" />|g" build.xml
edgar && git push --all
ant distclean versionMd jar plugin torrent freeZip jpackage debian tarball

View File

@ -1,39 +0,0 @@
#! /usr/bin/env sh
. ./config.sh
profilezipsum=$(sha256sum src/i2p.chromium.base.profile.zip)
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "Chromium strict extensions ${profilezipsum}" \
--name "i2p.chromium.base.profile.zip" \
--file "src/i2p.chromium.base.profile.zip" \
--replace
echo "Uploaded Chromium base profile"
profilezipsum=$(sha256sum src/i2p.chromium.usability.profile.zip)
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "Chromium usability extensions ${profilezipsum}" \
--name "i2p.chromium.usability.profile.zip" \
--file "src/i2p.chromium.usability.profile.zip" \
--replace
echo "Uploaded Chromium usability profile"
profilezipsum=$(sha256sum src/i2p.firefox.base.profile.zip)
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "Firefox strict profile ${profilezipsum}" \
--name "i2p.firefox.base.profile.zip" \
--file "src/i2p.firefox.base.profile.zip" \
--replace
echo "Uploaded Firefox base profile"
profilezipsum=$(sha256sum src/i2p.firefox.usability.profile.zip)
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "Firefox usability profile ${profilezipsum}" \
--name "i2p.firefox.usability.profile.zip" \
--file "src/i2p.firefox.usability.profile.zip" \
--replace
echo "Uploaded Firefox usability profile"

View File

@ -1,100 +1,68 @@
#! /usr/bin/env sh
. ./config.sh
#./preprelease.sh
ant distclean clangFmt
./javadoc.sh
NUMLINE=`grep release.number build.xml | head -n 1`
sed -i "s|$NUMLINE| <property name=\"release.number\" value=\"$GITHUB_TAG\" />|g" build.xml
edgar && git push --all
ant jar freeZip jpackage debian fedora
github-release release --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--name "${GITHUB_NAME}" \
--description "${GITHUB_DESCRIPTION}" \
--tag "${GITHUB_TAG}"; true
sleep 2s
./profiles-upload.sh
sleep 2s
github-release edit --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--name "${GITHUB_NAME}" \
--description "${GITHUB_DESCRIPTION}" \
--tag "${GITHUB_TAG}"; true
echo "Relase ${GITHUB_TAG} setup"
tarsum=$(sha256sum i2p.plugins.firefox.tar.gz)
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher source tarball. ${tarsum}" \
--name "i2p.plugins.firefox-${GITHUB_TAG}.tar.gz" \
--file "i2p.plugins.firefox.tar.gz"
jarsum=$(sha256sum "src/build/i2pfirefox.jar")
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a .jar. Useful as a library or for advanced users. ${jarsum}" \
--name "i2pfirefox.jar" \
--file "src/build/i2pfirefox.jar"
--file "src/build/i2pfirefox.jar" \
--replace
echo "Uploaded jar"
zipsum=$(sha256sum "i2pfirefox.zip")
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a .jar and a set of semi-univeral launcher scripts. ${zipsum}" \
--name "i2pfirefox.zip" \
--file "i2pfirefox.zip"
--file "i2pfirefox.zip" \
--replace
echo "Uploaded freestanding zip"
jvmsum=$(sha256sum "i2pbrowser.tar.gz")
jvmsum=$(sha256sum "i2pbrowser.zip")
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a Jpackage, does not require a JVM. ${jvmsum}" \
--name "i2pbrowser.tar.gz" \
--file "i2pbrowser.tar.gz"
--name "i2pbrowser.zip" \
--file "i2pbrowser.zip" \
--replace
echo "Uploaded jpackage zip"
debsum=$(sha256sum "i2pbrowser_${GITHUB_TAG}_amd64.deb")
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a Jpackage inside of a Debian package. ${debsum}" \
--name "i2pbrowser_${GITHUB_TAG}_amd64.deb" \
--file "i2pbrowser_${GITHUB_TAG}_amd64.deb"
--file "i2pbrowser_${GITHUB_TAG}_amd64.deb" \
--replace
echo "Uploaded debian package"
rpmsum=$(sha256sum i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm)
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a Jpackage inside of a Fedora package. ${rpmsum}" \
--name "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm" \
--file "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm"
--file "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm" \
--replace
echo "Uploaded fedora package"
susum=$(sha256sum i2pfirefox.su3)
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as an I2P Console Plugin. ${susum}" \
--name "i2pfirefox.su3" \
--file "i2pfirefox.su3"
susum=$(sha256sum i2pfirefox-update.su3)
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as an I2P Console Plugin, update-only. ${susum}" \
--name "i2pfirefox-update.su3" \
--file "i2pfirefox-update.su3"
echo "Uploaded su3 package"
torsum=$(sha256sum i2p.plugins.firefox.torrent.zip)
github-release upload --user "${GITHUB_USER}" \
--replace \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as an I2P Console Plugin, release torrent. ${torsum}" \
--name "i2p.plugins.firefox.torrent.zip" \
--file "i2p.plugins.firefox.torrent.zip"
echo "Uploaded torrent package"
git pull github --tags
git push --all

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Thu Mar 07 15:18:16 EST 2024
build.number=709
#Tue Aug 30 12:27:51 EDT 2022
build.number=90

Some files were not shown because too many files have changed in this diff Show More