Compare commits
953 Commits
Author | SHA1 | Date | |
---|---|---|---|
92613e1dd4 | |||
8bbf061a77 | |||
cc2d3a014a | |||
c26d9cad00 | |||
b4e537bdf3 | |||
b9ea2530d0 | |||
83786df865 | |||
f4304d7745 | |||
0c06e2d8ff | |||
9463827d80 | |||
5c2f81e7c2 | |||
59d1e0266d | |||
8f5316d2e4 | |||
bd2455713e | |||
32943d8336 | |||
78e4f54e63 | |||
a1e632bf98 | |||
02a93d28af | |||
e8d32c2159 | |||
f853b5e358 | |||
951edeab92 | |||
8228750fe5 | |||
3c47eeb5f9 | |||
2a70031e54 | |||
93bccb67fc | |||
d8d495efbf | |||
bdadf667a7 | |||
d87c81726e | |||
98a4362a9d | |||
4e7baaf14a | |||
f193a3fb2f | |||
d94826cf26 | |||
7e7359e363 | |||
47ab02193c | |||
1c7a55e8ad | |||
44496f35dc | |||
1bea1636bf | |||
9842ba6d43 | |||
207171bbf3 | |||
d70ede2913 | |||
46b0b3cf20 | |||
aadfca6477 | |||
46cc35d30a | |||
5f86e6b784 | |||
e33fe4631d | |||
1a19975887 | |||
95b96b495a | |||
b98e2bdb6d | |||
a4ea7cf9fa | |||
826d6082c2 | |||
a1803498dc | |||
1f167bbeab | |||
39ec834b0f | |||
e94f8eb9b5 | |||
bf38939b7b | |||
5d98bcae91 | |||
769ff2ccd9 | |||
d06b21fcfc | |||
16da7d9040 | |||
26a922c4ce | |||
792070376f | |||
631fc83cc8 | |||
ac2bddb63d | |||
7ed42b67ed | |||
da0c085a7f | |||
b7c30d8889 | |||
7f3bc617c0 | |||
31287df121 | |||
b7f3c834a9 | |||
0396302f3a | |||
821510dea0 | |||
537eb8c561 | |||
cbd22b7fe9 | |||
58bec96215 | |||
4ec905f204 | |||
23b6cc05f6 | |||
f6d214be34 | |||
a8162848bf | |||
ed39c87813 | |||
9ea3be441e | |||
038dccad5d | |||
3513d2d86d | |||
9b686c667b | |||
24bded7e3d | |||
992e0a038d | |||
a13eab4f05 | |||
762aaeaf3d | |||
5dd41bc2c7 | |||
b2d6f67af3 | |||
24b28359f0 | |||
a0c6760ec7 | |||
908fc6021d | |||
5116d19e8f | |||
15c0b65c91 | |||
355d6d6512 | |||
32a5fcfeb4 | |||
54ddd09b80 | |||
fef6726bab | |||
d10893cce1 | |||
580eca779c | |||
6543d1e95b | |||
d95237d5e6 | |||
26a54cf103 | |||
06adaa8d80 | |||
bfac6ddc51 | |||
dd08db19d6 | |||
fd8b58307c | |||
50dbf996b6 | |||
d88bf9e854 | |||
5f7dae3f5c | |||
a41e02b24f | |||
53cd4804d6 | |||
4a8aa7262d | |||
cdfa0f8eec | |||
2fb2ce6432 | |||
a525a5785b | |||
07fc258649 | |||
59a6e1452c | |||
cc3ef2c50a | |||
cbc714e2bb | |||
bd1cc05596 | |||
6d9a0a25fb | |||
8211000878 | |||
e891a9a7e8 | |||
8bc447886e | |||
9379a75aab | |||
64c1a247b4 | |||
9742b2fe86 | |||
3cc6907cbd | |||
585ea7ff6b | |||
8a94b69636 | |||
29256fdf44 | |||
d82d5c75e1 | |||
39ea020271 | |||
f75e3753a7 | |||
5c96c91ada | |||
ff6f70e9fe | |||
c50dc6b2e1 | |||
0c1fc1aed7 | |||
e08c918506 | |||
9db073acd1 | |||
2458bcc69f | |||
658b01a7a7 | |||
0b53d51cf1 | |||
2717d61261 | |||
92470dcc85 | |||
1c070a6845 | |||
976e095694 | |||
94acb9e5aa | |||
65e2326cfe | |||
0509ba6580 | |||
73d5c425e6 | |||
6752eff230 | |||
4943854440 | |||
44cb1a9d87 | |||
1e30ef35ca | |||
cec4af7261 | |||
04d4b86b5d | |||
430c657dfa | |||
87823cee5a | |||
7f690f20d3 | |||
b0469561f2 | |||
b558bb350e | |||
67454c21fe | |||
fb71a82527 | |||
78733bbb36 | |||
c3896365b6 | |||
d4c3aa4bad | |||
aedf8421b7 | |||
8ce616f71e | |||
6f1fb7399e | |||
b99c545842 | |||
4233e1a173 | |||
f8309ced69 | |||
497a70108f | |||
8c38a837d7 | |||
aedfe87479 | |||
126d63cbeb | |||
0395dc71ab | |||
9e6134386a | |||
a270abd97d | |||
462e160caa | |||
383419eba3 | |||
3dce0243ce | |||
4332a22be1 | |||
7b4d56d4ea | |||
e4f8262584 | |||
a6af6a27ee | |||
f2480e84e3 | |||
ab2555f3e8 | |||
16e60b118a | |||
44d8f0a86a | |||
c6e2e6d1f4 | |||
e7c32cb586 | |||
204baca3d6 | |||
6a8797536e | |||
babd6a1db1 | |||
6d32f7cc04 | |||
4bedd93a32 | |||
f15a040bcc | |||
4a98a9841a | |||
6b082fe376 | |||
37a46d4a85 | |||
a596cb1299 | |||
e9a20164be | |||
4f3a54d385 | |||
0bb6153129 | |||
854ff39a64 | |||
784ba6e021 | |||
e0df3b3b2e | |||
37534bbb70 | |||
9324d981fb | |||
21479b2747 | |||
4262598a5f | |||
8508050e2d | |||
75dc6d38db | |||
194ebce498 | |||
5eef7b82a4 | |||
cc6fd8b22c | |||
ecf31f2447 | |||
569f53310e | |||
c6c98f97a5 | |||
2a66154f6c | |||
ee5ead4440 | |||
febc615284 | |||
1d31d54697 | |||
efe90891fc | |||
57b3060201 | |||
4bb5050f73 | |||
a96b6b2f90 | |||
8edd2d7d5a | |||
d3f35539d5 | |||
7199948bc9 | |||
9837ceb36c | |||
efc5b8db2c | |||
bea5c699ec | |||
da145f98c6 | |||
820d4aef80 | |||
f7b008866e | |||
093a3de219 | |||
3007c4150f | |||
11f5d5e6a3 | |||
36e4901724 | |||
2b53f2ba54 | |||
82606b4aa7 | |||
c5d28322a9 | |||
2988a3bc7b | |||
29cd8492d8 | |||
c976af98da | |||
e8127098c7 | |||
5500c1eeb4 | |||
19315d4ed3 | |||
90a543a272 | |||
c904d31294 | |||
2cbfd0e189 | |||
8da3acf602 | |||
3fc9516af3 | |||
9d2ad1c89c | |||
fcc9f85b25 | |||
ec90b0c3ca | |||
52c4fd3dd7 | |||
2a91ec2f09 | |||
13eb24465a | |||
76966fdacd | |||
c68f0f8f51 | |||
d57de2be4d | |||
5e8e80d774 | |||
3c72d154c5 | |||
4fb865ced4 | |||
97558022c8 | |||
7507aadfcf | |||
ff6e37620c | |||
8be9a4d81c | |||
f9563ebad4 | |||
fac0f4ac27 | |||
564139b02e | |||
417255b22f | |||
8f21ef6bb9 | |||
6869ca0c4d | |||
4d80a0df89 | |||
d453d1e1c8 | |||
7e19bfa54b | |||
5563d6a02f | |||
7cce42faba | |||
3c2f9403bf | |||
f67193cce7 | |||
fa59f06f0d | |||
8089aa4bf5 | |||
c2174eb264 | |||
35a4b91037 | |||
1ce9caf00c | |||
c62271746c | |||
1238e67316 | |||
cb4fbe66be | |||
a49b654c27 | |||
4f6e516dee | |||
1200d22861 | |||
520c2a2e64 | |||
df467d81ed | |||
cd5e0695cf | |||
07983f2969 | |||
60107ba636 | |||
14296eed79 | |||
e255e87cd0 | |||
4a839d75f4 | |||
ec2a45a07f | |||
0421dcaa69 | |||
fcb0f05964 | |||
c9789a45db | |||
59d6e24110 | |||
c4cf4d3d4a | |||
92ec24fcf5 | |||
65d6264450 | |||
7b98d33d88 | |||
b563002d25 | |||
9f85a6104d | |||
838bfe41d1 | |||
f22350486d | |||
8eecd52168 | |||
5b98cc1400 | |||
60066c27b6 | |||
e60d8d7fdc | |||
958e29b6d1 | |||
28333571d6 | |||
2442dc974d | |||
51b14cb6cd | |||
2cd567cb16 | |||
79432ee9d6 | |||
4d4706acce | |||
e254e3e2cd | |||
63e0750410 | |||
4f92c462b3 | |||
11ef05aef4 | |||
6ef69a367e | |||
908e121b48 | |||
8ded75d725 | |||
800faded36 | |||
32f512c210 | |||
96aa559394 | |||
60b97676f0 | |||
68e027b992 | |||
367bda0ae4 | |||
6311562a3d | |||
18999908c2 | |||
b0524a756e | |||
a2817647ab | |||
392141eb56 | |||
7df65e5aec | |||
37a32c69ce | |||
887824b896 | |||
82ea5b2aaf | |||
58e0cd1631 | |||
c8368aaacf | |||
cf74e5cb49 | |||
43859971e6 | |||
eb118dc3c6 | |||
a133ee1d8f | |||
24df8dda06 | |||
f78f867ca2 | |||
7edcf08a17 | |||
0b9a18867e | |||
4b94cb1e30 | |||
a10934b39a | |||
b1b274bdcd | |||
b0e429a873 | |||
4960f79d1a | |||
9c64021605 | |||
84779c7bf5 | |||
6955d7542f | |||
6e427a855a | |||
e1a4edac07 | |||
62f67bfc61 | |||
572d2ee9a5 | |||
5a90f2b396 | |||
2c77dda0e4 | |||
6a62ea34b8 | |||
ab74cf574d | |||
836762ea11 | |||
6eb41be3eb | |||
2bc6a2eff9 | |||
6b30646ace | |||
e290d9d350 | |||
3340185ebc | |||
fff5bcf2de | |||
4082f01390 | |||
e5e24663e5 | |||
15263bcfc2 | |||
1460a1fbc5 | |||
c2ff1edbdd | |||
91fd2f9c2a | |||
f297763491 | |||
faa2566a57 | |||
93f3741c16 | |||
1995786fc7 | |||
e2180c3329 | |||
87bfa24d3e | |||
4c12b4dea2 | |||
c276ffc38a | |||
0ff963277c | |||
0c38b20f2f | |||
0a41f1a159 | |||
a99754f73a | |||
b2953534a6 | |||
ca4832e005 | |||
da587b0c35 | |||
a09b8792e2 | |||
3630c0046e | |||
a3d7cac838 | |||
9a8c20b90c | |||
186ebd3539 | |||
4d1fcaac15 | |||
8659699c6d | |||
723f088fd0 | |||
9f2c5f9e9b | |||
7c732ef6a0 | |||
b85f46b6da | |||
07d517978d | |||
84cadbac94 | |||
5dca31b0a7 | |||
e6c2370184 | |||
813e106c2b | |||
7d522d21db | |||
f2281d400a | |||
6e3dfd724a | |||
91cab7efaf | |||
9b64daef7e | |||
d911a6f1e4 | |||
6c49c5fded | |||
b3a7eac296 | |||
af213b5982 | |||
c716f29042 | |||
ecee59a577 | |||
cf0943bb1f | |||
2d83b588eb | |||
96c348db5e | |||
ebcc1481fe | |||
5bdbdd5958 | |||
e75e844bdd | |||
1a9bd3581b | |||
da9c06f5ad | |||
8eb528837d | |||
0e91210526 | |||
ae12ba9a6a | |||
16908b885e | |||
f77ea15a74 | |||
b398c948d5 | |||
04284fd462 | |||
fa256ddea4 | |||
fbf278754c | |||
0757e7a72e | |||
fbe4ff3728 | |||
0e7953ece8 | |||
aa9326149b | |||
afb1ededad | |||
de74b448d0 | |||
2a0a0eae7b | |||
1684d7c7bd | |||
ab2d1f9265 | |||
09b794a9de | |||
fac9329b4b | |||
7ed828391e | |||
20aba00029 | |||
3f877ebac2 | |||
13f54f2769 | |||
946bcb1348 | |||
2e882ed6ef | |||
ee65d142a4 | |||
012d69203e | |||
dfe039d6bb | |||
c5a25cc0b2 | |||
89ef810664 | |||
ed201cb93d | |||
90cb65adcd | |||
c74e068186 | |||
76dbb58c9a | |||
142b8758ad | |||
e2a6f3d37e | |||
bf605d6e76 | |||
37bf014b49 | |||
770b38bb1e | |||
c26b9f418a | |||
1ce6d4b534 | |||
85f2d471b4 | |||
33d2a50d78 | |||
583e62d05a | |||
662df0a330 | |||
5204d03699 | |||
56ecb4f552 | |||
7435367a9e | |||
5c01933265 | |||
949932875c | |||
9915429c35 | |||
f43ec9f0e5 | |||
6363c1a08b | |||
e946ad17e1 | |||
3b1652800a | |||
cbe6b65213 | |||
2fe3e265ca | |||
672e383328 | |||
2cb84b76e5 | |||
4807958951 | |||
e612d7cab1 | |||
e9bd73b5db | |||
e701bfbaad | |||
aad7c34630 | |||
0fe2d7b128 | |||
3fb39e4c97 | |||
a215f31adf | |||
6b957a72e1 | |||
3f570f1d12 | |||
89ba93ff88 | |||
cefdfd03f1 | |||
452bd2329c | |||
45e4875207 | |||
46ad406776 | |||
f58e7c34d3 | |||
9e476d4f4e | |||
8c2a403216 | |||
3ad02df993 | |||
e0d3ec1868 | |||
1892e107bc | |||
adc2690d97 | |||
6170521f0e | |||
48dd749554 | |||
e4344ae908 | |||
896175f851 | |||
13cb55f999 | |||
799678af02 | |||
9eab532d7f | |||
c1f055c3a3 | |||
dd1d53cea0 | |||
e787ae65cf | |||
43cdef1c9c | |||
754fbebbd2 | |||
d9328b098c | |||
e04dcec42e | |||
e2be14f912 | |||
7b847e5a9f | |||
833508d141 | |||
cb1b25cecf | |||
1ed4724638 | |||
7ce104655c | |||
b02e069ade | |||
626d2997ba | |||
8140aac189 | |||
c23fa33a61 | |||
02d1a72d31 | |||
95d6159997 | |||
fa9c948688 | |||
ac934cd6db | |||
6803280bf2 | |||
24bc8384f4 | |||
46fdf0e9ee | |||
1df9f4d4dd | |||
518bc35946 | |||
935d6766c7 | |||
3d3eec3de9 | |||
ba6104df32 | |||
3652e8a8b8 | |||
99144c0eac | |||
5dc0622e58 | |||
32d2c5a50c | |||
9d44047018 | |||
44f5ad8604 | |||
ab31fafd65 | |||
38c8ada0ad | |||
346ee983d1 | |||
11288b804a | |||
f3df0443d9 | |||
a52121b191 | |||
553472a045 | |||
62df9f87c2 | |||
fc812be01e | |||
05ff2af7dc | |||
26013c9fd0 | |||
6f68e2c9ce | |||
e42501dd07 | |||
2ec49db0ad | |||
e5ac25b839 | |||
84d9448921 | |||
ced9f14d88 | |||
7b60616489 | |||
6a6dea233e | |||
94399bb27d | |||
f1181e2f48 | |||
ac5c64db05 | |||
6fd12cff57 | |||
c9b67a5b9d | |||
4ab03ab420 | |||
3de28ee877 | |||
c7ed068c37 | |||
e6777a88a3 | |||
91c0f618cf | |||
bd911cda8c | |||
145d99443e | |||
98f531e892 | |||
2a1af1e1a4 | |||
068c691dea | |||
40739eed34 | |||
452a8f8701 | |||
2d1be5ea3e | |||
0d3f16ae02 | |||
a9279a6caa | |||
0e6bc0d8cf | |||
5db024724a | |||
dd49ab1a1d | |||
9124ce1958 | |||
aabff994d4 | |||
42d7e032f0 | |||
bcd932c726 | |||
0e6da3bb26 | |||
783b00fa41 | |||
a8ae112588 | |||
108b5d90e7 | |||
a12a1c3f4d | |||
1cde9dc8ee | |||
ca2a23a714 | |||
c50cbc1288 | |||
fcf4bda13b | |||
b509bd75db | |||
903967d7bd | |||
5e070c6cf8 | |||
99755fbd06 | |||
16ce7815ff | |||
82d7437758 | |||
0322001da6 | |||
3598e27ffa | |||
4921de65d4 | |||
7bc0b6d045 | |||
516f56a0e4 | |||
cfed313fc9 | |||
0a7471a044 | |||
d56e34409d | |||
1938615b9d | |||
badc711faf | |||
602d741dba | |||
c61e48f589 | |||
e14148d166 | |||
4b672c744c | |||
6eb1f676b1 | |||
2639d36b07 | |||
7eb1167b9f | |||
ff915470f4 | |||
476ce2598b | |||
7ab2355d96 | |||
f28858c441 | |||
71d6696586 | |||
dcbb2b2377 | |||
33fe3d9a5f | |||
224e248828 | |||
2284ff26ee | |||
60cc2e6c3c | |||
48a2a4f73b | |||
cd3bcb5408 | |||
65cbe35766 | |||
913b6fc68e | |||
adc57df04f | |||
e3266d0014 | |||
2b9f116dea | |||
c9e5589972 | |||
426be5d7d7 | |||
8c1ca139af | |||
ae428cda66 | |||
7423a327e7 | |||
9881fb62e8 | |||
38019e0f5b | |||
464922f8c7 | |||
b258bc9ad6 | |||
43d3528116 | |||
cba673777f | |||
0fdc7c5171 | |||
8bde2854d9 | |||
065964e3b2 | |||
8895c80728 | |||
e90ae84f4d | |||
fce71e99f5 | |||
768dc5bcdf | |||
eb76a7e841 | |||
57456ee507 | |||
dcc406b2b6 | |||
d4f0347575 | |||
8ed7a00a46 | |||
1aba2b8ff4 | |||
5517be50e8 | |||
cdd1a63e74 | |||
08b49e7eec | |||
e402c9d85e | |||
32e5dd112f | |||
4a64df9b1b | |||
25e7a82b71 | |||
66b8f41e4c | |||
8ad1e923d9 | |||
193f0ad957 | |||
5fe16e7d77 | |||
c0f8106223 | |||
174265d51c | |||
64e7beff8a | |||
35445be46b | |||
eabea57327 | |||
e40490347b | |||
7c5f0ca2f9 | |||
df8f92e8b7 | |||
cfdba558aa | |||
25390abf09 | |||
81cbf349e4 | |||
1e4c5bd85b | |||
b63e7977fd | |||
1ddc4fe6a5 | |||
69929e01c3 | |||
980ff201e5 | |||
a629652495 | |||
67d4b16690 | |||
07f885ae4f | |||
131b69d800 | |||
759fa79505 | |||
2f5e9a0ee3 | |||
cdbd095be2 | |||
9d33d7a3ed | |||
1d2daf7746 | |||
1a883a303d | |||
8428cc6821 | |||
24a74ed91a | |||
50f7df7d25 | |||
4edd485e01 | |||
e154c6ed1e | |||
dac56c582c | |||
1c35b6e155 | |||
3e4d4c6153 | |||
811157e350 | |||
84e4098b77 | |||
b100b54d6f | |||
21ba0d76f7 | |||
9ad4d8a56a | |||
a41e57b6ff | |||
d05789324a | |||
368cd0a3f1 | |||
a33e3477ac | |||
ea891e86aa | |||
6a40759f40 | |||
1cb9db4d40 | |||
23989a7017 | |||
82a23ee121 | |||
96bf7b9098 | |||
37cb05dfa8 | |||
04cd619b26 | |||
7a88065f4d | |||
9450738e02 | |||
bfb531faff | |||
37308d8945 | |||
d03314bb74 | |||
7a6edb51e7 | |||
757e44cc30 | |||
7babf02f32 | |||
1e8e02cf84 | |||
de115d9c3c | |||
7ab0946794 | |||
2e4a0414d8 | |||
cf5c777c91 | |||
8cd9d992fd | |||
eebaede496 | |||
2d38c31623 | |||
d78175836d | |||
4d9e001daa | |||
300b16bce3 | |||
100fba31d0 | |||
1e092b7fb1 | |||
9f6caeeb14 | |||
d8f205ae85 | |||
5acee82d76 | |||
8494d297c7 | |||
c6476a604b | |||
1278fdd6e8 | |||
b933ed42c0 | |||
f86df634c5 | |||
04a4e37734 | |||
faa6336da6 | |||
975200a159 | |||
eb8759b398 | |||
8d76140c34 | |||
09cca39fcc | |||
07f5095594 | |||
539e3340b4 | |||
e35ae949fa | |||
d0b7d45f45 | |||
82ceefe167 | |||
173b88e89f | |||
c0897086ff | |||
abe38ddbc8 | |||
3138d2b1fe | |||
9f21efbd13 | |||
f1a76078e6 | |||
a587427e75 | |||
3eb82c1af8 | |||
4bc9a238b2 | |||
9041ab9ad5 | |||
38653be1f1 | |||
72213dc8de | |||
683082ffe2 | |||
15c120d865 | |||
770798fd0d | |||
44aa7e2792 | |||
cae1a73dc6 | |||
bce0a80f42 | |||
5040c98831 | |||
9bd16c6c36 | |||
9e1c9d9307 | |||
154de511a9 | |||
226feb4c0c | |||
8bf5193e72 | |||
69e4d4674d | |||
7b6db7b9d3 | |||
b2206dbae9 | |||
59f69ee5cb | |||
276e67c994 | |||
cfc6f79cc9 | |||
e25d6d1f88 | |||
e2aac6e657 | |||
b83dc1fc06 | |||
e237b627f3 | |||
9f6e77aff2 | |||
ecd0112047 | |||
40877ca2f0 | |||
e47a40829b | |||
27e310a6ff | |||
05d630c3d7 | |||
df5ddb9906 | |||
dcf569ba14 | |||
68ab171d43 | |||
6c9f1af62e | |||
19b163e6fd | |||
7e281e2cd5 | |||
b2325cb3b7 | |||
d98eb887d7 | |||
4851c27e98 | |||
fc59f52308 | |||
8dc83c1147 | |||
0d818b9b3b | |||
c0e40a25ee | |||
71b3349d10 | |||
7f59009a2e | |||
7f23d67b33 | |||
dc011ce892 | |||
6db9b245fd | |||
efab728a99 | |||
5192d7f20a | |||
26b83c9b5e | |||
c3cbfa6f26 | |||
78abd248d8 | |||
8e6e55aca4 | |||
9f5b76df94 | |||
71f8311b07 | |||
fc45796446 | |||
27f55ba05b | |||
e2cd2f3805 | |||
a50d9c1311 | |||
8bd5d49674 | |||
f7f05cbdbf | |||
9f86fef14d | |||
9968fd066c | |||
f4cc1a2c6d | |||
b484356ecc | |||
bfa4c43215 | |||
070f349cab | |||
28bfa7f5c2 | |||
7a2b138506 | |||
1c24d4ba49 | |||
10f1b5abd1 | |||
50bdff3e19 | |||
ea177be127 | |||
ad1ca3eba6 | |||
3c2c196a8f | |||
dddd912639 | |||
c24fdc05f2 | |||
7388829aeb | |||
bdb6e2d8ec | |||
07583798c9 | |||
a4881f007f | |||
745d128ee3 | |||
20d2b9ece6 | |||
856691f025 | |||
c504d5bffd | |||
c0dfd46890 | |||
d1bb5a4e48 | |||
33f6d20942 | |||
acf5f2f50d | |||
71d08490ef | |||
3176811808 | |||
b69e3666f1 | |||
addf62d640 | |||
8d78d81011 | |||
9e235b7712 | |||
5f15c9fdb7 | |||
7b3b5736b5 | |||
66a46579cf | |||
247b562e97 | |||
148f5af9a0 | |||
0f89d0e869 | |||
3e65453700 | |||
b7915c10a4 | |||
41f4dc5584 | |||
192eb2ecfa | |||
167f973d68 | |||
12631b5c81 | |||
db0dc9ed7e | |||
9aabd83d07 | |||
7b60ee3b01 | |||
bac3766e41 | |||
251cbf9183 | |||
bc5161d6bd | |||
af69884f5e | |||
1f33334f67 | |||
ebbe1dd156 | |||
c38f3f6f58 | |||
441b71afcb | |||
75846f7567 | |||
3d7c0a2ab2 | |||
5a020bce47 | |||
062d1a4af8 | |||
28c4b90660 | |||
e967b281bf | |||
ba43e7c730 | |||
2a52eecf0b | |||
3dded34f5d | |||
a6614ffd91 | |||
b0a71a27ed | |||
ba414cce32 | |||
08ab5a28e0 | |||
f5e515de10 | |||
615935ac1c | |||
48e749854a | |||
244d65dad8 | |||
eac85b60c0 | |||
bde47cb5a6 | |||
b497b2e9be | |||
1de9a5d580 | |||
dca80aa61e | |||
c83a1ed894 | |||
2cdd5b0588 | |||
9dae3c539f | |||
4b73c3f873 | |||
5ea329554f | |||
bc85cee083 | |||
413d52a2e5 | |||
d80c092f21 | |||
3abae76a2d | |||
64babdd11b | |||
8bdca6480d | |||
539f6591ca | |||
99294f3dd7 | |||
e587cd7058 | |||
d87b7acb89 | |||
1804ecbbd7 | |||
1786428b1b |
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
.git
|
13
.gitignore
vendored
@ -13,3 +13,16 @@ src/build
|
||||
*.err
|
||||
*.log
|
||||
i2pbrowser/
|
||||
/i2pbrowser*.deb
|
||||
/i2pbrowser*.rpm
|
||||
/logs
|
||||
/*.jar
|
||||
/*.msi
|
||||
/*.exe
|
||||
/user.js
|
||||
arkenfoxnum
|
||||
/*.tar.gz
|
||||
/*.tar.xz
|
||||
/i2p.firefox.profile.*
|
||||
/src/*.zip
|
||||
/src/*profile/extensions/*.xpi
|
259
CHANGES.html
@ -32,79 +32,34 @@
|
||||
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="TODO.html">
|
||||
TODO
|
||||
<a href="LINUX.html">
|
||||
LINUX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="USAGE.html">
|
||||
USAGE
|
||||
<a href="OSX.html">
|
||||
OSX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="VERSION.html">
|
||||
VERSION
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="WINDOWS.html">
|
||||
WINDOWS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">
|
||||
index.html
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -119,9 +74,137 @@
|
||||
/
|
||||
</a>
|
||||
<h2>
|
||||
<a href="#fri-september-2" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
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>
|
||||
@ -133,9 +216,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<a href="#thu-september-1" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Thu, September 1
|
||||
</h2>
|
||||
<ul>
|
||||
@ -144,9 +224,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<a href="#wed-august-31" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Wed, August 31
|
||||
</h2>
|
||||
<ul>
|
||||
@ -161,9 +238,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<a href="#tue-august-30" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Tue, August 30
|
||||
</h2>
|
||||
<ul>
|
||||
@ -175,9 +249,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<a href="#sun-august-28" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Sun, August 28
|
||||
</h2>
|
||||
<ul>
|
||||
@ -192,23 +263,17 @@
|
||||
</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's
|
||||
Added support for passing a URL as a parameter to the cli’s
|
||||
</li>
|
||||
<li>
|
||||
revised test.sh
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<a href="#mon-august-22" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Mon, August 22
|
||||
</h2>
|
||||
<ul>
|
||||
@ -221,20 +286,14 @@
|
||||
</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
|
||||
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>
|
||||
@ -243,23 +302,17 @@
|
||||
</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
|
||||
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>
|
||||
@ -271,9 +324,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<a href="#sun-august-7" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Sun, August 7
|
||||
</h2>
|
||||
<ul>
|
||||
@ -297,9 +347,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<a href="#saturday-august-6" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Saturday, August 6
|
||||
</h2>
|
||||
<ul>
|
||||
|
68
CHANGES.md
Executable file → Normal file
@ -1,3 +1,71 @@
|
||||
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
|
||||
----------------
|
||||
|
||||
- Run headlessly on first-run on Windows.
|
||||
- Add support for building an .exe package.
|
||||
- Add support for building an .zip Windows portable package.
|
||||
- Add support for building an .rpm package.
|
||||
- Destroy headless process if it goes too long.
|
||||
|
||||
Mon, September 5
|
||||
----------------
|
||||
|
||||
- Fix several issues with running on Windows 11
|
||||
- Make tunnel nicknames different to avoid double shared tunnels
|
||||
- Add support for building a .deb package.
|
||||
- Add support for building an .msi package.
|
||||
|
||||
Fri, September 2
|
||||
----------------
|
||||
|
||||
|
6
Dockerfile
Normal file
@ -0,0 +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
|
6
Dockerfile.fedora
Normal file
@ -0,0 +1,6 @@
|
||||
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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
1536
I2PBrowser.html
199
I2PBrowser.md
@ -1,199 +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: 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#L156)
|
||||
|
||||
+ 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#L165)
|
||||
|
||||
+ 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#L167)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| inUrl | String | |
|
||||
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PBrowser.java#L177)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | |
|
||||
|
||||
|
1959
I2PChromium.html
347
I2PChromium.md
@ -1,347 +0,0 @@
|
||||
# Class I2PChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java)
|
||||
|
||||
> */
|
||||
|
||||
Access: public
|
||||
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: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
<li>java.io.File</li>
|
||||
<li>java.io.IOException</li>
|
||||
<li>java.net.Socket</li>
|
||||
<li>java.util.ArrayList</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## Member Variables
|
||||
|
||||
#### String[] CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L)
|
||||
|
||||
>
|
||||
|
||||
+ 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)
|
||||
|
||||
>
|
||||
|
||||
+ Access: private
|
||||
|
||||
## Methods
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
### 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_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L88)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String[]
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### 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 [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L145)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String[]
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
### CHROMIUM_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L213)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String[]
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L225)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### 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
|
||||
+ return: a list of usable Chromiums or an empty list if none are found.
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### 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
|
||||
+ return: the path to the best available Chromium or null if none are found.
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### 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
|
||||
+ return: the path to the best available Chromium or null if none are found.
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| overrideChromium | String | |
|
||||
|
||||
|
||||
### 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
|
||||
+ return: a ProcessBuilder for the top Chromium binary and the default profile.
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### 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
|
||||
+ return: a ProcessBuilder for the top Chromium binary and the default profile.
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### 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
|
||||
+ return: a ProcessBuilder for the top Chromium binary and the default profile. Always passes the --incognito flag.
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### 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
|
||||
+ return: a ProcessBuilder for the top Chromium binary and the default profile. Always passes the --incognito flag.
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | the arguments to pass to the Chromium binary. |
|
||||
|
||||
|
||||
### 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
|
||||
+ return: a ProcessBuilder for the top Chromium binary and default profile with a specific set of extended arguments.
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | the extended arguments to pass to the Chromium binary. |
|
||||
|
||||
|
||||
### 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
|
||||
+ return: Process
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| privateWindow | boolean | |
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L597)
|
||||
|
||||
+ 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
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| privateWindow | boolean | |
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L622)
|
||||
|
||||
+ 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
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| privateWindow | boolean | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L631)
|
||||
|
||||
+ 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
|
||||
+ return: void
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L633)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| inUrl | String | |
|
||||
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L643)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L670)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| millis | int | |
|
||||
|
||||
|
@ -1,111 +0,0 @@
|
||||
# Class I2PChromiumProfileBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java)
|
||||
|
||||
> */
|
||||
|
||||
Access: public
|
||||
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: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
<li>java.io.File</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## Member Variables
|
||||
|
||||
#### boolean usability [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L)
|
||||
|
||||
>
|
||||
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
|
||||
## Methods
|
||||
|
||||
### 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 |
|
||||
| ----- | ----- | ----- |
|
||||
| file | String | |
|
||||
| mode | String | |
|
||||
|
||||
|
||||
### baseProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L59)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| mode | String | |
|
||||
|
||||
|
||||
### 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 |
|
||||
| ----- | ----- | ----- |
|
||||
| create | boolean | if true create the runtime directory if it does not exist |
|
||||
|
||||
|
||||
### 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#L109)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### 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.
|
||||
|
||||
|
@ -1,75 +0,0 @@
|
||||
# Class I2PChromiumProfileChecker [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java)
|
||||
|
||||
> */
|
||||
|
||||
Access: public
|
||||
Description:
|
||||
> I2PChromiumProfileChecker.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. I2PChromiumProfileChecker is a that checks if the Chromium profile directory exists and is valid.
|
||||
|
||||
Author: idk
|
||||
Parent class: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
<li>java.io.File</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## No member variables in this class
|
||||
|
||||
## Methods
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L29)
|
||||
|
||||
+ Description: Output feedback if the profile directory is valid or invalid @description Output feedback if the profile directory is valid or invalid @args unused
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### 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 |
|
||||
| ----- | ----- | ----- |
|
||||
| profileDirectory | String | the profile directory to check |
|
||||
|
||||
|
||||
### 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 |
|
||||
| ----- | ----- | ----- |
|
||||
| file | String | the file to check |
|
||||
|
||||
|
||||
### 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 |
|
||||
| ----- | ----- | ----- |
|
||||
| extensionDirectory | String | the extension directory to check |
|
||||
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Class I2PChromiumProfileUnpacker [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java)
|
||||
|
||||
> */
|
||||
|
||||
Access: public
|
||||
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: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## No member variables in this class
|
||||
|
||||
## Methods
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java#L23)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileUnpacker.java#L37)
|
||||
|
||||
+ Description: unpack the profile directory
|
||||
+ Access: public
|
||||
+ return: true if the profile directory was successfully unpacked
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| profileDirectory | String | |
|
||||
| mode | String | |
|
||||
|
||||
|
@ -1,179 +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.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
|
||||
|
||||
### println [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L52)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| line | String | |
|
||||
|
||||
|
||||
### logFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L54)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: File
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L68)
|
||||
|
||||
+ 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#L85)
|
||||
|
||||
+ 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#L132)
|
||||
|
||||
+ 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#L144)
|
||||
|
||||
+ Description:
|
||||
+ Access: protected
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| file | String | |
|
||||
| browser | String | |
|
||||
|
||||
|
||||
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L150)
|
||||
|
||||
+ Description:
|
||||
+ Access: protected
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| profileDirectory | String | |
|
||||
| browser | String | |
|
||||
| base | String | |
|
||||
|
||||
|
||||
### copyDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L196)
|
||||
|
||||
+ 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#L212)
|
||||
|
||||
+ 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#L221)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| sourceFile | File | |
|
||||
| destinationFile | File | |
|
||||
|
||||
|
||||
### validateProfileFirstRun [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L232)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| profileDirectory | String | |
|
||||
|
||||
|
2004
I2PFirefox.html
363
I2PFirefox.md
@ -1,363 +0,0 @@
|
||||
# Class I2PFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java)
|
||||
|
||||
> */
|
||||
|
||||
Access: public
|
||||
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: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
<li>java.io.File</li>
|
||||
<li>java.io.IOException</li>
|
||||
<li>java.net.Socket</li>
|
||||
<li>java.util.ArrayList</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## Member Variables
|
||||
|
||||
#### String[] FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L)
|
||||
|
||||
>
|
||||
|
||||
+ Access: private
|
||||
+ Modifiers: final
|
||||
|
||||
#### 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)
|
||||
|
||||
>
|
||||
|
||||
+ Access: private
|
||||
|
||||
#### boolean usability [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L)
|
||||
|
||||
>
|
||||
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
|
||||
## Methods
|
||||
|
||||
### FIND_FIREFOX_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L45)
|
||||
|
||||
+ 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#L60)
|
||||
|
||||
+ 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#L77)
|
||||
|
||||
+ 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#L113)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String[]
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### FIND_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L133)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String[]
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### NEARBY_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L147)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String[]
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### FIREFOX_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L201)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String[]
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L213)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### onlyValidFirefoxes [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L235)
|
||||
|
||||
+ 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
|
||||
+ return: a list of usable Firefoxes or an empty list if none are found.
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L255)
|
||||
|
||||
+ Description: Return the best available Firefox from the list of Firefoxes we have.
|
||||
+ Access: public
|
||||
+ return: the path to the best available Firefox or null if none are found.
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L284)
|
||||
|
||||
+ 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
|
||||
+ return: the path to the best available Firefox or null if none are found.
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| overrideFirefox | String | |
|
||||
|
||||
|
||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L302)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
|
||||
+ Access: public
|
||||
+ return: a ProcessBuilder for the top Firefox binary and the default profile.
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L314)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
|
||||
+ Access: public
|
||||
+ return: ProcessBuilder
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | the args to pass to the Firefox binary |
|
||||
|
||||
|
||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L328)
|
||||
|
||||
+ 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.
|
||||
|
||||
|
||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L341)
|
||||
|
||||
+ 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 |
|
||||
|
||||
|
||||
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L364)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile with a specific set of extended arguments.
|
||||
+ Access: public
|
||||
+ return: a ProcessBuilder for the top Firefox binary and default profile with a specific set of extended arguments.
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | the extended arguments to pass to the Firefox binary. |
|
||||
|
||||
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L397)
|
||||
|
||||
+ 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#L407)
|
||||
|
||||
+ 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#L419)
|
||||
|
||||
+ 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#L432)
|
||||
|
||||
+ 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#L446)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| port | int | |
|
||||
| host | String | |
|
||||
|
||||
|
||||
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L456)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ return: String
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L463)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ return: Process
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| privateWindow | boolean | |
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L510)
|
||||
|
||||
+ 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
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| privateWindow | boolean | |
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L534)
|
||||
|
||||
+ 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
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| privateWindow | boolean | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L544)
|
||||
|
||||
+ 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
|
||||
+ return: void
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L546)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| inUrl | String | |
|
||||
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L557)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L585)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| millis | int | |
|
||||
|
||||
|
@ -1,117 +0,0 @@
|
||||
# Class I2PFirefoxProfileBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java)
|
||||
|
||||
> */
|
||||
|
||||
Access: public
|
||||
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: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
<li>java.io.File</li>
|
||||
<li>java.nio.file.Files</li>
|
||||
<li>java.nio.file.StandardCopyOption</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## Member Variables
|
||||
|
||||
#### boolean strict [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L)
|
||||
|
||||
>
|
||||
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
|
||||
## Methods
|
||||
|
||||
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L33)
|
||||
|
||||
+ 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/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 |
|
||||
| ----- | ----- | ----- |
|
||||
| base | String | |
|
||||
|
||||
|
||||
### 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 |
|
||||
| ----- | ----- | ----- |
|
||||
| create | boolean | if true create the runtime directory if it does not exist |
|
||||
|
||||
|
||||
### 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#L112)
|
||||
|
||||
+ Description: Copy the inert base profile directory to the runtime profile directory
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| base | String | |
|
||||
|
||||
|
||||
### 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 | |
|
||||
|
||||
|
@ -1,103 +0,0 @@
|
||||
# Class I2PFirefoxProfileChecker [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java)
|
||||
|
||||
> */
|
||||
|
||||
Access: public
|
||||
Description:
|
||||
> I2PFirefoxProfileChecker.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. I2PFirefoxProfileChecker is a that checks if the Firefox profile directory exists and is valid.
|
||||
|
||||
Author: idk
|
||||
Parent class: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
<li>java.io.BufferedReader</li>
|
||||
<li>java.io.File</li>
|
||||
<li>java.io.FileReader</li>
|
||||
<li>java.io.FileWriter</li>
|
||||
<li>java.io.IOException</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## No member variables in this class
|
||||
|
||||
## Methods
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L30)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L51)
|
||||
|
||||
+ 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 |
|
||||
| ----- | ----- | ----- |
|
||||
| profileDirectory | String | the profile directory to check |
|
||||
|
||||
|
||||
### deRestrictHTTPS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L84)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| profile | String | |
|
||||
|
||||
|
||||
### undoHttpsOnlyMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L104)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| fileToBeModified | File | |
|
||||
|
||||
|
||||
### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L140)
|
||||
|
||||
+ Description: Return true if the file is valid.
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: true if the file is valid false otherwise
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| file | String | the file to check |
|
||||
|
||||
|
||||
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L167)
|
||||
|
||||
+ 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 |
|
||||
| ----- | ----- | ----- |
|
||||
| extensionDirectory | String | the extension directory to check |
|
||||
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Class I2PFirefoxProfileUnpacker [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java)
|
||||
|
||||
> */
|
||||
|
||||
Access: public
|
||||
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: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## No member variables in this class
|
||||
|
||||
## Methods
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java#L23)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileUnpacker.java#L37)
|
||||
|
||||
+ Description: unpack the profile directory
|
||||
+ Access: public
|
||||
+ return: true if the profile directory was successfully unpacked
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| profileDirectory | String | |
|
||||
| base | String | |
|
||||
|
||||
|
@ -1,242 +0,0 @@
|
||||
# Class I2PGenericUnsafeBrowser [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java)
|
||||
|
||||
>
|
||||
|
||||
Access: public
|
||||
Description:
|
||||
> I2PChromiumProfileChecker.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. I2PGenericUnsafeBrowser is a wrapper which sets common environment variables for the process controlled by a processbuilder. ALWAYS ALWAYS ALWAYS try the Firefox and Chromium specific launchers first.
|
||||
|
||||
Author: idk
|
||||
Parent class: I2PCommonBrowser
|
||||
package: net.i2p.i2pfirefox
|
||||
|
||||
## Dependencies
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Show dependencies
|
||||
</summary>
|
||||
<ul>
|
||||
<li>java.io.File</li>
|
||||
<li>java.io.IOException</li>
|
||||
<li>java.net.Socket</li>
|
||||
<li>java.util.ArrayList</li>
|
||||
<li>java.util.Scanner</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
## Member Variables
|
||||
|
||||
#### int DEFAULT_TIMEOUT [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L)
|
||||
|
||||
>
|
||||
|
||||
+ Access: private
|
||||
+ Modifiers: final
|
||||
|
||||
#### String BROWSER [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L)
|
||||
|
||||
>
|
||||
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
|
||||
#### Process p [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L)
|
||||
|
||||
>
|
||||
|
||||
+ Access: private
|
||||
|
||||
## Methods
|
||||
|
||||
### 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: and from:
|
||||
+ Access: public
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### getDefaultOutOfRegistry [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L118)
|
||||
|
||||
+ 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#L144)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| dir | String | |
|
||||
|
||||
|
||||
### 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#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#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#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 |
|
||||
| ----- | ----- | ----- |
|
||||
| create | boolean | if true create the runtime directory if it does not exist |
|
||||
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
### 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
|
||||
+ return: Process
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| privateWindow | boolean | |
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L349)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| privateWindow | boolean | |
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L366)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: void
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| millis | int | |
|
||||
|
||||
|
||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L374)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: String
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| inUrl | String | |
|
||||
|
||||
|
||||
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L384)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| port | int | |
|
||||
| host | String | |
|
||||
|
||||
|
1689
LICENSE.html
0
LICENSE.md
Executable file → Normal file
@ -1,275 +1,201 @@
|
||||
<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="LICENSE.html">
|
||||
LICENSE
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="LINUX.html">
|
||||
LINUX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="OSX.html">
|
||||
OSX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="VERSION.html">
|
||||
VERSION
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="WINDOWS.html">
|
||||
WINDOWS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">
|
||||
index.html
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<a href="#hidenav">
|
||||
Hide Navigation
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a id="returnhome" href="/">
|
||||
/
|
||||
</a>
|
||||
<h3>
|
||||
Linux Support
|
||||
</h3>
|
||||
<p>
|
||||
It’s possible to use this package in the following binary formats on
|
||||
Linux. These packages are for the
|
||||
<strong>
|
||||
<code>
|
||||
amd64
|
||||
</code>
|
||||
</strong>
|
||||
architecture.
|
||||
</p>
|
||||
<h4>
|
||||
Linux jpackage:
|
||||
<code>
|
||||
.zip
|
||||
</code>
|
||||
</h4>
|
||||
<pre><code class="language-sh">mkdir ~/tmp-i2pbrowser && cd ~/tmp-i2pbrowser
|
||||
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.0.4/i2pbrowser.zip
|
||||
unzip i2pbrowser.zip && 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>
|
||||
<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>
|
||||
and verify it’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’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="..">
|
||||
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="TODO.html">
|
||||
TODO
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="USAGE.html">
|
||||
USAGE
|
||||
<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>
|
||||
<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'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)
|
||||
<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.
|
||||
@ -1112,18 +1038,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>
|
35
LINUX.md
Normal file
@ -0,0 +1,35 @@
|
||||
### 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: `.zip`
|
||||
|
||||
```sh
|
||||
mkdir ~/tmp-i2pbrowser && cd ~/tmp-i2pbrowser
|
||||
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.0.4/i2pbrowser.zip
|
||||
unzip i2pbrowser.zip && 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
|
@ -32,79 +32,34 @@
|
||||
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="TODO.html">
|
||||
TODO
|
||||
<a href="LINUX.html">
|
||||
LINUX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="USAGE.html">
|
||||
USAGE
|
||||
<a href="OSX.html">
|
||||
OSX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="VERSION.html">
|
||||
VERSION
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="WINDOWS.html">
|
||||
WINDOWS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">
|
||||
index.html
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -118,10 +73,56 @@
|
||||
<a id="returnhome" href="/">
|
||||
/
|
||||
</a>
|
||||
<h1>
|
||||
Using this on OSX
|
||||
</h1>
|
||||
<p>
|
||||
:; 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
|
||||
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
|
||||
<code>
|
||||
.jar
|
||||
</code>
|
||||
file with any Java greater than Java 8.
|
||||
</p>
|
||||
<pre><code class="language-sh">mkdir ~/tmp-i2pfirefox && cd ~/tmp-i2pfirefox
|
||||
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.0.4/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’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">
|
33
OSX.md
Normal file
@ -0,0 +1,33 @@
|
||||
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.0.4/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.
|
224
README.md
Executable file → Normal file
@ -1,15 +1,61 @@
|
||||
# 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
|
||||
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. **It is just a profile manager.**
|
||||
|
||||
**All packages require a running I2P router.**
|
||||
|
||||
**[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
|
||||
|
||||
```sh
|
||||
For platform specific instructions, see
|
||||
|
||||
- [LINUX.md](LINUX.md)/[LINUX.html](LINUX.html)
|
||||
- [OSX.md](OSX.md)/[OSX.html](OSX.html)
|
||||
- [WINDOWS.md](WINDOWS.md)/[WINDOWS.html](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/0.0.16/i2pfirefox.zip
|
||||
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.0.4/i2pfirefox.zip
|
||||
unzip i2pfirefox.zip
|
||||
./i2pfirefox.cmd
|
||||
|
||||
@ -17,175 +63,3 @@ 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
|
||||
|
9
TODO.md
@ -1,9 +0,0 @@
|
||||
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
|
58
USAGE.md
@ -1,58 +0,0 @@
|
||||
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
|
||||
```
|
@ -32,79 +32,34 @@
|
||||
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="TODO.html">
|
||||
TODO
|
||||
<a href="LINUX.html">
|
||||
LINUX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="USAGE.html">
|
||||
USAGE
|
||||
<a href="OSX.html">
|
||||
OSX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="VERSION.html">
|
||||
VERSION
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="WINDOWS.html">
|
||||
WINDOWS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">
|
||||
index.html
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -119,33 +74,55 @@
|
||||
/
|
||||
</a>
|
||||
<h1>
|
||||
<a href="#to-do-list" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
To-Do List:
|
||||
Extension Versions
|
||||
</h1>
|
||||
<ol>
|
||||
<li>
|
||||
Decide on an GUI component for launching the browser/variants with the choices:
|
||||
<ul>
|
||||
<li>
|
||||
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>
|
||||
</li>
|
||||
<li>
|
||||
Registry-based discovery of Firefox variants
|
||||
</li>
|
||||
<li>
|
||||
Registry-based discovery of Chrome variants
|
||||
</li>
|
||||
</ol>
|
||||
<h2>
|
||||
Firefox
|
||||
</h2>
|
||||
<pre><code class="language-md">i2p-in-private-browsing
|
||||
1.44
|
||||
https://addons.mozilla.org/firefox/downloads/file/4020669/i2p_in_private_browsing-1.44.xpi
|
||||
noscript
|
||||
11.4.13
|
||||
https://addons.mozilla.org/firefox/downloads/file/4033638/noscript-11.4.13.xpi
|
||||
localcdn-fork-of-decentraleyes
|
||||
2.6.40
|
||||
https://addons.mozilla.org/firefox/downloads/file/4032517/localcdn_fork_of_decentraleyes-2.6.40.xpi
|
||||
https-everywhere
|
||||
2021.7.13
|
||||
https://addons.mozilla.org/firefox/downloads/file/3809748/https_everywhere-2021.7.13.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.11.1
|
||||
https://addons.mozilla.org/firefox/downloads/file/3950710/javascript_restrictor-0.11.1.xpi
|
||||
ublock-origin
|
||||
1.45.2
|
||||
https://addons.mozilla.org/firefox/downloads/file/4028976/ublock_origin-1.45.2.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.13
|
||||
https://clients2.google.com/service/update2/crx
|
||||
__MSG_about_ext_name__
|
||||
2022.5.24
|
||||
https://clients2.google.com/service/update2/crx
|
||||
LocalCDN
|
||||
2.6.39
|
||||
https://clients2.google.com/service/update2/crx
|
||||
uBlock Origin
|
||||
1.45.2
|
||||
https://clients2.google.com/service/update2/crx
|
||||
JShelter
|
||||
0.11.1
|
||||
https://clients2.google.com/service/update2/crx
|
||||
</code></pre>
|
||||
<div id="sourcecode">
|
||||
<span id="sourcehead">
|
||||
<strong>
|
52
VERSION.md
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
Extension Versions
|
||||
==================
|
||||
|
||||
## Firefox
|
||||
|
||||
```md
|
||||
i2p-in-private-browsing
|
||||
1.44
|
||||
https://addons.mozilla.org/firefox/downloads/file/4020669/i2p_in_private_browsing-1.44.xpi
|
||||
noscript
|
||||
11.4.13
|
||||
https://addons.mozilla.org/firefox/downloads/file/4033638/noscript-11.4.13.xpi
|
||||
localcdn-fork-of-decentraleyes
|
||||
2.6.40
|
||||
https://addons.mozilla.org/firefox/downloads/file/4032517/localcdn_fork_of_decentraleyes-2.6.40.xpi
|
||||
https-everywhere
|
||||
2021.7.13
|
||||
https://addons.mozilla.org/firefox/downloads/file/3809748/https_everywhere-2021.7.13.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.11.1
|
||||
https://addons.mozilla.org/firefox/downloads/file/3950710/javascript_restrictor-0.11.1.xpi
|
||||
ublock-origin
|
||||
1.45.2
|
||||
https://addons.mozilla.org/firefox/downloads/file/4028976/ublock_origin-1.45.2.xpi
|
||||
```
|
||||
|
||||
## Chromium
|
||||
|
||||
```md
|
||||
__MSG_extensionName__
|
||||
1.29
|
||||
https://clients2.google.com/service/update2/crx
|
||||
NoScript
|
||||
11.4.13
|
||||
https://clients2.google.com/service/update2/crx
|
||||
__MSG_about_ext_name__
|
||||
2022.5.24
|
||||
https://clients2.google.com/service/update2/crx
|
||||
LocalCDN
|
||||
2.6.39
|
||||
https://clients2.google.com/service/update2/crx
|
||||
uBlock Origin
|
||||
1.45.2
|
||||
https://clients2.google.com/service/update2/crx
|
||||
JShelter
|
||||
0.11.1
|
||||
https://clients2.google.com/service/update2/crx
|
||||
```
|
@ -32,79 +32,34 @@
|
||||
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="TODO.html">
|
||||
TODO
|
||||
<a href="LINUX.html">
|
||||
LINUX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="USAGE.html">
|
||||
USAGE
|
||||
<a href="OSX.html">
|
||||
OSX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="VERSION.html">
|
||||
VERSION
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="WINDOWS.html">
|
||||
WINDOWS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">
|
||||
index.html
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -118,78 +73,130 @@
|
||||
<a id="returnhome" href="/">
|
||||
/
|
||||
</a>
|
||||
<h1>
|
||||
<a href="#example-commands" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Example Commands:
|
||||
</h1>
|
||||
<h3>
|
||||
Windows Support
|
||||
</h3>
|
||||
<p>
|
||||
These scripts are designed so that they can be executed on both Windows and Unix.
|
||||
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.
|
||||
</p>
|
||||
<h4>
|
||||
Windows Jpackage:
|
||||
<code>
|
||||
.zip
|
||||
</code>
|
||||
</h4>
|
||||
<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.
|
||||
<strong>
|
||||
(Not Recommended! This functionality is already included in the Easy-Install Bundle for Windows)
|
||||
</strong>
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
Start your I2P Router
|
||||
</li>
|
||||
<li>
|
||||
Download the latest release
|
||||
<code>
|
||||
.zip
|
||||
</code>
|
||||
from
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases">
|
||||
Github
|
||||
</a>
|
||||
and verify it’s hash.
|
||||
</li>
|
||||
<li>
|
||||
Unzip the
|
||||
<code>
|
||||
.zip
|
||||
</code>
|
||||
directory
|
||||
</li>
|
||||
<li>
|
||||
run the
|
||||
<code>
|
||||
i2pbrowser.exe
|
||||
</code>
|
||||
file inside the unzipped directory.
|
||||
</li>
|
||||
</ol>
|
||||
<h4>
|
||||
Windows Jpackage:
|
||||
<code>
|
||||
.msi
|
||||
</code>
|
||||
</h4>
|
||||
<p>
|
||||
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).
|
||||
<strong>
|
||||
(Not Recommended! This functionality is already included in the Easy-Install Bundle for Windows)
|
||||
</strong>
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
Start your I2P Router
|
||||
</li>
|
||||
<li>
|
||||
Download the latest release
|
||||
<code>
|
||||
.msi
|
||||
</code>
|
||||
from
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases">
|
||||
Github
|
||||
</a>
|
||||
and verify it’s hash.
|
||||
</li>
|
||||
<li>
|
||||
Run the
|
||||
<code>
|
||||
.msi
|
||||
</code>
|
||||
installer(Only needs to be done once per update)
|
||||
</li>
|
||||
<li>
|
||||
Use the start menu shortcut to launch the pre-configured I2P browser
|
||||
</li>
|
||||
</ol>
|
||||
<h4>
|
||||
Windows Jpackage:
|
||||
<code>
|
||||
.exe
|
||||
</code>
|
||||
</h4>
|
||||
<p>
|
||||
Both determine the path to the script, use it to find the jar file, and execute a single command.
|
||||
<strong>
|
||||
(Not Recommended! This functionality is already included in the Easy-Install Bundle for Windows)
|
||||
</strong>
|
||||
</p>
|
||||
<p>
|
||||
Auto-Select in Persistent Mode
|
||||
</p>
|
||||
<div>
|
||||
<pre>:; 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
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
Auto-Select in Private Browsing Mode
|
||||
</p>
|
||||
<div>
|
||||
<pre>:; 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
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
Firefox in Persistent Mode
|
||||
</p>
|
||||
<div>
|
||||
<pre>:; 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
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
Firefox in Private Browsing Mode
|
||||
</p>
|
||||
<div>
|
||||
<pre>:; 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
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
Chromium in Persistent Mode
|
||||
</p>
|
||||
<div>
|
||||
<pre>:; 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
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
Chromium in Private Browsing Mode
|
||||
</p>
|
||||
<div>
|
||||
<pre>:; 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
|
||||
</pre>
|
||||
</div>
|
||||
<ol>
|
||||
<li>
|
||||
Start your I2P Router
|
||||
</li>
|
||||
<li>
|
||||
Download the latest release
|
||||
<code>
|
||||
.exe
|
||||
</code>
|
||||
from
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases">
|
||||
Github
|
||||
</a>
|
||||
and verify it’s hash.
|
||||
</li>
|
||||
<li>
|
||||
Run the
|
||||
<code>
|
||||
.msi
|
||||
</code>
|
||||
installer(Only needs to be done once per update)
|
||||
</li>
|
||||
<li>
|
||||
Use the start menu shortcut to launch the pre-configured I2P browser
|
||||
</li>
|
||||
</ol>
|
||||
<div id="sourcecode">
|
||||
<span id="sourcehead">
|
||||
<strong>
|
33
WINDOWS.md
Normal file
@ -0,0 +1,33 @@
|
||||
### 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
|
1
arkenfox.number
Normal file
@ -0,0 +1 @@
|
||||
arkenfox.number=105.0
|
15
browser.config
Normal file
@ -0,0 +1,15 @@
|
||||
#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
|
7
browser.config.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#! /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"
|
560
build.xml
@ -2,12 +2,21 @@
|
||||
<project basedir="." default="all" name="i2pfirefox">
|
||||
<property file="override.properties"/>
|
||||
|
||||
<target name="all" depends="clean,i2pFirefoxBaseProfileZip,i2pChromiumBaseProfileZip,plugin" />
|
||||
<target name="all" depends="clean,versionMd,i2pFirefoxBaseProfileZip,i2pChromiumBaseProfileZip,jar" />
|
||||
|
||||
<target name="war" >
|
||||
<ant dir="src" target="build" />
|
||||
</target>
|
||||
|
||||
<target name="tarball">
|
||||
<exec executable="git">
|
||||
<arg value="archive"/>
|
||||
<arg value="--format=tar.gz"/>
|
||||
<arg value="--output=i2p.plugins.firefox.tar.gz"/>
|
||||
<arg value="main"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="examples" >
|
||||
<exec executable="echo">
|
||||
<redirector output="USAGE.md"/>
|
||||
@ -168,108 +177,41 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="distclean,i2pFirefoxBaseProfileZip,i2pFirefoxUsabilityProfileZip,i2pChromiumBaseProfileZip">
|
||||
<target name="jar" depends="versionMd,i2pFirefoxBaseProfileZip,i2pFirefoxUsabilityProfileZip,i2pChromiumBaseProfileZip,i2pChromiumUsabilityProfileZip">
|
||||
<ant dir="src" target="jar" />
|
||||
</target>
|
||||
|
||||
<target name="i2pFirefoxBaseProfileZip" depends="i2pFirefoxUsabilityProfileZip">
|
||||
<target name="i2pFirefoxBaseProfileZip">
|
||||
<exec executable="rm" failonerror="false" dir="src">
|
||||
<arg value="-rf" />
|
||||
<arg value="i2p.firefox.base.profile.zip" />
|
||||
</exec>
|
||||
<exec executable="zip" failonerror="true" dir="src">
|
||||
<arg value="-r"/>
|
||||
<exec executable="dzip" failonerror="true" dir="src">
|
||||
<arg value="-O"/>
|
||||
<arg value="i2p.firefox.base.profile.zip"/>
|
||||
<arg value="i2p.firefox.base.profile"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="i2pFirefoxUsabilityProfileZip">
|
||||
<exec executable="rm" failonerror="false" dir="src">
|
||||
<arg value="-rf" />
|
||||
<arg value="i2p.firefox.usability.profile.zip" />
|
||||
</exec>
|
||||
<exec executable="zip" failonerror="true" dir="src">
|
||||
<arg value="-r"/>
|
||||
<exec executable="dzip" failonerror="true" dir="src">
|
||||
<arg value="-O"/>
|
||||
<arg value="i2p.firefox.usability.profile.zip"/>
|
||||
<arg value="i2p.firefox.usability.profile"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="i2pChromiumBaseProfile">
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="ikdjcmomgldfciocnpekfndklkfgglpe" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.base.profile/extensions/i2pchrome.js.crx" />
|
||||
</exec>
|
||||
<!--
|
||||
TODO: I don't want to deal with licensing issues while on a headfull of cold
|
||||
medicine and COVID. SO for now I'm only including a plugin written by a person
|
||||
who I'm pretty sure isn't going to sue me for it(me). In order to more closely
|
||||
mirror the behavior of the Firefox profile, we should at least include a script
|
||||
blocking plugin, such as ScriptSafe. uBlock was also suggested and I tend to
|
||||
agree. However, since we have to load extensions unpacked, they won't be updated
|
||||
automatically. This is probably good for working against fingerprinting but it's
|
||||
also more work should a plugin have a security vulnerability.
|
||||
-->
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="doojmbjmlfjjnbmnoijecmcbfeoakpjm" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.base.profile/extensions/noscript.js.crx" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="i2pChromiumUsabilityProfile">
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="ikdjcmomgldfciocnpekfndklkfgglpe" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/i2pchrome.js.crx" />
|
||||
</exec>
|
||||
<!--
|
||||
TODO: I don't want to deal with licensing issues while on a headfull of cold
|
||||
medicine and COVID. SO for now I'm only including a plugin written by a person
|
||||
who I'm pretty sure isn't going to sue me for it(me). In order to more closely
|
||||
mirror the behavior of the Firefox profile, we should at least include a script
|
||||
blocking plugin, such as ScriptSafe. uBlock was also suggested and I tend to
|
||||
agree. However, since we have to load extensions unpacked, they won't be updated
|
||||
automatically. This is probably good for working against fingerprinting but it's
|
||||
also more work should a plugin have a security vulnerability.
|
||||
-->
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="cjpalhdlnbpafiamejdnhcphjbkeiagm" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/ublock.js.crx" />
|
||||
</exec>
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="ammoloihpcbognfddfjcljgembpibcmb" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/jshelter.js.crx" />
|
||||
</exec>
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="njdfdhgcmkocbgbhcioffdbicglldapd" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/localcdn.js.crx" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="i2pChromiumBaseProfileZip">
|
||||
<exec executable="rm" failonerror="false" dir="src">
|
||||
<arg value="-rf" />
|
||||
<arg value="i2p.chromium.base.profile.zip" />
|
||||
</exec>
|
||||
<exec executable="zip" failonerror="true" dir="src">
|
||||
<arg value="-r"/>
|
||||
<exec executable="dzip" failonerror="true" dir="src">
|
||||
<arg value="-O"/>
|
||||
<arg value="i2p.chromium.base.profile.zip"/>
|
||||
<arg value="i2p.chromium.base.profile"/>
|
||||
</exec>
|
||||
@ -280,8 +222,8 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<arg value="-rf" />
|
||||
<arg value="i2p.chromium.usability.profile.zip" />
|
||||
</exec>
|
||||
<exec executable="zip" failonerror="true" dir="src">
|
||||
<arg value="-r"/>
|
||||
<exec executable="dzip" failonerror="true" dir="src">
|
||||
<arg value="-O"/>
|
||||
<arg value="i2p.chromium.usability.profile.zip"/>
|
||||
<arg value="i2p.chromium.usability.profile"/>
|
||||
</exec>
|
||||
@ -292,8 +234,8 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<arg value="-rf" />
|
||||
<arg value="i2pbrowser.zip" />
|
||||
</exec>
|
||||
<exec executable="zip" failonerror="true">
|
||||
<arg value="-r"/>
|
||||
<exec executable="dzip" failonerror="true">
|
||||
<arg value="-O"/>
|
||||
<arg value="i2pfirefox.zip"/>
|
||||
<arg value="src/build/i2pfirefox.jar"/>
|
||||
<arg value="i2pfirefox.cmd"/>
|
||||
@ -302,22 +244,121 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<arg value="i2pchromium-private.cmd"/>
|
||||
<arg value="i2pfirefox-usability.cmd"/>
|
||||
<arg value="i2pchromium-usability.cmd"/>
|
||||
<arg value="i2pfirefox-usability-private.cmd"/>
|
||||
<arg value="i2pfirefox-private-usability.cmd"/>
|
||||
<arg value="i2pchromium-usability-private.cmd"/>
|
||||
<arg value="LICENSE.md"/>
|
||||
<arg value="README.md"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="plugin" depends="war">
|
||||
<target name="arkenfoxUpdateUserJs">
|
||||
<exec executable="git" osfamily="unix" failonerror="false">
|
||||
<arg value="clone" />
|
||||
<arg value="https://github.com/arkenfox/user.js" />
|
||||
</exec>
|
||||
<exec executable="git" dir="user.js" output="user.js/.arkenfox.number">
|
||||
<arg value="tag" />
|
||||
<arg value="--sort=committerdate" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="arkenfoxConfig" depends="arkenfoxUpdateUserJs">
|
||||
<exec executable="tail" dir="user.js" output="user.js/.arkenfox.number">
|
||||
<arg value="-n" />
|
||||
<arg value="1" />
|
||||
<arg value=".arkenfox.number" />
|
||||
</exec>
|
||||
<exec executable="echo" dir="user.js" output="arkenfox.number" append="false">
|
||||
<arg value="-n" />
|
||||
<arg value="-e" />
|
||||
<arg value="arkenfox.number=" />
|
||||
</exec>
|
||||
<exec executable="cat" dir="user.js" output="arkenfox.number" append="true">
|
||||
<arg value=".arkenfox.number" />
|
||||
</exec>
|
||||
<exec executable="tr" input="arkenfox.number" output="arkenfox.number" append="false">
|
||||
<arg value="-d" />
|
||||
<arg value="\n" />
|
||||
</exec>
|
||||
</target>
|
||||
<target name="arkenfoxNum" depends="arkenfoxConfig">
|
||||
<property file="arkenfox.number" />
|
||||
<exec executable="echo" osfamily="unix" output="arkenfoxnum">
|
||||
<arg value="{arkenfox.number}" />
|
||||
</exec>
|
||||
</target>
|
||||
<target name="arkenfoxCheckout" depends="arkenfoxNum">
|
||||
<exec executable="git" osfamily="unix" dir="user.js">
|
||||
<arg value="pull" />
|
||||
<arg value="--tags" />
|
||||
</exec>
|
||||
<exec executable="git" osfamily="unix" dir="user.js">
|
||||
<arg value="checkout" />
|
||||
<arg value="${arkenfox.number}" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="userJs" depends="i2pFirefoxBaseUserJs,i2pFirefoxUsabilityUserJs">
|
||||
</target>
|
||||
<target name="i2pFirefoxBaseUserJs" depends="arkenfoxCheckout">
|
||||
<copy file="user.js/user.js" tofile="src/i2p.firefox.base.profile/user.js"/>
|
||||
<exec executable="sed" osfamily="unix">
|
||||
<arg value="-i" />
|
||||
<arg value='s|user_pref("extensions.autoDisableScopes", 15);|user_pref("extensions.autoDisableScopes", 0);|g' />
|
||||
<arg value="src/i2p.firefox.base.profile/user.js" />
|
||||
</exec>
|
||||
<exec executable="sed" osfamily="unix">
|
||||
<arg value="-i" />
|
||||
<arg value='s|user_pref("extensions.enabledScopes", 5);|user_pref("extensions.enabledScopes", 1);|g' />
|
||||
<arg value="src/i2p.firefox.base.profile/user.js" />
|
||||
</exec>
|
||||
<exec executable="sed" osfamily="unix">
|
||||
<arg value="-i" />
|
||||
<arg value='s|user_pref("dom.security.https_only_mode", true);|user_pref("dom.security.https_only_mode", false);|g' />
|
||||
<arg value="src/i2p.firefox.base.profile/user.js" />
|
||||
</exec>
|
||||
</target>
|
||||
<target name="i2pFirefoxUsabilityUserJs" depends="arkenfoxCheckout">
|
||||
<copy file="user.js/user.js" tofile="src/i2p.firefox.usability.profile/user.js"/>
|
||||
<exec executable="sed" osfamily="unix">
|
||||
<arg value="-i" />
|
||||
<arg value='s|user_pref("extensions.autoDisableScopes", 15);|user_pref("extensions.autoDisableScopes", 0);|g' />
|
||||
<arg value="src/i2p.firefox.usability.profile/user.js" />
|
||||
</exec>
|
||||
<exec executable="sed" osfamily="unix">
|
||||
<arg value="-i" />
|
||||
<arg value='s|user_pref("extensions.enabledScopes", 5);|user_pref("extensions.enabledScopes", 1);|g' />
|
||||
<arg value="src/i2p.firefox.usability.profile/user.js" />
|
||||
</exec>
|
||||
<exec executable="sed" osfamily="unix">
|
||||
<arg value="-i" />
|
||||
<arg value='s|user_pref("dom.security.https_only_mode", true);|user_pref("dom.security.https_only_mode", false);|g' />
|
||||
<arg value="src/i2p.firefox.usability.profile/user.js" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="buildNum">
|
||||
<buildnumber file="scripts/build.number" />
|
||||
<property name="release.number" value="1.0.4" />
|
||||
<exec executable="echo" osfamily="unix">
|
||||
<arg value="${release.number}-${build.number}" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="ebn" depends="buildNum">
|
||||
<exec executable="echo" osfamily="unix">
|
||||
<arg value="${release.number}-${build.number}" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="plugin" depends="war, buildNum">
|
||||
<delete>
|
||||
<!-- in installer but not update -->
|
||||
<fileset dir="plugin/" includes="i2ptunnel.config i2pfirefox.config eepsite/docroot/index.html eepsite/docroot/robots.txt" />
|
||||
</delete>
|
||||
<delete dir="plugin/eepsite/docroot/torrents/" />
|
||||
<!-- get version number -->
|
||||
<buildnumber file="scripts/build.number" />
|
||||
<property name="release.number" value="0.0.25" />
|
||||
|
||||
|
||||
<!-- make the update xpi2p -->
|
||||
<!-- this contains everything except i2ptunnel.config -->
|
||||
@ -332,7 +373,7 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<arg value="update-only=true" />
|
||||
</exec>
|
||||
<exec executable="echo" osfamily="unix" failonerror="true" output="plugin/plugin.config" append="true">
|
||||
<arg value="version=${release.number}-b${build.number}" />
|
||||
<arg value="${release.number}-${build.number}" />
|
||||
</exec>
|
||||
<input message="Enter su3 signing key password:" addproperty="release.password.su3" />
|
||||
<fail message="You must enter a password." >
|
||||
@ -355,7 +396,7 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<copy file="scripts/robots.txt" todir="plugin/eepsite/docroot/" overwrite="true" />
|
||||
<mkdir dir="plugin/eepsite/docroot/torrents/" />
|
||||
<exec executable="echo" osfamily="unix" failonerror="true" output="plugin/plugin.config" append="true">
|
||||
<arg value="version=${release.number}-b${build.number}" />
|
||||
<arg value="${release.number}-${build.number}" />
|
||||
</exec>
|
||||
<exec executable="scripts/makeplugin.sh" inputstring="${release.password.su3}" failonerror="true" >
|
||||
<arg value="plugin" />
|
||||
@ -387,11 +428,13 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<delete>
|
||||
<fileset dir="." includes="*/*.~ **/*.*~ */**/*.*~ *.*~" />
|
||||
</delete>
|
||||
<delete dir="user.js" />
|
||||
<delete dir="i2p.firefox.base.profile" />
|
||||
<delete dir="i2p.firefox.usability.profile" />
|
||||
<delete dir="i2p.firefox.profile" />
|
||||
<delete dir="src/i2p.firefox.profile.zip" />
|
||||
<delete dir="i2p.chromium.base.profile" />
|
||||
<delete dir="i2p.chromium.usability.profile" />
|
||||
<delete dir="i2p.chromium.profile" />
|
||||
<delete dir="src/i2p.chromium.profile.zip" />
|
||||
<delete file="plugin/i2ptunnel.config" />
|
||||
@ -413,6 +456,9 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<delete file="i2pfirefox-update.su3" />
|
||||
<delete file="plugin.zip" />
|
||||
<delete dir="plugin/eepsite/docroot/torrents/" />
|
||||
<exec executable="git">
|
||||
<arg value="clean"/> <arg value="-fdx"/>
|
||||
</exec>
|
||||
</target>
|
||||
<target name="jpackage" depends="jar">
|
||||
<delete dir="i2pbrowser" />
|
||||
@ -420,6 +466,7 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<arg value="--type"/> <arg value="app-image"/>
|
||||
<arg value="--name"/> <arg value="i2pbrowser"/>
|
||||
<arg value="--app-version"/> <arg value="${release_number}"/>
|
||||
<arg value="--app-content"/> <arg value="etc/scripts/torbrowser.sh"/>
|
||||
<arg value="--input"/> <arg value="src/build"/>
|
||||
<arg value="--main-jar"/> <arg value="i2pfirefox.jar"/>
|
||||
<arg value="--main-class"/> <arg value="net.i2p.i2pfirefox.I2PBrowser"/>
|
||||
@ -428,10 +475,345 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<arg value="-rf" />
|
||||
<arg value="i2pbrowser.zip" />
|
||||
</exec>
|
||||
<exec executable="zip" failonerror="true">
|
||||
<arg value="-r"/>
|
||||
<exec executable="dzip" failonerror="true">
|
||||
<arg value="-O"/>
|
||||
<arg value="i2pbrowser.zip"/>
|
||||
<arg value="i2pbrowser"/>
|
||||
</exec>
|
||||
</target>
|
||||
<target name="debian" depends="jar">
|
||||
<exec executable="bash" failonerror="true">
|
||||
<arg value="--verbose"/>
|
||||
<arg value="-c"/>
|
||||
<arg value="./debian.sh"/>
|
||||
</exec>
|
||||
</target>
|
||||
<target name="fedora" depends="jar">
|
||||
<exec executable="bash" failonerror="true">
|
||||
<arg value="--verbose"/>
|
||||
<arg value="-c"/>
|
||||
<arg value="./fedora.sh"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="versionMd" depends="i2pFirefoxBaseProfile, i2pFirefoxUsabilityProfile, i2pChromiumBaseProfile, i2pChromiumUsabilityProfile">
|
||||
<delete file="VERSION.md"></delete>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value=""/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="Extension Versions"/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="=================="/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value=""/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="## Firefox"/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value=""/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="```md"/>
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-n"/>
|
||||
<arg value="i2p-in-private-browsing"/>
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-n"/>
|
||||
<arg value="noscript"/>
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-n"/>
|
||||
<arg value="localcdn-fork-of-decentraleyes"/>
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-n"/>
|
||||
<arg value="https-everywhere"/>
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-n"/>
|
||||
<arg value="onion-in-container-browsing"/>
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-n"/>
|
||||
<arg value="javascript-restrictor"/>
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-n"/>
|
||||
<arg value="ublock-origin"/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="```"/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value=""/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="## Chromium"/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value=""/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="```md"/>
|
||||
</exec>
|
||||
<exec executable="manifest-json-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-mf"/>
|
||||
<arg value="src/i2p.chromium.base.profile/extensions/i2pchrome.js/manifest.json"/>
|
||||
</exec>
|
||||
<exec executable="manifest-json-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-mf"/>
|
||||
<arg value="src/i2p.chromium.base.profile/extensions/noscript.js/manifest.json"/>
|
||||
</exec>
|
||||
<exec executable="manifest-json-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-mf"/>
|
||||
<arg value="src/i2p.chromium.base.profile/extensions/https-everywhere.js/manifest.json"/>
|
||||
</exec>
|
||||
<exec executable="manifest-json-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-mf"/>
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/localcdn.js/manifest.json"/>
|
||||
</exec>
|
||||
<exec executable="manifest-json-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-mf"/>
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/ublock.js/manifest.json"/>
|
||||
</exec>
|
||||
<exec executable="manifest-json-version" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="-mf"/>
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/jshelter.js/manifest.json"/>
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true">
|
||||
<redirector output="VERSION.md" error="VERSION.md" alwayslog="true" append="true"></redirector>
|
||||
<arg value="```"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="i2pChromiumBaseProfile">
|
||||
<mkdir dir="src/i2p.chromium.base.profile/extensions/" />
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="ikdjcmomgldfciocnpekfndklkfgglpe" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.base.profile/extensions/i2pchrome.js.crx" />
|
||||
</exec>
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="doojmbjmlfjjnbmnoijecmcbfeoakpjm" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.base.profile/extensions/noscript.js.crx" />
|
||||
</exec>
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="gcbommkclmclpchllfjekcdonpmejbdp" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.base.profile/extensions/https-everywhere.js.crx" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="false" output="src/i2p.chromium.base.profile/version.md">
|
||||
<arg value="Profile Version" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.chromium.base.profile/version.md">
|
||||
<arg value="===============" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.chromium.base.profile/version.md">
|
||||
<arg value="" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.chromium.base.profile/version.md">
|
||||
<arg value="${release.number}-${build.number}" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.chromium.base.profile/version.md">
|
||||
<arg value="" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="i2pChromiumUsabilityProfile">
|
||||
<mkdir dir="src/i2p.chromium.usability.profile/extensions/" />
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="ikdjcmomgldfciocnpekfndklkfgglpe" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/i2pchrome.js.crx" />
|
||||
</exec>
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="cjpalhdlnbpafiamejdnhcphjbkeiagm" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/ublock.js.crx" />
|
||||
</exec>
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="ammoloihpcbognfddfjcljgembpibcmb" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/jshelter.js.crx" />
|
||||
</exec>
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="njdfdhgcmkocbgbhcioffdbicglldapd" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/localcdn.js.crx" />
|
||||
</exec>
|
||||
<exec executable="crx3" failonerror="true">
|
||||
<arg value="download"/>
|
||||
<arg value="gcbommkclmclpchllfjekcdonpmejbdp" />
|
||||
<arg value="-u=true"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.chromium.usability.profile/extensions/https-everywhere.js.crx" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="false" output="src/i2p.chromium.usability.profile/version.md">
|
||||
<arg value="Profile Version" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.chromium.usability.profile/version.md">
|
||||
<arg value="===============" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.chromium.usability.profile/version.md">
|
||||
<arg value="" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.chromium.usability.profile/version.md">
|
||||
<arg value="${release.number}-${build.number}" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.chromium.usability.profile/version.md">
|
||||
<arg value="" />
|
||||
</exec>
|
||||
</target>
|
||||
<target name="i2pFirefoxBaseProfile" depends="buildNum">
|
||||
<mkdir dir="src/i2p.firefox.base.profile/extensions/" />
|
||||
<copy file="src/prefs.js" tofile="src/i2p.firefox.base.profile/prefs.js" />
|
||||
<copy file="src/user-overrides.js" tofile="src/i2p.firefox.base.profile/user-overrides.js" />
|
||||
<touch file="src/i2p.firefox.base.profile/first-run"/>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="i2p-in-private-browsing"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.firefox.base.profile/extensions/i2ppb@eyedeekay.github.io.xpi" />
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="noscript"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.firefox.base.profile/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" />
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="https-everywhere"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.firefox.base.profile/extensions/https-everywhere-eff@eff.org.xpi" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="false" output="src/i2p.firefox.base.profile/version.md">
|
||||
<arg value="Profile Version" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.firefox.base.profile/version.md">
|
||||
<arg value="===============" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.firefox.base.profile/version.md">
|
||||
<arg value="" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.firefox.base.profile/version.md">
|
||||
<arg value="${release.number}-${build.number}" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.firefox.base.profile/version.md">
|
||||
<arg value="" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="i2pFirefoxUsabilityProfile" depends="buildNum">
|
||||
<mkdir dir="src/i2p.firefox.usability.profile/extensions/" />
|
||||
<copy file="src/prefs.js" tofile="src/i2p.firefox.usability.profile/prefs.js" />
|
||||
<copy file="src/user-overrides.js" tofile="src/i2p.firefox.usability.profile/user-overrides.js" />
|
||||
<touch file="src/i2p.firefox.usability.profile/first-run"/>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="i2p-in-private-browsing"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.firefox.usability.profile/extensions/i2ppb@eyedeekay.github.io.xpi" />
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="localcdn-fork-of-decentraleyes"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="./src/i2p.firefox.usability.profile/extensions/{b86e4813-687a-43e6-ab65-0bde4ab75758}.xpi" />
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="https-everywhere"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.firefox.usability.profile/extensions/https-everywhere-eff@eff.org.xpi" />
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="onion-in-container-browsing"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.firefox.usability.profile/extensions/onioncbt@eyedeekay.github.io.xpi" />
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="javascript-restrictor"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.firefox.usability.profile/extensions/jsr@javascriptrestrictor.xpi" />
|
||||
</exec>
|
||||
<exec executable="amo-version" failonerror="true">
|
||||
<arg value="-n"/>
|
||||
<arg value="ublock-origin"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="-o" />
|
||||
<arg value="src/i2p.firefox.usability.profile/extensions/uBlock0@raymondhill.net.xpi" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="false" output="src/i2p.firefox.usability.profile/version.md">
|
||||
<arg value="Profile Version" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.firefox.usability.profile/version.md">
|
||||
<arg value="===============" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.firefox.usability.profile/version.md">
|
||||
<arg value="" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.firefox.usability.profile/version.md">
|
||||
<arg value="${release.number}-${build.number}" />
|
||||
</exec>
|
||||
<exec executable="echo" failonerror="true" append="true" output="src/i2p.firefox.usability.profile/version.md">
|
||||
<arg value="" />
|
||||
</exec>
|
||||
</target>
|
||||
</project>
|
||||
|
6
config.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#! /usr/bin/env sh
|
||||
export GITHUB_USER=eyedeekay
|
||||
export GITHUB_REPO=i2p.plugins.firefox
|
||||
export GITHUB_NAME="Enforces App and Browser Modes"
|
||||
export GITHUB_DESCRIPTION=$(cat CHANGES.md VERSION.md)
|
||||
export GITHUB_TAG=1.0.4
|
17
debian.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
. ./config.sh
|
||||
jpackage --verbose \
|
||||
--type deb \
|
||||
--linux-deb-maintainer hankhill19580@gmail.com \
|
||||
--linux-menu-group "Network;WebBrowser;P2P" \
|
||||
--linux-app-category "Network" \
|
||||
--linux-package-deps "firefox|chromium|brave|firefox-esr|librewolf|icecat" \
|
||||
--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
|
11
docker.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#! /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
|
32
etc/scripts/torbrowser-windows.sh
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
TORSOCKS=$(which torsocks)
|
||||
#if [ -f "${TORSOCKS}" ]; then
|
||||
# . "${TORSOCKS}" on
|
||||
#fi
|
||||
|
||||
version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")"
|
||||
locale="en-US" # mention your locale. default = en-US
|
||||
if [ -d /etc/default/locale ]; then
|
||||
. /etc/default/locale
|
||||
locale=$(echo "${LANG}" | cut -d . -f1)
|
||||
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"
|
28
etc/scripts/torbrowser.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
TORSOCKS=$(which torsocks)
|
||||
if [ -f "${TORSOCKS}" ]; then
|
||||
. "${TORSOCKS}" on
|
||||
echo ""
|
||||
fi
|
||||
|
||||
version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")"
|
||||
locale="en-US" # mention your locale. default = en-US
|
||||
if [ -d /etc/default/locale ]; then
|
||||
. /etc/default/locale
|
||||
locale=$(echo "${LANG}" | cut -d . -f1)
|
||||
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"
|
29
fedora-docker.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
. ./config.sh
|
||||
|
||||
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 \
|
||||
--linux-menu-group "Network;WebBrowser;P2P" \
|
||||
--linux-app-category "Network" \
|
||||
--linux-package-deps "firefox|chromium|brave|firefox-esr|librewolf|icecat" \
|
||||
--linux-shortcut \
|
||||
--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
|
||||
ls *.rpm
|
7
fedora.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
. ./config.sh
|
||||
docker build -f Dockerfile.fedora -t eyedeekay/i2p.plugins.firefox.fedora .
|
||||
docker rm -f i2pbrowser-fedora
|
||||
docker run --name i2pbrowser-fedora eyedeekay/i2p.plugins.firefox.fedora
|
||||
docker cp i2pbrowser-fedora:/src/i2p.plugins.firefox/i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm .
|
5
gngr.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#! /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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
@ -1,3 +0,0 @@
|
||||
:; 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
|
565
index.html
@ -32,79 +32,34 @@
|
||||
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="TODO.html">
|
||||
TODO
|
||||
<a href="LINUX.html">
|
||||
LINUX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="USAGE.html">
|
||||
USAGE
|
||||
<a href="OSX.html">
|
||||
OSX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="VERSION.html">
|
||||
VERSION
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="WINDOWS.html">
|
||||
WINDOWS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">
|
||||
index.html
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -119,354 +74,172 @@
|
||||
/
|
||||
</a>
|
||||
<h1>
|
||||
<a href="#i2p-plugins-firefox" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
i2p.plugins.firefox
|
||||
</h1>
|
||||
<p>
|
||||
A port of the batch scripts from i2p.firefox to Java.
|
||||
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’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>
|
||||
<a href="#getting-started" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Getting started
|
||||
</h2>
|
||||
<h3>
|
||||
<a href="#using-a-binary" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
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>
|
||||
<div>
|
||||
<pre>
|
||||
mkdir ~/tmp-i2pfirefox && cd ~/tmp-i2pfirefox
|
||||
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.16/i2pfirefox.zip
|
||||
<p>
|
||||
For platform specific instructions, see
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="LINUX.md">
|
||||
LINUX.md
|
||||
</a>
|
||||
/
|
||||
<a href="LINUX.html">
|
||||
LINUX.html
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="OSX.md">
|
||||
OSX.md
|
||||
</a>
|
||||
/
|
||||
<a href="OSX.html">
|
||||
OSX.html
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="WINDOWS.md">
|
||||
WINDOWS.md
|
||||
</a>
|
||||
/
|
||||
<a href="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 && cd ~/tmp-i2pfirefox
|
||||
wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.0.4/i2pfirefox.zip
|
||||
unzip i2pfirefox.zip
|
||||
./i2pfirefox.cmd
|
||||
|
||||
#or if you want to use a Chromium
|
||||
|
||||
./i2pchromium.cmd
|
||||
</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'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'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("I2P is already running");
|
||||
System.out.println("I2PFirefox");
|
||||
I2PFirefox i2pFirefox = new I2PFirefox();
|
||||
i2pFirefox.launch();
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
<div>
|
||||
<pre>
|
||||
// Chromium Example
|
||||
if (i2pIsRunning()) {
|
||||
logger.warning("I2P is already running");
|
||||
System.out.println("I2PChromium");
|
||||
I2PChromium i2pChromium = new I2PChromium();
|
||||
i2pChromium.launch();
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
<div>
|
||||
<pre>
|
||||
// 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);
|
||||
}
|
||||
</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>
|
||||
"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.
|
||||
</li>
|
||||
<li>
|
||||
"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
|
||||
<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>
|
||||
"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.
|
||||
</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's own user. Linux will only use
|
||||
Tor Browser if it's discovered in "Local" mode.
|
||||
</li>
|
||||
<li>
|
||||
The above is also true of OSX for now but doesn'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 "Coarse" 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'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>
|
||||
</code></pre>
|
||||
<div id="sourcecode">
|
||||
<span id="sourcehead">
|
||||
<strong>
|
||||
|
@ -1,10 +1,9 @@
|
||||
#! /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 .
|
||||
mv -v generated/net/i2p/i2pfirefox/*.md ./docs/
|
||||
rm -rf generated
|
||||
git add ./*.md
|
11
osx-dmg.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#! /usr/bin/env sh
|
||||
. ./config.sh
|
||||
jpackage \
|
||||
--verbose \
|
||||
--type dmg \
|
||||
--name i2pbrowser \
|
||||
--app-version "$GITHUB_TAG" \
|
||||
--icon src/icon.icns \
|
||||
--input src/build \
|
||||
--main-jar i2pfirefox.jar \
|
||||
--main-class net.i2p.i2pfirefox.I2PBrowser
|
61
packages.sh
Executable file
@ -0,0 +1,61 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
. ./config.sh
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pfirefox.jar"
|
||||
echo "Downloaded jar"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pfirefox.zip"
|
||||
echo "Downloaded freestanding zip"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser.zip"
|
||||
echo "Downloaded jpackage zip"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser_${GITHUB_TAG}_amd64.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"
|
||||
echo "Downloaded fedora package"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser.msi"
|
||||
echo "Downloaded MSI package"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser.exe"
|
||||
echo "Downloaded EXE package"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser-portable.zip"
|
||||
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 "" | tee -a RELEASES.md
|
||||
|
||||
git add RELEASES.md
|
||||
edgar
|
||||
git commit -am "Update releases page"
|
||||
git push --all
|
15
preprelease.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#! /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' LINUX.md | grep i2pbrowser`
|
||||
sed -i "s|${READMELINE}|wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.zip|g" LINUX.md
|
||||
READMELINE=`grep 'i2p.plugins.firefox/releases/download' OSX.md | grep i2pfirefox`
|
||||
sed -i "s|${READMELINE}|wget https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.zip|g" OSX.md
|
||||
sed -i "s|${NUMLINE}| <property name=\"release.number\" value=\"$GITHUB_TAG\" />|g" build.xml
|
||||
edgar && git push --all
|
||||
ant distclean tarball versionMd jar freeZip jpackage debian fedora
|
39
profiles-upload.sh
Executable file
@ -0,0 +1,39 @@
|
||||
#! /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"
|
58
release.sh
@ -1,51 +1,67 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
GITHUB_USER=eyedeekay
|
||||
GITHUB_REPO=i2p.plugins.firefox
|
||||
GITHUB_NAME="Make logging better."
|
||||
GITHUB_DESCRIPTION=$(cat CHANGES.md)
|
||||
GITHUB_TAG=0.0.25
|
||||
ant distclean
|
||||
./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
|
||||
. ./config.sh
|
||||
./preprelease.sh
|
||||
github-release release --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--name "${GITHUB_NAME}" \
|
||||
--description "${GITHUB_DESCRIPTION}" \
|
||||
--tag "${GITHUB_TAG}"; true
|
||||
./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"
|
||||
echo "Relase ${GITHUB_TAG} setup"
|
||||
tarsum=$(sha256sum i2p.plugins.firefox.tar.gz)
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--label "I2P Browser launcher as a .jar." \
|
||||
--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}" \
|
||||
--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" \
|
||||
--replace
|
||||
--file "src/build/i2pfirefox.jar"
|
||||
echo "Uploaded jar"
|
||||
zipsum=$(sha256sum "i2pfirefox.zip")
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--label "I2P Browser launcher as a .jar and a set of semi-univeral launcher scripts." \
|
||||
--label "I2P Browser launcher as a .jar and a set of semi-univeral launcher scripts. ${zipsum}" \
|
||||
--name "i2pfirefox.zip" \
|
||||
--file "i2pfirefox.zip" \
|
||||
--replace
|
||||
--file "i2pfirefox.zip"
|
||||
echo "Uploaded freestanding zip"
|
||||
jvmsum=$(sha256sum "i2pbrowser.zip")
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--label "I2P Browser launcher as a Jpackage, does not require a JVM, Linux Only for now unless you BYO." \
|
||||
--label "I2P Browser launcher as a Jpackage, does not require a JVM. ${jvmsum}" \
|
||||
--name "i2pbrowser.zip" \
|
||||
--file "i2pbrowser.zip" \
|
||||
--replace
|
||||
--file "i2pbrowser.zip"
|
||||
echo "Uploaded jpackage zip"
|
||||
debsum=$(sha256sum "i2pbrowser_${GITHUB_TAG}_amd64.deb")
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--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"
|
||||
echo "Uploaded debian package"
|
||||
rpmsum=$(sha256sum i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm)
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--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"
|
||||
echo "Uploaded fedora package"
|
||||
|
||||
git pull github --tags
|
||||
git push --all
|
||||
|
@ -1,3 +1,3 @@
|
||||
#Build Number for ANT. Do not edit!
|
||||
#Tue Aug 30 12:27:51 EDT 2022
|
||||
build.number=90
|
||||
#Tue Nov 22 23:47:03 EST 2022
|
||||
build.number=161
|
||||
|
@ -20,12 +20,12 @@
|
||||
</path>
|
||||
|
||||
<target name="all" depends="clean, build" />
|
||||
<target name="build" depends="jar, war" />
|
||||
<target name="build" depends="jar" />
|
||||
<target name="builddep">
|
||||
</target>
|
||||
|
||||
<property name="javac.compilerargs" value="" />
|
||||
<property name="javac.version" value="1.7" />
|
||||
<property name="javac.version" value="1.8" />
|
||||
|
||||
<target name="compile">
|
||||
<mkdir dir="./build" />
|
||||
@ -46,53 +46,8 @@
|
||||
<fileset file="i2p.firefox.usability.profile.zip" />
|
||||
<fileset file="i2p.chromium.base.profile.zip" />
|
||||
<fileset file="i2p.chromium.usability.profile.zip" />
|
||||
<fileset file="icon.png" />
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="precompilejsp" depends="compile" >
|
||||
<mkdir dir="build" />
|
||||
<mkdir dir="build/war/WEB-INF/classes" />
|
||||
<path id="jspcp">
|
||||
<path refid="cp" />
|
||||
<pathelement location="build/obj" />
|
||||
</path>
|
||||
<java classname="org.apache.jasper.JspC" fork="true" classpathref="jspcp" failonerror="true">
|
||||
<arg value="-d" />
|
||||
<arg value="build/jspjava" />
|
||||
<arg value="-v" />
|
||||
<arg value="-p" />
|
||||
<arg value="net.i2p.i2pfirefox" />
|
||||
<arg value="-webinc" />
|
||||
<arg value="build/web-fragment.xml" />
|
||||
<arg value="-webapp" />
|
||||
<arg value="jsp/" />
|
||||
</java>
|
||||
|
||||
<javac
|
||||
debug="true"
|
||||
deprecation="on"
|
||||
source="${javac.version}" target="${javac.version}"
|
||||
destdir="build/war/WEB-INF/classes"
|
||||
srcdir="./build/jspjava"
|
||||
includes="**/*.java"
|
||||
includeAntRuntime="false"
|
||||
classpathref="jspcp"
|
||||
failonerror="true" >
|
||||
<compilerarg line="${javac.compilerargs}" />
|
||||
</javac>
|
||||
|
||||
<copy file="jsp/WEB-INF/web.xml" tofile="build/web.xml" />
|
||||
<loadfile property="jspc.web.fragment" srcfile="build/web-fragment.xml" />
|
||||
<replace file="build/web.xml">
|
||||
<replacefilter token="<!-- precompiled servlets -->" value="${jspc.web.fragment}" />
|
||||
</replace>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="war" depends="precompilejsp">
|
||||
<war destfile="build/firefox.war.jar" webxml="build/web.xml">
|
||||
<fileset dir="build/war" />
|
||||
</war>
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
|
@ -1,5 +0,0 @@
|
||||
This browser profile is entirely composed of the work of Free Software developers.
|
||||
The licenses for the sub-projects may be found in the extensions directories themselves.
|
||||
|
||||
i2p.chromium.usabilty.profile/extensions/i2pchrome.js/
|
||||
i2p.chromium.usabilty.profile/extensions/noscript.js/
|
@ -1,21 +0,0 @@
|
||||
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.
|
@ -1,64 +0,0 @@
|
||||
default: zip
|
||||
|
||||
install: uninstall
|
||||
mkdir -p /usr/share/webext/i2pchrome.js@eyedeekay.github.io \
|
||||
/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/
|
||||
cp -rv options /usr/share/webext/i2pchrome.js@eyedeekay.github.io/options
|
||||
cp -rv icons /usr/share/webext/i2pchrome.js@eyedeekay.github.io/icons
|
||||
cp -rv _locales /usr/share/webext/i2pchrome.js@eyedeekay.github.io/_locales
|
||||
cp background.js /usr/share/webext/i2pchrome.js@eyedeekay.github.io
|
||||
cp proxy.js /usr/share/webext/i2pchrome.js@eyedeekay.github.io
|
||||
cp info.js /usr/share/webext/i2pchrome.js@eyedeekay.github.io
|
||||
cp content.js /usr/share/webext/i2pchrome.js@eyedeekay.github.io
|
||||
cp info.css /usr/share/webext/i2pchrome.js@eyedeekay.github.io
|
||||
cp window.html /usr/share/webext/i2pchrome.js@eyedeekay.github.io
|
||||
cp manifest.json /usr/share/webext/i2pchrome.js@eyedeekay.github.io/
|
||||
cp README.md /usr/share/webext/i2pchrome.js@eyedeekay.github.io
|
||||
cp LICENSE /usr/share/webext/i2pchrome.js@eyedeekay.github.io
|
||||
ln -sf /usr/share/webext/i2pchrome.js@eyedeekay.github.io \
|
||||
/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/i2pchrome.js@eyedeekay.github.io
|
||||
|
||||
uninstall:
|
||||
rm -rf /usr/share/webext/i2pchrome.js@eyedeekay.github.io \
|
||||
/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/i2pchrome.js@eyedeekay.github.io
|
||||
|
||||
clobber:
|
||||
rm -f ../i2pchrome.js.zip ../i2p_proxy*.xpi
|
||||
|
||||
VERSION=1.29
|
||||
|
||||
xpi:
|
||||
mv ~/Downloads/i2p_proxy-$(VERSION)-an+fx.xpi ../i2pchrome.js@eyedeekay.github.io.xpi
|
||||
|
||||
cp:
|
||||
cp ../i2pchrome.js@eyedeekay.github.io.xpi ./i2pchrome.js@eyedeekay.github.io.xpi
|
||||
|
||||
version:
|
||||
sed -i 's|$(shell grep "\"version\": " manifest.json)| \"version\": \"$(VERSION)\",|g' manifest.json
|
||||
|
||||
zip: version
|
||||
zip --exclude="./i2pchrome.js@eyedeekay.github.io.xpi" \
|
||||
--exclude="i2pchrome.js.png" -r -FS ../i2pchrome.js.zip *
|
||||
|
||||
profile-install:
|
||||
cp ./i2pchrome.js@eyedeekay.github.io.xpi $(HOME)/.mozilla/firefox/firefox.profile.i2p/firefox.profile.i2p/extensions
|
||||
cp ./i2pchrome.js@eyedeekay.github.io.xpi $(HOME)/.mozilla/firefox/.firefox.profile.i2p.default/extensions
|
||||
|
||||
to-profile:
|
||||
cp ./i2pchrome.js@eyedeekay.github.io.xpi /usr/local/lib/firefox.profile.i2p/firefox.profile.i2p/extensions/
|
||||
|
||||
pi: profile-install
|
||||
|
||||
DESC="A simple plugin for configuring an i2p browser."
|
||||
|
||||
release:
|
||||
gothub release -u eyedeekay -r i2pchrome.js -t $(VERSION) -n $(VERSION) -d $(DESC)
|
||||
|
||||
upload:
|
||||
gothub upload -u eyedeekay -r i2pchrome.js -t $(VERSION) -n "i2pchrome.js@eyedeekay.github.io.xpi" -f "../i2pchrome.js@eyedeekay.github.io.xpi"
|
||||
|
||||
fmt:
|
||||
#cleancss -O1 all -O2 all --format beautify home.css -o .home.css && mv .home.css home.css
|
||||
#cleancss -O1 all -O2 all --format beautify info.css -o .info.css && mv .info.css info.css
|
||||
find . -path ./node_modules -prune -o -name '*.js' -exec prettier --write {} \;
|
||||
find . -path ./node_modules -prune -o -name '*.json' -exec prettier --write {} \;
|
@ -1,2 +0,0 @@
|
||||
I2P Plugin For Chromium Persona
|
||||
===============================
|
@ -1,66 +0,0 @@
|
||||
{
|
||||
"extensionName": {
|
||||
"message": "i2pchrome.js",
|
||||
"description": "Name of the extension."
|
||||
},
|
||||
"extensionDescription": {
|
||||
"message": "Set up a browser to use the i2p http proxy automatically",
|
||||
"description": "Description of the extension."
|
||||
},
|
||||
"titlePreface": {
|
||||
"message": "I2P Browser - ",
|
||||
"description": "Preface for the browser titlebar"
|
||||
},
|
||||
"titlePrefacePrivate": {
|
||||
"message": "I2P Browser (Private) - ",
|
||||
"description": "Preface for the browser titlebar"
|
||||
},
|
||||
"resetMessage": {
|
||||
"message": "Reset Tunnel",
|
||||
"description": "Message for the Reset Tunnel button"
|
||||
},
|
||||
"infoTitle": {
|
||||
"message": "I2P Help",
|
||||
"description": "Title for the help menu"
|
||||
},
|
||||
"infoMessage": {
|
||||
"message": "You are now free to browse the eepWeb! Your browser is now configured to browse anonymously on the I2P network. As you browse, your traffic will be routed through other network nodes to disguise it's origin, both from the server and from the nodes themselves.",
|
||||
"description": "Help Message"
|
||||
},
|
||||
"helpMessage": {
|
||||
"message": "Get additional help",
|
||||
"description": "Help Message"
|
||||
},
|
||||
"newsMessage": {
|
||||
"message": "Visit the I2P Blog to learn the latest about i2p.",
|
||||
"description": "Help Message"
|
||||
},
|
||||
"forumMessage": {
|
||||
"message": "Visit the I2P Forum to learn more or ask for assistance",
|
||||
"description": "Help Message"
|
||||
},
|
||||
"clearData": {
|
||||
"message": "Clear all browsing data",
|
||||
"description": "Help Message"
|
||||
},
|
||||
"hostText": {
|
||||
"message": "Host: ",
|
||||
"description": "Host for the HTTP or SOCKS5 Proxy"
|
||||
},
|
||||
"portText": {
|
||||
"message": "Port: ",
|
||||
"description": "Port for the HTTP or SOCKS5 Proxy"
|
||||
},
|
||||
"controlHelpText": {
|
||||
"message": "These options will be inert if used with the default i2p HTTP or SOCKS proxy.",
|
||||
"description": "Help for configuring the options for the Reset Tunnel button"
|
||||
},
|
||||
"controlHostText": {
|
||||
"message": "Control Host: ",
|
||||
"description": "Host for the Reset Tunnel button"
|
||||
},
|
||||
"controlPortText": {
|
||||
"message": "Control Port: ",
|
||||
"description": "Port for the Reset Tunnel button"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJMSUNFTlNFIiwicm9vdF9oYXNoIjoiTTVJb3kyR21yTExkazZaTllkNVJTMGpNM1VvNjlmWnVkT01OY1FfMkNodyJ9LHsicGF0aCI6Ik1ha2VmaWxlIiwicm9vdF9oYXNoIjoiR1MxYW40UEluMGZ2dnFCOUZCOXpqV1JCYjNDdWtQeFdDV09WOE1jU0N3ayJ9LHsicGF0aCI6IlJFQURNRS5tZCIsInJvb3RfaGFzaCI6ImdWd3B6TlpscVlGVm9LZVpWdTVKLXVaelhySTdQYlFtR2tic3NlR1cwNW8ifSx7InBhdGgiOiJfbG9jYWxlcy9lbi9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiaDEzM2pHZXRsWGk2Z3RCbVNfYU5uUHY5cHhsTWhlaE51VHBtcEkyWVJoVSJ9LHsicGF0aCI6ImJhY2tncm91bmQuanMiLCJyb290X2hhc2giOiI0cWxYaDFOZGlGYWNpNGh0RGw3dGtKTkJsdWFfd0F5YTBib1JDMnh6QlA0In0seyJwYXRoIjoiYnJvd3Nlci1wb2x5ZmlsbC5qcyIsInJvb3RfaGFzaCI6IjFoWlVuR2JXeldjNmVBYmo3cUI2WGFPVGxBdk1BMU9aeDJoUDA0dF9zYVEifSx7InBhdGgiOiJjb250ZW50LmpzIiwicm9vdF9oYXNoIjoiYXgxZnpWUThpc05DWXh5UW5sWkRNbmNPRENnSWZQRFZRTzkzSkhYMmoyZyJ9LHsicGF0aCI6ImRldmVsb3Blci5wbmciLCJyb290X2hhc2giOiJ2ZGZwWTVwNDJNb2oybXFCeURLZFlvamFVSzhLYnFBZUkzNVJhTzQxbjNZIn0seyJwYXRoIjoiZGlyZWN0b3J5LnBuZyIsInJvb3RfaGFzaCI6Imk1eVhuTlJlWnBRT0w2VUxKUTNITjhxWkRxWEt4dUROWHBuUGt0Y0xBX1kifSx7InBhdGgiOiJkb25lLnBuZyIsInJvb3RfaGFzaCI6IjllTXctbmp5ZVpKYlU4a2xkZVlwQjdrTzFDMFloOXo1RHlfVFM4N00yd0kifSx7InBhdGgiOiJleHRlbnNpb25zLnBuZyIsInJvb3RfaGFzaCI6InVtZ2RfSFp6Rm1aRVZVT3NSWkFKOHg5ZG02QkU3UUlRQ002aFhNNXdMbWMifSx7InBhdGgiOiJmaW5pc2hlZC5wbmciLCJyb290X2hhc2giOiJuQ3Z6VFFQR0xpRHJCeUhuU001X0hzVVF3ak81VDAtM0phaXJ3VlF0Skd3In0seyJwYXRoIjoiaG9tZS5jc3MiLCJyb290X2hhc2giOiJDaUFNRVlfSFJKRHhsSHdiZmhFLTdDaGtrX1JzSFpnRVQzaHM3QWVZRVpJIn0seyJwYXRoIjoiaG9tZS5odG1sIiwicm9vdF9oYXNoIjoick1iOC1WZG4tWjhjVVlMeUNNbl9fZksta3NPVFJpR205bGk1WnJ1SHBBWSJ9LHsicGF0aCI6ImkycHNldHByb3h5LmpzLnBuZyIsInJvb3RfaGFzaCI6InlJamN1YmlBYTVTMWpsVGJhZGJkZV9qLXlIQ0FqREpCaDhUdHdWQUN5U1EifSx7InBhdGgiOiJpY29ucy90b29waWUucG5nIiwicm9vdF9oYXNoIjoiM3haaVZISTNtUU9jMFJHU1lnWFIxUXV3Z0xlNlZSVURsZWFvNVZwN0lfQSJ9LHsicGF0aCI6ImluZm8uY3NzIiwicm9vdF9oYXNoIjoialBsQVduNUs4Ulc3RnhvaGR4cF9HVndnN1ZBTWdvWXExZml0X0tRbzlSSSJ9LHsicGF0aCI6ImluZm8uanMiLCJyb290X2hhc2giOiJpSWtfZUdyTXdYdEFKTUpHVnpLUlhaRTg4ZWVHTjBrMGtEYTRuMTVLb2s4In0seyJwYXRoIjoibWFuYWdlci5wbmciLCJyb290X2hhc2giOiJyMC1kQ1BrVkpueHkyNDFwdzQwS3lIOWJEenM1TjhEdnY0NHJxQVhJSE9rIn0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6ImVkcUt1WFNNTUFqS0dVNFlQV1dyUFFPYzBMRDhwVHRoRGZUVWtEVXdOZXcifSx7InBhdGgiOiJvcHRpb25zL29wdGlvbnMuY3NzIiwicm9vdF9oYXNoIjoiNmZQYlZCMTNoN2Q3NkNvY3VDNU5KN3ZqOE9HQ0I2ZVk0cEVETHJ6U3FKYyJ9LHsicGF0aCI6Im9wdGlvbnMvb3B0aW9ucy5odG1sIiwicm9vdF9oYXNoIjoiNkRFQnhvVWFSb2RETVBSODFnMGp3QTVNTTBmVXhuNmpXeXZzaHYzZ2dqUSJ9LHsicGF0aCI6Im9wdGlvbnMvb3B0aW9ucy5qcyIsInJvb3RfaGFzaCI6IjJSLXIyVlVFRzhRalZMdHFzVHlKbXBEM28zRXdGVjdFLUlyVk9qSmJWVE0ifSx7InBhdGgiOiJwZW9wbGUucG5nIiwicm9vdF9oYXNoIjoia0ZnbjdiTWU0WVJUSkViRXFvSTJZWEd5UnNLZlBpVUpwUXV6Y3l0YXhtYyJ9LHsicGF0aCI6InBsdWdpbnMucG5nIiwicm9vdF9oYXNoIjoiYkpnZkF1VUF1QnprVV9MRXdQVHZVYlF5dGYwQm4xSTV1TmFsOEtyU0hjcyJ9LHsicGF0aCI6InByaXZhY3kuanMiLCJyb290X2hhc2giOiJMTWZOdmRTWXMtVjh0YWpPbVplTDhjZ3hKUldKVmdnaVhqX3o0XzZkVzRzIn0seyJwYXRoIjoicHJveHkuanMiLCJyb290X2hhc2giOiJyVnhjQ2VvcDk1dmhLX3oxZGk5MHplOUd3M0steWgxdF8xMlViZTVsNG5nIn0seyJwYXRoIjoic2hhZGVzLnBuZyIsInJvb3RfaGFzaCI6IjhrQ1Z2QktuaWtMZVZtQnVMa01WNEZzNlQtWklieGoxMFZJS3lHRUtVNDAifSx7InBhdGgiOiJzeW5jLnBuZyIsInJvb3RfaGFzaCI6IjV6d1ZVWkdYMnlsRGN5d1hjdzJpaUR0N28yX1F2ajNPaHIwWG5QWEl5RnMifSx7InBhdGgiOiJ1bnBhY2tlZC5wbmciLCJyb290X2hhc2giOiJLUUZ3YXFIdU8yT01HZTZNNXd5ZG1xcnJwbkNEdW9yUFU3aVc3QVhRMmdJIn0seyJwYXRoIjoid2luZG93Lmh0bWwiLCJyb290X2hhc2giOiJBVU5OU1BqLVJabXYtRS13NnhXcXl5LS1iRVhsMkM5OEl4VDJEdWVGZDZRIn1dLCJmb3JtYXQiOiJ0cmVlaGFzaCIsImhhc2hfYmxvY2tfc2l6ZSI6NDA5Nn1dLCJpdGVtX2lkIjoiaWtkamNtb21nbGRmY2lvY25wZWtmbmRrbGtmZ2dscGUiLCJpdGVtX3ZlcnNpb24iOiIxLjI5IiwicHJvdG9jb2xfdmVyc2lvbiI6MX0","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"MnagjSc3N-RaPvxHuzypCDuVFz-JbwCW1LKcg4HqS5M-T9KkEH5NoNa9ipUdWBkwrSF0sFAU-jHUSHQ6Ht75SH3wROOS0chVQf7dYw7KjZMHLd-LAAIBygApS8DNrWE931b5XM-vh_F3VYlbvziiL1roW7OAZgoIUy_MPQ07Ynbfl0K-UyVXeUJY9qzYGCRdKFG_wsvajIGM1Y60aw66MKs2zKLarwLCRqKAN_A31nzYBm-QjoUPSK4jnzAm5Lv24oVfsWJNXmJ8nPQO3pRCF8AT0rA8ue2cEqA3zSLOkHQupmmLSmjBKBPMmPtFJCgeKvzPajo32JuAaCkWokhiwQ"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"P02kDKuZmltr_huxTnsbIzMzERDvbdwsce3ZbEJjWbE7n01TXoQr7Z62LtqZMcau2m78A-eydRwMQ6TnpvFxNoHIDFOA9d4mGdfhSwTSR4-rGJa3cSo_66VznYzMAVzfssW4_o1iTksdOtbebQCQ5TS7f2bNe1AQMx7lTDoiskVaFNeY2adByacpQp2yXWHAx9K_98hG1J-njNvokairY0ZdaJcR76pN2v9W-D8A6Wvaxy4WeAXZyFoJy_eFNjP4yG-6nZ1OtxirQ7kiDx1fKtvcDx2hEBC5noaMXygVZszAsvrrMgkhlsb1bBdptAJRPUAXXXjp6Ijk2U6z8S-V0g"}]}}]
|
@ -1,54 +0,0 @@
|
||||
function platformCallback(platformInfo) {
|
||||
if (platformInfo.PlatformOs == "android") {
|
||||
console.log("android detected");
|
||||
return true;
|
||||
} else {
|
||||
console.log("desktop detected");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function isDroid() {
|
||||
return chrome.runtime.getPlatformInfo(platformCallback);
|
||||
}
|
||||
|
||||
function isLocalHost(url) {
|
||||
//var x = new RegExp("/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
|
||||
var r = false; ///(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/.test(url)
|
||||
if (r == false) {
|
||||
r = url.indexOf("://localhost:") != -1;
|
||||
}
|
||||
if (r == false) {
|
||||
r = url.indexOf("://127.0.0.1:") != -1;
|
||||
}
|
||||
console.log("localhost:", r, "on url", url);
|
||||
return r;
|
||||
}
|
||||
|
||||
function isRouterHost(url) {
|
||||
var controlPort = 7657; //getControlPort();
|
||||
var r = false;
|
||||
if (r == false) {
|
||||
r = url.indexOf("://localhost:" + controlPort) != -1;
|
||||
}
|
||||
if (r == false) {
|
||||
r = url.indexOf("://127.0.0.1:" + controlPort) != -1;
|
||||
}
|
||||
console.log("routerhost:", r, "on url", url);
|
||||
return r;
|
||||
}
|
||||
|
||||
chrome.webRequest.onBeforeRequest.addListener(
|
||||
function (details) {
|
||||
let localhost = isLocalHost(details.url);
|
||||
let routerhost = isRouterHost(details.url);
|
||||
console.log("localhost: ", localhost, "routerhost: ", routerhost);
|
||||
if (localhost) {
|
||||
if (!routerhost) {
|
||||
return { cancel: true };
|
||||
}
|
||||
}
|
||||
},
|
||||
{ urls: ["<all_urls>"] },
|
||||
["blocking"]
|
||||
);
|
@ -1,19 +0,0 @@
|
||||
/*var infoTitle = document.getElementById("text-section-header");
|
||||
infoTitle.textContent = chrome.i18n.getMessage("infoTitle");
|
||||
*/
|
||||
/*var infoMessage = document.getElementById("text-section-helptext");
|
||||
infoMessage.textContent = chrome.i18n.getMessage("infoMessage");
|
||||
|
||||
var helpMessage = document.getElementById("window-create-forum-panel");
|
||||
helpMessage.textContent = chrome.i18n.getMessage("forumMessage");*/
|
||||
/*
|
||||
var helpMessage = document.getElementById('window-create-help-panel');
|
||||
helpMessage.textContent = chrome.i18n.getMessage("helpMessage")
|
||||
*/
|
||||
/*
|
||||
var newsMessage = document.getElementById("window-create-news-panel");
|
||||
newsMessage.textContent = chrome.i18n.getMessage("newsMessage");
|
||||
|
||||
var clearData = document.getElementByID("clear-chrome-data");
|
||||
cleardata.textContent = chrome.i18n.getMessage("clearData");
|
||||
*/
|
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 42 KiB |
@ -1,290 +0,0 @@
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0
|
||||
}
|
||||
html {
|
||||
height: 100%
|
||||
}
|
||||
a,
|
||||
button {
|
||||
color: #3b6bbf;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
word-wrap: break-word;
|
||||
outline: 0
|
||||
}
|
||||
.applicationDesc {
|
||||
color: #81888f;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
word-wrap: break-word;
|
||||
outline: 0
|
||||
}
|
||||
.applicationDesc:hover,
|
||||
a:hover,
|
||||
button:hover {
|
||||
color: #495057;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
word-wrap: break-word;
|
||||
outline: 0
|
||||
}
|
||||
button {
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: #3b6bbf;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
word-wrap: break-word;
|
||||
outline: 0
|
||||
}
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: "Droid Sans","Noto Sans",Ubuntu,"Segoe UI","Lucida Grande",Verdana,Helvetica,sans-serif;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #495057;
|
||||
background-attachment: fixed;
|
||||
background-size: 100% 100%;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
word-wrap: break-word;
|
||||
outline: 0
|
||||
}
|
||||
.background {
|
||||
background-color: #f8f8ff;
|
||||
height: 100%
|
||||
}
|
||||
p {
|
||||
line-height: 32px;
|
||||
font-size: 17px;
|
||||
font-family: "Droid Sans","Noto Sans",Ubuntu,"Segoe UI","Lucida Grande",Verdana,Helvetica,sans-serif;
|
||||
text-decoration: none;
|
||||
color: #495057;
|
||||
font-weight: 700;
|
||||
word-wrap: break-word;
|
||||
outline: 0
|
||||
}
|
||||
.content {
|
||||
min-height: 3rem;
|
||||
padding: 1rem;
|
||||
margin: 1.5rem;
|
||||
display: inline-block;
|
||||
border: 1px solid #d9d9d6;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc;
|
||||
background: #f8f8ff;
|
||||
min-width: 95%
|
||||
}
|
||||
.application-info,
|
||||
.extended-info {
|
||||
min-height: 3rem;
|
||||
padding: 1rem;
|
||||
margin-top: 1.5rem;
|
||||
display: inline-block;
|
||||
border: 1px solid #d9d9d6;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc;
|
||||
background: #f8f8ff;
|
||||
min-width: 95%
|
||||
}
|
||||
h1 {
|
||||
margin-right: auto;
|
||||
font-family: "Droid Sans","Noto Sans",Ubuntu,"Segoe UI","Lucida Grande",Verdana,Helvetica,sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 32px;
|
||||
text-transform: uppercase;
|
||||
color: #41465f;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 2px 2px 0 0;
|
||||
width: 90%;
|
||||
padding-left: 5%
|
||||
}
|
||||
h2,
|
||||
h3 {
|
||||
margin-right: auto;
|
||||
font-family: "Droid Sans","Noto Sans",Ubuntu,"Segoe UI","Lucida Grande",Verdana,Helvetica,sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 25px;
|
||||
text-transform: uppercase;
|
||||
color: #41465f;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 2px 2px 0 0;
|
||||
width: 90%;
|
||||
padding-left: 5%
|
||||
}
|
||||
h4 {
|
||||
margin-right: auto;
|
||||
font-family: "Droid Sans","Noto Sans",Ubuntu,"Segoe UI","Lucida Grande",Verdana,Helvetica,sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 20px!important;
|
||||
text-transform: uppercase;
|
||||
color: #41465f;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 2px 2px 0 0;
|
||||
width: 90%;
|
||||
padding-left: 5%
|
||||
}
|
||||
.showhider {
|
||||
margin-right: auto;
|
||||
font-family: "Droid Sans","Noto Sans",Ubuntu,"Segoe UI","Lucida Grande",Verdana,Helvetica,sans-serif;
|
||||
text-transform: uppercase;
|
||||
background: 0 0!important;
|
||||
border: none;
|
||||
padding: 0!important;
|
||||
width: 90%;
|
||||
color: #3b6bbf;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
word-wrap: break-word;
|
||||
outline: 0;
|
||||
text-align: left
|
||||
}
|
||||
#links .showhider {
|
||||
font-size: 25px
|
||||
}
|
||||
.section-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 80px
|
||||
}
|
||||
ul {
|
||||
margin-left: 2rem;
|
||||
list-style: none
|
||||
}
|
||||
li {
|
||||
min-height: 3rem;
|
||||
padding: .5rem;
|
||||
background: #dee2e6;
|
||||
border: 1px solid #dee2e6;
|
||||
width: 64%;
|
||||
min-width: 64%;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc;
|
||||
margin: .5rem .5rem .5rem 32%
|
||||
}
|
||||
#readyness {
|
||||
min-height: 5rem;
|
||||
padding: .5rem;
|
||||
margin: .5rem;
|
||||
width: 42%;
|
||||
min-width: 42%;
|
||||
background: #dee2e6;
|
||||
text-align: center!important;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc
|
||||
}
|
||||
#onboarding {
|
||||
min-height: 5rem;
|
||||
padding: .5rem;
|
||||
margin: .5rem;
|
||||
width: 42%;
|
||||
min-width: 42%;
|
||||
font-size: 2rem;
|
||||
background: #a48fe1;
|
||||
text-align: center!important;
|
||||
border: 1px solid #a48fe1;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc
|
||||
}
|
||||
#i2pbrowser-description {
|
||||
width: 50%;
|
||||
min-width: 50%;
|
||||
min-height: 5rem;
|
||||
padding: .5rem;
|
||||
display: inline;
|
||||
background: #dee2e6;
|
||||
float: right;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc
|
||||
}
|
||||
#applicationExplain,
|
||||
#controlExplain,
|
||||
#linksExplain {
|
||||
min-height: 5rem;
|
||||
padding: .5rem;
|
||||
margin: .5rem;
|
||||
width: 30%;
|
||||
min-width: 30%;
|
||||
background: #dee2e6;
|
||||
float: left;
|
||||
text-align: center!important;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc
|
||||
}
|
||||
#proxyReady {
|
||||
min-height: 3rem;
|
||||
padding: .5rem;
|
||||
margin: .2rem;
|
||||
width: 38%;
|
||||
min-width: 38%;
|
||||
display: inline;
|
||||
background: #d9d9d6;
|
||||
float: right;
|
||||
text-align: center!important;
|
||||
border: 1px solid #d9d9d6;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc
|
||||
}
|
||||
#proxyUnready {
|
||||
min-height: 3rem;
|
||||
padding: .5rem;
|
||||
margin: .2rem;
|
||||
width: 38%;
|
||||
min-width: 38%;
|
||||
display: inline;
|
||||
float: right;
|
||||
text-align: center!important;
|
||||
border: 1px solid #ffc56d;
|
||||
border-radius: 2px;
|
||||
background: #ffc56d;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc
|
||||
}
|
||||
#consoleOn {
|
||||
min-height: 3rem;
|
||||
padding: .5rem;
|
||||
margin: .2rem;
|
||||
width: 38%;
|
||||
min-width: 38%;
|
||||
display: inline;
|
||||
float: left;
|
||||
text-align: center!important;
|
||||
border: 1px solid #f7e59a;
|
||||
border-radius: 2px;
|
||||
background: #f7e59a;
|
||||
box-shadow: inset 0 0 0 1px #fff,0 0 1px #ccc
|
||||
}
|
||||
.onboardingContent {
|
||||
font-size: .8rem!important;
|
||||
text-align: left;
|
||||
display: none
|
||||
}
|
||||
#proxy-check {
|
||||
visibility: hidden
|
||||
}
|
||||
#info-content {
|
||||
display: none
|
||||
}
|
||||
.consoleOn:hover #proxy-check,
|
||||
.proxyReady:hover #proxy-check {
|
||||
visibility: visible;
|
||||
opacity: 1
|
||||
}
|
||||
img {
|
||||
max-width: 100%
|
||||
}
|
||||
img.readyness {
|
||||
height: 100%;
|
||||
width: auto
|
||||
}
|
||||
@media only screen and (max-width: 399px) {
|
||||
.application-info {
|
||||
display: none
|
||||
}
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="home.css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--<div>-->
|
||||
<script src="home.js" type="text/javascript"></script>
|
||||
<script src="content.js" type="text/javascript"></script>
|
||||
<div class='background'>
|
||||
<div class='content'>
|
||||
<div class='section-header'>
|
||||
<h1 id="text-section-header">I2P Browsing</h1>
|
||||
</div>
|
||||
<div id="i2pbrowser-version"></div>
|
||||
<div id="i2pbrowser-description">
|
||||
<p id="description">I2P in Private Browsing is a webextension to secure and enhance your I2P use in the browser.</p>
|
||||
<p id="beta">This is an experimental product.</p>
|
||||
</div>
|
||||
<div id="readyness">
|
||||
<div id="consoleOn" class="hideIfI2PConsoleOff">
|
||||
<img class="readyness" src="http://proxy.i2p/themes/console/images/local_up.png" alt="Proxy is not ready."/>
|
||||
<span id="proxy-check">Proxy is ready.</span>
|
||||
</div>
|
||||
<!--<div id="proxyUnready" class="hideIfI2PProxyOn">The proxy is not ready yet.</div>-->
|
||||
<div id="proxyReady" class="hideIfI2PProxyOff">
|
||||
<img class="readyness" src="http://proxy.i2p/themes/console/images/local_up.png" alt="Proxy is not ready."/>
|
||||
<span id="proxy-check">Proxy is ready.</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="onboarding" class="hideIfI2PConsoleOff">
|
||||
<h3 id="onboardingTitle">New to I2P? Learn more here.</h3>
|
||||
<h4 id="onboardingZero"><button id="onboardingButtonZero" class="showhider" onclick="flipVisibility('onboardingContentZero')">Protect your Privacy</button></h4>
|
||||
<p id="onboardingContentZero" class="onboardingContent">I2P Browser allows you to surf the internet using the private and secure I2P network. When using it, you are protected against tracking, surveillance, and censorship as a first-class participant in the I2P network. I2P Browser isolates cookies and deletes your browser history after your session. These modifications ensure your privacy and security are protected in the browser.</p>
|
||||
<h4 id="onboardingOne"><button id="onboardingButtonOne" class="showhider" onclick="flipVisibility('onboardingContentOne')">Configure your Experience</button></h4>
|
||||
<p id="onboardingContentOne" class="onboardingContent">We also provide you with additional settings for bumping up your browser security. Our Security Settings allow you to block elements that could be used to attack your computer. Click below to see what the different options do. Note: By default, NoScript and HTTPS Everywhere are not included on the toolbar, but you can customize your toolbar to add them. With all the security and privacy features provided by I2P, your experience while browsing the internet may be a little different. Things may be a bit slower, and depending on your security level, some elements may not work or load. You may also be asked to prove you are a human and not a robot.</p>
|
||||
<h4 id="onboardingTwo"><button id="onboardingButtonTwo" class="showhider" onclick="flipVisibility('onboardingContentTwo')">Share Files</button></h4>
|
||||
<p id="onboardingContentTwo" class="onboardingContent">I2P is capable of using peer-to-peer applications like BitTorrent, protecting your identity when you share files. Our anonymous bittorrent client is available in the browser.</p>
|
||||
<h4 id="onboardingThree"><button id="onboardingButtonThree" class="showhider" onclick="flipVisibility('onboardingContentThree')">Hidden e-mail</button></h4>
|
||||
<p id="onboardingContentThree" class="onboardingContent">There is also an anonymous e-mail service available inside of I2P, which is accessible from our browser via the menu directly below.</p>
|
||||
<h4 id="onboardingFour"><button id="onboardingButtonFour" class="showhider" onclick="flipVisibility('onboardingContentFour')">Experience Tips</button></h4>
|
||||
<p id="onboardingContentFour" class="onboardingContent">With all the security and privacy features provided by I2P, your experience while browsing the internet may be a little different. Things may be a bit slower, and depending on your security level, some elements may not work or load. You may also be asked to prove you are a human and not a robot.</p>
|
||||
</div>
|
||||
<!--<p class="hideIfI2POn">&aboutI2p.warn_not_running; <a href="about:i2p">&aboutI2p.refresh_text;</a> &aboutI2p.reccommend_not_running;</p>-->
|
||||
<div class="application-info">
|
||||
<p class="hideIfI2PConsoleOff">
|
||||
<h3 id="applicationHeader">Applications</h3>
|
||||
<p id="applicationExplain">These applications use I2P to provide them with security and privacy.</p>
|
||||
<ul>
|
||||
<li class="application">
|
||||
<a id="window-visit-i2ptunnel" class="applicationName" target="_blank" href="http://127.0.0.1:7657/i2ptunnel">Hidden Services Manager </a>
|
||||
<span id="i2ptunnel" class="applicationDesc">I2P has a web-based interface for configuring .i2p services like web sites, to set up your own web sites, go here:</span>
|
||||
</li>
|
||||
<li class="application">
|
||||
<a id="window-visit-susimail" class="applicationName" target="_blank" href="http://127.0.0.1:7657/susimail">E-Mail </a>
|
||||
<span id="susimail" class="applicationDesc">I2P also bundles a webmail client which can be used to access in-I2P e-mail. To use it, go here:</span>
|
||||
</li>
|
||||
<li class="application">
|
||||
<a id="window-visit-snark" class="applicationName" target="_blank" href="http://127.0.0.1:7657/i2psnark">BitTorrent </a>
|
||||
<span id="snark" class="applicationDesc">I2P is capable of anonymous Peer-to-Peer file sharing, to use the built-in bittorrent client go here:</span>
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
<div class="extended-info">
|
||||
<h3 id="links"><button id="fliplinks" class="showhider">Links</button></h3>
|
||||
<div id="info-content">
|
||||
<p id="linksExplain">If you want to get more information about I2P, you can visit these links.</p>
|
||||
<p>
|
||||
<ul>
|
||||
<li>
|
||||
<a id="window-visit-webpage" href="https://eyedeekay.github.io/I2P-Confiuration-for-Chromium/">Homepage: </a>
|
||||
<span id="webpage" class="applicationDesc">More information is available here.</span>
|
||||
</li>
|
||||
<li>
|
||||
<a id="window-visit-sources" href="https://github.com/eyedeekay/I2P-Confiuration-for-Chromium">Source Code: </a>
|
||||
<span id="sources" class="applicationDesc">Browse the source or contribute here.</span>
|
||||
</li>
|
||||
<li>
|
||||
<a id="window-visit-releases" href="https://github.com/eyedeekay/I2P-Confiuration-for-Chromium">Releases: </a>
|
||||
<span id="releases" class="applicationDesc">Check for new releases here.</span>
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--</div>-->
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 357 KiB |
Before Width: | Height: | Size: 54 KiB |
@ -1,54 +0,0 @@
|
||||
body,
|
||||
html {
|
||||
width: 50rem
|
||||
}
|
||||
a {
|
||||
margin: 10px
|
||||
}
|
||||
.panel {
|
||||
margin: 5px
|
||||
}
|
||||
span.identity {
|
||||
width: 100px;
|
||||
display: inline-block;
|
||||
margin-left: 1em
|
||||
}
|
||||
figcaption {
|
||||
display: inline
|
||||
}
|
||||
.section-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 8px
|
||||
}
|
||||
p {
|
||||
font-size: 12px
|
||||
}
|
||||
h1 {
|
||||
font-size: 25px
|
||||
}
|
||||
h2,
|
||||
h3 {
|
||||
font-size: 18px
|
||||
}
|
||||
h4 {
|
||||
font-size: 13px!important
|
||||
}
|
||||
#links .showhider {
|
||||
font-size: 18px
|
||||
}
|
||||
#onboarding {
|
||||
font-size: 2rem
|
||||
}
|
||||
img.readyness {
|
||||
height: 2rem
|
||||
}
|
||||
#proxyUnready {
|
||||
min-height: 2rem
|
||||
}
|
||||
#proxyReady {
|
||||
min-height: 2rem
|
||||
}
|
||||
#consoleOn {
|
||||
min-height: 2rem
|
||||
}
|
@ -1,123 +0,0 @@
|
||||
document.addEventListener("click", (clickEvent) => {
|
||||
if (clickEvent.target.id === "window-create-help-panel") {
|
||||
let createData = {
|
||||
type: "panel",
|
||||
incognito: true,
|
||||
};
|
||||
let creating = chrome.tabs.create(createData);
|
||||
creating.then(() => {
|
||||
console.log("The help panel has been created");
|
||||
});
|
||||
} else if (clickEvent.target.id === "window-create-news-panel") {
|
||||
let createData = {
|
||||
type: "panel",
|
||||
incognito: true,
|
||||
};
|
||||
let creating = chrome.tabs.create(createData);
|
||||
creating.then(() => {
|
||||
console.log("The news panel has been created");
|
||||
});
|
||||
} else if (clickEvent.target.id === "generate-fresh-tunnel") {
|
||||
function refreshIdentity() {
|
||||
console.log("Generating new identity");
|
||||
const Http = new XMLHttpRequest();
|
||||
const url = "http://" + controlHost + ":" + controlPort;
|
||||
Http.open("GET", url);
|
||||
Http.send();
|
||||
Http.onreadystatechange = (event) => {
|
||||
console.log(Http.responseText);
|
||||
};
|
||||
}
|
||||
refreshIdentity();
|
||||
} else if (clickEvent.target.id === "window-preface-title") {
|
||||
console.log("attempting to create homepage tab");
|
||||
goHome();
|
||||
} else if (clickEvent.target.id === "window-visit-homepage") {
|
||||
console.log("attempting to create homepage tab");
|
||||
goHome();
|
||||
} else if (clickEvent.target.id === "window-visit-readme") {
|
||||
console.log("attempting to create readme tab");
|
||||
goIndex();
|
||||
} else if (clickEvent.target.id === "window-visit-i2ptunnel") {
|
||||
console.log("attempting to create i2ptunnel tab");
|
||||
goTunnel();
|
||||
} else if (clickEvent.target.id === "window-visit-susimail") {
|
||||
console.log("attempting to create susimail tab");
|
||||
goMail();
|
||||
} else if (clickEvent.target.id === "window-visit-snark") {
|
||||
console.log("attempting to create snark tab");
|
||||
goSnark();
|
||||
} else if (clickEvent.target.id === "clear-chrome-data") {
|
||||
forgetBrowsingData();
|
||||
} else if (clickEvent.target.id === "check-i2p-control") {
|
||||
//echo("I2P Router Detected", "panel-section-i2pcontrol-check");
|
||||
} else if (clickEvent.target.id === "enable-web-rtc") {
|
||||
if (clickEvent.target.checked) {
|
||||
chrome.runtime.sendMessage({ rtc: "enableWebRTC" });
|
||||
} else {
|
||||
chrome.runtime.sendMessage({ rtc: "disableWebRTC" });
|
||||
}
|
||||
checkPeerConnection();
|
||||
return;
|
||||
} else if (clickEvent.target.id === "disable-history") {
|
||||
if (clickEvent.target.checked) {
|
||||
chrome.runtime.sendMessage({ history: "disableHistory" });
|
||||
} else {
|
||||
chrome.runtime.sendMessage({ history: "enableHistory" });
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
clickEvent.preventDefault();
|
||||
});
|
||||
|
||||
function proxyReadiness() {
|
||||
console.log(this.responseText);
|
||||
}
|
||||
|
||||
control_host = "localhost";
|
||||
control_port = "7657";
|
||||
|
||||
function onTabCreated() {
|
||||
console.log("Tab Created");
|
||||
}
|
||||
|
||||
function goIndex() {
|
||||
let createData = {
|
||||
url: "index.html",
|
||||
};
|
||||
console.log("visiting readme");
|
||||
let creating = chrome.tabs.create(createData);
|
||||
}
|
||||
|
||||
function goHome() {
|
||||
let createData = {
|
||||
url: "home.html",
|
||||
};
|
||||
console.log("visiting homepage");
|
||||
let creating = chrome.tabs.create(createData);
|
||||
}
|
||||
|
||||
function goTunnel() {
|
||||
let createData = {
|
||||
url: "http://" + control_host + ":" + control_port + "/i2ptunnel",
|
||||
};
|
||||
console.log("visiting i2ptunnel");
|
||||
let creating = chrome.tabs.create(createData);
|
||||
}
|
||||
|
||||
function goMail() {
|
||||
let createData = {
|
||||
url: "http://" + control_host + ":" + control_port + "/susimail",
|
||||
};
|
||||
console.log("visiting mail");
|
||||
let creating = chrome.tabs.create(createData);
|
||||
}
|
||||
|
||||
function goSnark() {
|
||||
let createData = {
|
||||
url: "http://" + control_host + ":" + control_port + "/i2psnark",
|
||||
};
|
||||
console.log("visiting snark");
|
||||
let creating = chrome.tabs.create(createData);
|
||||
}
|
Before Width: | Height: | Size: 7.8 KiB |
@ -1,43 +0,0 @@
|
||||
{
|
||||
"update_url": "https://clients2.google.com/service/update2/crx",
|
||||
|
||||
"permissions": [
|
||||
"browsingData",
|
||||
"notifications",
|
||||
"proxy",
|
||||
"privacy",
|
||||
"storage",
|
||||
"webRequest",
|
||||
"webRequestBlocking",
|
||||
"*://127.0.0.1/*",
|
||||
"*://localhost/*",
|
||||
"<all_urls>"
|
||||
],
|
||||
"manifest_version": 2,
|
||||
"name": "__MSG_extensionName__",
|
||||
"version": "1.29",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"homepage_url": "https://github.com/eyedeekay/I2P-Configuration-For-Chromium",
|
||||
"icons": {
|
||||
"48": "icons/toopie.png"
|
||||
},
|
||||
"browser_action": {
|
||||
"browser_style": true,
|
||||
"default_icon": "icons/toopie.png",
|
||||
"default_title": "__MSG_extensionName__",
|
||||
"default_popup": "window.html"
|
||||
},
|
||||
"options_ui": {
|
||||
"page": "options/options.html"
|
||||
},
|
||||
"background": {
|
||||
"scripts": [
|
||||
"browser-polyfill.js",
|
||||
"background.js",
|
||||
"proxy.js",
|
||||
"info.js",
|
||||
"privacy.js"
|
||||
]
|
||||
},
|
||||
"default_locale": "en"
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
body {
|
||||
width: 25em;
|
||||
font-family: "Open Sans Light", sans-serif;
|
||||
font-size: 0.9em;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
section.scheme-options {
|
||||
padding: 0.5em 0;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
#clear-button {
|
||||
margin: 0 1.3em 1em 0;
|
||||
}
|
||||
|
||||
section.scheme-options input,
|
||||
section.scheme-options>select,
|
||||
#clear-button {
|
||||
float: right;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
padding: 0.2em 0;
|
||||
}
|
||||
|
||||
label:hover {
|
||||
background-color: #EAEFF2;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
a {
|
||||
margin: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.panel {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
span.identity {
|
||||
width: 100px;
|
||||
display: inline-block;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.control-options {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.identity-options {
|
||||
display: none;
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="options.css"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<section class="scheme-options">
|
||||
<span class="title">Proxy Scheme:</span>
|
||||
<select id="proxy_scheme">
|
||||
<option value="http" selected="selected">HTTP</option>
|
||||
<option value="socks5">SOCKS5</option>
|
||||
</select>
|
||||
</section>
|
||||
|
||||
<section class="scheme-options proxy-options">
|
||||
<div class="title" >Proxy Options</div>
|
||||
|
||||
<label id="portText">Host: </label>
|
||||
<input type="text" data="host" id="host" value="127.0.0.1"/>
|
||||
<br>
|
||||
<label id="hostText">Port: </label>
|
||||
<input type="text" data="port" id="port" value="4444"/>
|
||||
|
||||
</section>
|
||||
<section class="scheme-options identity-options">
|
||||
<div class="panel">
|
||||
<div id="identity-list">Identity list?</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="scheme-options control-options">
|
||||
<div class="title" >Controller Options</div>
|
||||
<p id="controlHelpText"> These options will be inert if used with the default i2p HTTP or SOCKS
|
||||
proxy. </p>
|
||||
<label id="controlPortText">Control Host: </label>
|
||||
<input type="text" data="controlhost" id="controlhost" value="127.0.0.1"/>
|
||||
<br>
|
||||
<label id="controlHostText">Control Port: </label>
|
||||
<input type="text" data="controlport" id="controlport" value="4444"/>
|
||||
|
||||
</section>
|
||||
|
||||
<input type="button" value="Save preferences" id="save-button"/>
|
||||
|
||||
<script src="options.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,193 +0,0 @@
|
||||
function isDroid() {
|
||||
var gettingInfo = browser.runtime.getPlatformInfo();
|
||||
gettingInfo.then((got) => {
|
||||
if (got.os == "android") {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function SetHostText() {
|
||||
var hostid = document.getElementById("hostText");
|
||||
hostid.textContent = chrome.i18n.getMessage("hostText");
|
||||
}
|
||||
|
||||
function SetPortText() {
|
||||
var portid = document.getElementById("portText");
|
||||
portid.textContent = chrome.i18n.getMessage("portText");
|
||||
}
|
||||
|
||||
function SetControlHostText() {
|
||||
var controlhostid = document.getElementById("controlHostText");
|
||||
controlhostid.textContent = chrome.i18n.getMessage("controlHostText");
|
||||
}
|
||||
|
||||
function setupProxy() {
|
||||
var Host = getHost();
|
||||
var Port = getPort();
|
||||
var Scheme = getScheme();
|
||||
var config = {
|
||||
mode: "fixed_servers",
|
||||
rules: {
|
||||
singleProxy: {
|
||||
scheme: Scheme,
|
||||
host: Host,
|
||||
port: parseInt(Port),
|
||||
},
|
||||
},
|
||||
};
|
||||
chrome.proxy.settings.set(
|
||||
{
|
||||
value: config,
|
||||
scope: "regular",
|
||||
},
|
||||
function () {}
|
||||
);
|
||||
}
|
||||
|
||||
function SetControlPortText() {
|
||||
var controlportid = document.getElementById("controlPortText");
|
||||
controlportid.textContent = chrome.i18n.getMessage("controlPortText");
|
||||
}
|
||||
|
||||
function SetControlHelpText() {
|
||||
var portid = document.getElementById("controlHelpText");
|
||||
portid.textContent = chrome.i18n.getMessage("controlHelpText");
|
||||
}
|
||||
|
||||
function getScheme() {
|
||||
const proxy_scheme = document.querySelector("#proxy_scheme");
|
||||
console.log("Got i2p proxy scheme:", proxy_scheme.value);
|
||||
if (proxy_scheme == "HTTP") {
|
||||
return "http";
|
||||
}
|
||||
if (proxy_scheme == "SOCKS") {
|
||||
return "socks";
|
||||
}
|
||||
return proxy_scheme.value;
|
||||
}
|
||||
|
||||
function getHost() {
|
||||
proxy_host = document.getElementById("host").value;
|
||||
console.log("Got i2p proxy host:", proxy_host);
|
||||
if (proxy_host == undefined) {
|
||||
return "127.0.0.1";
|
||||
}
|
||||
return proxy_host;
|
||||
}
|
||||
|
||||
function getPort() {
|
||||
proxy_port = document.getElementById("port").value;
|
||||
console.log("Got i2p proxy port:", proxy_port);
|
||||
if (proxy_port == undefined) {
|
||||
return "4444";
|
||||
}
|
||||
return proxy_port;
|
||||
}
|
||||
|
||||
function getControlHost() {
|
||||
control_host = document.getElementById("controlhost").value;
|
||||
console.log("Got i2p control host:", control_host);
|
||||
if (control_host == undefined) {
|
||||
return "127.0.0.1";
|
||||
}
|
||||
return control_host;
|
||||
}
|
||||
|
||||
function getControlPort() {
|
||||
control_port = document.getElementById("controlport").value;
|
||||
console.log("Got i2p control port:", control_port);
|
||||
if (control_port == undefined) {
|
||||
return "4444";
|
||||
}
|
||||
return control_port;
|
||||
}
|
||||
|
||||
function checkStoredSettings(storedSettings) {
|
||||
let defaultSettings = {};
|
||||
if (!storedSettings.proxy_scheme) {
|
||||
defaultSettings["proxy_scheme"] = "http";
|
||||
}
|
||||
if (!storedSettings.proxy_host) {
|
||||
defaultSettings["proxy_host"] = "127.0.0.1";
|
||||
}
|
||||
if (!storedSettings.proxy_port) {
|
||||
defaultSettings["proxy_port"] = 4444;
|
||||
}
|
||||
if (!storedSettings.control_host) {
|
||||
defaultSettings["control_host"] = "127.0.0.1";
|
||||
}
|
||||
if (!storedSettings.control_port) {
|
||||
defaultSettings["control_port"] = 4444;
|
||||
}
|
||||
chrome.storage.local.set(defaultSettings);
|
||||
}
|
||||
|
||||
function onError(e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
function storeSettings() {
|
||||
let proxy_scheme = getScheme();
|
||||
let proxy_host = getHost();
|
||||
let proxy_port = getPort();
|
||||
let control_host = getControlHost();
|
||||
let control_port = getControlPort();
|
||||
chrome.storage.local.set({
|
||||
proxy_scheme,
|
||||
proxy_host,
|
||||
proxy_port,
|
||||
control_host,
|
||||
control_port,
|
||||
});
|
||||
console.log("storing proxy scheme:", proxy_scheme);
|
||||
console.log("storing proxy host:", proxy_host);
|
||||
console.log("storing proxy port:", proxy_port);
|
||||
console.log("storing control host:", control_host);
|
||||
console.log("storing control port:", control_port);
|
||||
setupProxy();
|
||||
}
|
||||
|
||||
function updateUI(restoredSettings) {
|
||||
const selectList = document.querySelector("#proxy_scheme");
|
||||
selectList.value = restoredSettings.proxy_scheme;
|
||||
console.log("showing proxy scheme:", selectList.value);
|
||||
|
||||
const hostitem = document.getElementById("host");
|
||||
hostitem.value = restoredSettings.proxy_host;
|
||||
console.log("showing proxy host:", hostitem.value);
|
||||
|
||||
const portitem = document.getElementById("port");
|
||||
portitem.value = restoredSettings.proxy_port;
|
||||
console.log("showing proxy port:", portitem.value);
|
||||
|
||||
const controlhostitem = document.getElementById("controlhost");
|
||||
controlhostitem.value = restoredSettings.control_host;
|
||||
console.log("showing control host:", controlhostitem.value);
|
||||
|
||||
const controlportitem = document.getElementById("controlport");
|
||||
controlportitem.value = restoredSettings.control_port;
|
||||
console.log("showing control port:", controlportitem.value);
|
||||
|
||||
SetHostText();
|
||||
SetPortText();
|
||||
SetControlHostText();
|
||||
SetControlPortText();
|
||||
SetControlHelpText();
|
||||
setupProxy();
|
||||
}
|
||||
|
||||
function onError(e) {
|
||||
console.error(e);
|
||||
}
|
||||
chrome.storage.local.get(function (got) {
|
||||
checkStoredSettings(got);
|
||||
updateUI(got);
|
||||
});
|
||||
|
||||
const saveButton = document.querySelector("#save-button");
|
||||
saveButton.addEventListener("click", storeSettings);
|
||||
|
||||
//EXPERIMENTAL: Open in I2P Tab
|
Before Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 21 KiB |