Compare commits

...

42 Commits

Author SHA1 Message Date
idk
3725be1d5b update index.html 2022-09-04 21:24:26 -04:00
idk
5d1afd8dd4 bump 2022-09-04 21:19:35 -04:00
idk
6234ffdff1 fix missing semicolon 2022-09-04 21:13:40 -04:00
idk
8802f9448f update I2PFirefoxProfileBuilder.html 2022-09-04 11:02:30 -04:00
idk
31d654ef4f update I2PFirefox.html 2022-09-04 11:02:23 -04:00
idk
04894a0977 update I2PCommonBrowser.html 2022-09-04 11:02:17 -04:00
idk
a2733d8ffb update I2PChromium.html 2022-09-04 11:01:52 -04:00
idk
100fe7fd95 update index.html 2022-09-04 11:01:25 -04:00
idk
91964508d8 bump for release 2022-09-04 11:00:32 -04:00
idk
9d347bdfa2 first run just unpacks the profile and deletes the first-run file now, to prevent launch-and-close of browser on Windows 11 when running from NSIS 2022-09-04 10:59:35 -04:00
idk
93f6e01e53 add in first-run files to profiles 2022-09-04 09:36:15 -04:00
idk
03ea5ed52c update I2PGenericUnsafeBrowser.html 2022-09-03 22:04:59 -04:00
idk
78bf32bc06 update I2PFirefox.html 2022-09-03 22:04:38 -04:00
idk
4420222d7e update I2PChromium.html 2022-09-03 22:04:09 -04:00
idk
8a3b73599a update index.html 2022-09-03 22:03:43 -04:00
idk
68300d78ef release again 2022-09-03 21:41:41 -04:00
idk
b3fba0449c never check args.length and args != null on the same line 2022-09-03 21:38:20 -04:00
idk
437d0698c0 update USAGE.html 2022-09-02 18:36:11 -04:00
idk
5d504c96f3 update TODO.html 2022-09-02 18:36:05 -04:00
idk
895e7c39af update LICENSE.html 2022-09-02 18:36:00 -04:00
idk
7a0bbf0d22 update I2PGenericUnsafeBrowser.html 2022-09-02 18:35:54 -04:00
idk
99e33eb030 update I2PFirefoxProfileUnpacker.html 2022-09-02 18:35:49 -04:00
idk
73ab706e21 update I2PFirefoxProfileChecker.html 2022-09-02 18:35:43 -04:00
idk
9b177f17e7 update I2PFirefoxProfileBuilder.html 2022-09-02 18:35:38 -04:00
idk
88346f9d99 update I2PFirefox.html 2022-09-02 18:35:32 -04:00
idk
26a0fc6bf9 update I2PCommonBrowser.html 2022-09-02 18:35:27 -04:00
idk
5f279ea87a update I2PChromiumProfileUnpacker.html 2022-09-02 18:35:22 -04:00
idk
ce4deba206 update I2PChromiumProfileChecker.html 2022-09-02 18:35:16 -04:00
idk
78c379e0a9 update I2PChromiumProfileBuilder.html 2022-09-02 18:35:10 -04:00
idk
bfdd9a01a8 update I2PChromium.html 2022-09-02 18:35:04 -04:00
idk
7664107c7d update I2PBrowser.html 2022-09-02 18:34:59 -04:00
idk
61f8297fe9 update EXAMPLES.html 2022-09-02 18:34:53 -04:00
idk
0f538970d0 update CHANGES.html 2022-09-02 18:34:47 -04:00
idk
86f0ec3943 update index.html 2022-09-02 18:34:40 -04:00
idk
59f8d0edf9 unset https only mode during validation step for Firefox 2022-09-02 18:34:19 -04:00
idk
3d4f22676a unset https only mode during validation step for Firefox 2022-09-02 18:28:05 -04:00
idk
d0d0b5aca8 unset https only mode during validation step for Firefox 2022-09-02 18:25:27 -04:00
idk
998305ebe1 move release arg 2022-09-01 16:12:59 -04:00
idk
b1596d14bc update TODO.html 2022-09-01 16:06:25 -04:00
idk
6242346178 update TODO.md 2022-09-01 16:04:12 -04:00
idk
34ac0fb641 verbosity in releaser script 2022-09-01 15:49:07 -04:00
idk
7da10def01 delete jpackage before building jpackage 2022-09-01 15:44:04 -04:00
50 changed files with 652 additions and 228 deletions

View File

@ -115,6 +115,23 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h2>
<a href="#fri-september-2" rel="nofollow">
<span></span>
</a>
Fri, September 2
</h2>
<ul>
<li>
Disable HTTPS only mode in favor of HTTPS-first mode to remove the interstitial on I2P sites.
</li>
<li>
Clearnet sites still choose HTTPS first and will silently deny downgrades but will not warn HTTP-only users.
</li>
</ul>
<h2>
<a href="#thu-september-1" rel="nofollow">
<span></span>
@ -297,10 +314,15 @@
</li>
</ul>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -1,3 +1,9 @@
Fri, September 2
----------------
- Disable HTTPS only mode in favor of HTTPS-first mode to remove the interstitial on I2P sites.
- Clearnet sites still choose HTTPS first and will silently deny downgrades but will not warn HTTP-only users.
Thu, September 1
----------------

View File

@ -115,16 +115,24 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<p>
:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pbrowser-src" rel="nofollow">
<span></span>
@ -652,10 +655,15 @@
| args | 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 Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pchromium-src" rel="nofollow">
<span></span>
@ -146,6 +149,8 @@
<p>
Author: idk
<br>
Parent class: I2PCommonBrowser
<br>
package: net.i2p.i2pfirefox
</p>
<h2>
@ -676,7 +681,7 @@
<span></span>
</a>
processBuilder
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L397" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L399" rel="nofollow">
[src]
</a>
</h3>
@ -706,7 +711,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L486" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L493" rel="nofollow">
[src]
</a>
</h3>
@ -732,7 +737,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L496" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L503" rel="nofollow">
[src]
</a>
</h3>
@ -762,7 +767,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L508" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L515" rel="nofollow">
[src]
</a>
</h3>
@ -794,7 +799,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L521" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L528" rel="nofollow">
[src]
</a>
</h3>
@ -828,7 +833,7 @@
<span></span>
</a>
checkifPortIsOccupied
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L534" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L541" rel="nofollow">
[src]
</a>
</h3>
@ -860,7 +865,7 @@
<span></span>
</a>
launchAndDetatch
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L544" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L551" rel="nofollow">
[src]
</a>
</h3>
@ -892,7 +897,7 @@
<span></span>
</a>
launch
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L589" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L598" rel="nofollow">
[src]
</a>
</h3>
@ -924,7 +929,7 @@
<span></span>
</a>
launch
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L612" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L623" rel="nofollow">
[src]
</a>
</h3>
@ -954,7 +959,7 @@
<span></span>
</a>
launch
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L621" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L632" rel="nofollow">
[src]
</a>
</h3>
@ -980,7 +985,7 @@
<span></span>
</a>
ValidURL
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L623" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L634" rel="nofollow">
[src]
</a>
</h3>
@ -1013,7 +1018,7 @@
<span></span>
</a>
main
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L633" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L644" rel="nofollow">
[src]
</a>
</h3>
@ -1046,7 +1051,7 @@
<span></span>
</a>
sleep
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L658" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PChromium.java#L671" rel="nofollow">
[src]
</a>
</h3>
@ -1075,10 +1080,15 @@
| millis | int | |
</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 Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -7,6 +7,7 @@ Description:
> I2PChromium.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Author: idk
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
@ -196,7 +197,7 @@ This method has no parameters.
| args | String[] | the arguments to pass to the Chromium binary. |
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L397)
### 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
@ -207,7 +208,7 @@ This method has no parameters.
| args | String[] | the extended arguments to pass to the Chromium binary. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L486)
### 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
@ -216,7 +217,7 @@ This method has no parameters.
This method has no parameters.
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L496)
### 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
@ -227,7 +228,7 @@ This method has no parameters.
| timeout | int | the number of seconds to wait for the proxy to be ready. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L508)
### 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
@ -239,7 +240,7 @@ This method has no parameters.
| port | int | the port to wait for the proxy to be ready on. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L521)
### 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
@ -252,7 +253,7 @@ This method has no parameters.
| host | String | the host to wait for the proxy to be ready on. |
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L534)
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L541)
+ Description:
+ Access: private
@ -264,7 +265,7 @@ This method has no parameters.
| host | String | |
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L544)
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L551)
+ Description:
+ Access: public
@ -276,7 +277,7 @@ This method has no parameters.
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L589)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L598)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
+ Access: public
@ -288,7 +289,7 @@ This method has no parameters.
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L612)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L623)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
+ Access: public
@ -299,7 +300,7 @@ This method has no parameters.
| privateWindow | boolean | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L621)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L632)
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
+ Access: public
@ -308,7 +309,7 @@ This method has no parameters.
This method has no parameters.
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L623)
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L634)
+ Description:
+ Access: private
@ -320,7 +321,7 @@ This method has no parameters.
| inUrl | String | |
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L633)
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L644)
+ Description:
+ Access: public
@ -332,7 +333,7 @@ This method has no parameters.
| args | String[] | |
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L658)
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L671)
+ Description:
+ Access: private

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pchromiumprofilebuilder-src" rel="nofollow">
<span></span>
@ -421,10 +424,15 @@
This method has no parameters.
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pchromiumprofilechecker-src" rel="nofollow">
<span></span>
@ -315,10 +318,15 @@
| extensionDirectory | String | the extension directory to check |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pchromiumprofileunpacker-src" rel="nofollow">
<span></span>
@ -247,10 +250,15 @@
| 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 Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pcommonbrowser-src" rel="nofollow">
<span></span>
@ -490,11 +493,49 @@
<br>
| destinationFile | File | |
</p>
<h3>
<a href="#validateprofilefirstrun-src" rel="nofollow">
<span></span>
</a>
validateProfileFirstRun
<a href="src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L203" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: public
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: boolean
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| profileDirectory | 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 Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -140,3 +140,15 @@ package: net.i2p.i2pfirefox
| destinationFile | File | |
### validateProfileFirstRun [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L203)
+ Description:
+ Access: public
+ Modifiers: static
+ return: boolean
| Name | Type | Description |
| ----- | ----- | ----- |
| profileDirectory | String | |

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pfirefox-src" rel="nofollow">
<span></span>
@ -146,6 +149,8 @@
<p>
Author: idk
<br>
Parent class: I2PCommonBrowser
<br>
package: net.i2p.i2pfirefox
</p>
<h2>
@ -695,7 +700,7 @@
<span></span>
</a>
processBuilder
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L362" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L364" rel="nofollow">
[src]
</a>
</h3>
@ -725,7 +730,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L389" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L396" rel="nofollow">
[src]
</a>
</h3>
@ -751,7 +756,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L399" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L406" rel="nofollow">
[src]
</a>
</h3>
@ -781,7 +786,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L411" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L418" rel="nofollow">
[src]
</a>
</h3>
@ -813,7 +818,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L424" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L431" rel="nofollow">
[src]
</a>
</h3>
@ -847,7 +852,7 @@
<span></span>
</a>
checkifPortIsOccupied
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L437" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L444" rel="nofollow">
[src]
</a>
</h3>
@ -879,7 +884,7 @@
<span></span>
</a>
usabilityMode
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L447" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L454" rel="nofollow">
[src]
</a>
</h3>
@ -905,7 +910,7 @@
<span></span>
</a>
launchAndDetatch
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L454" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L461" rel="nofollow">
[src]
</a>
</h3>
@ -937,7 +942,7 @@
<span></span>
</a>
launch
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L500" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L509" rel="nofollow">
[src]
</a>
</h3>
@ -969,7 +974,7 @@
<span></span>
</a>
launch
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L522" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L533" rel="nofollow">
[src]
</a>
</h3>
@ -999,7 +1004,7 @@
<span></span>
</a>
launch
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L532" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L543" rel="nofollow">
[src]
</a>
</h3>
@ -1025,7 +1030,7 @@
<span></span>
</a>
ValidURL
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L534" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L545" rel="nofollow">
[src]
</a>
</h3>
@ -1058,7 +1063,7 @@
<span></span>
</a>
main
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L545" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L556" rel="nofollow">
[src]
</a>
</h3>
@ -1091,7 +1096,7 @@
<span></span>
</a>
sleep
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L571" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L584" rel="nofollow">
[src]
</a>
</h3>
@ -1120,10 +1125,15 @@
| millis | int | |
</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 Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -7,6 +7,7 @@ Description:
> I2PFirefox.java Copyright C 2022 idk <hankhill19580@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Author: idk
Parent class: I2PCommonBrowser
package: net.i2p.i2pfirefox
## Dependencies
@ -203,7 +204,7 @@ This method has no parameters.
| args | String[] | the arguments to pass to the Firefox binary |
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L362)
### 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
@ -214,7 +215,7 @@ This method has no parameters.
| args | String[] | the extended arguments to pass to the Firefox binary. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L389)
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L396)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
+ Access: public
@ -223,7 +224,7 @@ This method has no parameters.
This method has no parameters.
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L399)
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L406)
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
+ Access: public
@ -234,7 +235,7 @@ This method has no parameters.
| timeout | int | the number of seconds to wait for the proxy to be ready. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L411)
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L418)
+ 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
@ -246,7 +247,7 @@ This method has no parameters.
| port | int | the port to wait for the proxy to be ready on. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L424)
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L431)
+ 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
@ -259,7 +260,7 @@ This method has no parameters.
| host | String | the host to wait for the proxy to be ready on. |
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L437)
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L444)
+ Description:
+ Access: private
@ -271,7 +272,7 @@ This method has no parameters.
| host | String | |
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L447)
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L454)
+ Description:
+ Access: private
@ -280,7 +281,7 @@ This method has no parameters.
This method has no parameters.
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L454)
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L461)
+ Description:
+ Access: public
@ -292,7 +293,7 @@ This method has no parameters.
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L500)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L509)
+ 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
@ -304,7 +305,7 @@ This method has no parameters.
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L522)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L533)
+ 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
@ -315,7 +316,7 @@ This method has no parameters.
| privateWindow | boolean | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L532)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L543)
+ 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
@ -324,7 +325,7 @@ This method has no parameters.
This method has no parameters.
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L534)
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L545)
+ Description:
+ Access: private
@ -336,7 +337,7 @@ This method has no parameters.
| inUrl | String | |
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L545)
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L556)
+ Description:
+ Access: public
@ -348,7 +349,7 @@ This method has no parameters.
| args | String[] | |
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L571)
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L584)
+ Description:
+ Access: private

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pfirefoxprofilebuilder-src" rel="nofollow">
<span></span>
@ -406,7 +409,7 @@
<span></span>
</a>
copyStrictOptions
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L149" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L151" rel="nofollow">
[src]
</a>
</h3>
@ -435,10 +438,15 @@
| base | String | |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -103,7 +103,7 @@ This method has no parameters.
| base | String | |
### copyStrictOptions [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L149)
### copyStrictOptions [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileBuilder.java#L151)
+ Description: Copy the strict options from the base profile to the profile
+ Access: public

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pfirefoxprofilechecker-src" rel="nofollow">
<span></span>
@ -165,9 +168,21 @@
<br>
<ul>
<br>
<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>
<br>
<h2>
@ -187,7 +202,7 @@
<span></span>
</a>
main
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L26" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L30" rel="nofollow">
[src]
</a>
</h3>
@ -220,7 +235,7 @@
<span></span>
</a>
validateProfileDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L47" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L51" rel="nofollow">
[src]
</a>
</h3>
@ -248,12 +263,78 @@
<br>
| profileDirectory | String | the profile directory to check |
</p>
<h3>
<a href="#derestricthttps-src" rel="nofollow">
<span></span>
</a>
deRestrictHTTPS
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L84" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: private
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: boolean
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| profile | String | |
</p>
<h3>
<a href="#undohttpsonlymode-src" rel="nofollow">
<span></span>
</a>
undoHttpsOnlyMode
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L104" rel="nofollow">
[src]
</a>
</h3>
<ul>
<li>
Description:
<br>
</li>
<li>
Access: private
<br>
</li>
<li>
Modifiers: static
</li>
<li>
return: boolean
<br>
</li>
</ul>
<p>
| Name | Type | Description |
<br>
| ----- | ----- | ----- |
<br>
| fileToBeModified | File | |
</p>
<h3>
<a href="#validatefile-src" rel="nofollow">
<span></span>
</a>
validateFile
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L86" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L140" rel="nofollow">
[src]
</a>
</h3>
@ -286,7 +367,7 @@
<span></span>
</a>
validateExtensionDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L113" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L167" rel="nofollow">
[src]
</a>
</h3>
@ -315,10 +396,15 @@
| extensionDirectory | String | the extension directory to check |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -16,7 +16,11 @@ package: net.i2p.i2pfirefox
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>
@ -24,7 +28,7 @@ package: net.i2p.i2pfirefox
## Methods
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L26)
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L30)
+ Description:
+ Access: public
@ -36,7 +40,7 @@ package: net.i2p.i2pfirefox
| args | String[] | |
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L47)
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L51)
+ Description: Return true if the profile directory is valid.
+ Access: public
@ -48,7 +52,31 @@ package: net.i2p.i2pfirefox
| profileDirectory | String | the profile directory to check |
### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L86)
### 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
@ -60,7 +88,7 @@ package: net.i2p.i2pfirefox
| file | String | the file to check |
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L113)
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L167)
+ Description: Return true if the extension directory is valid.
+ Access: public

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pfirefoxprofileunpacker-src" rel="nofollow">
<span></span>
@ -251,10 +254,15 @@
| base | String | |
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#class-i2pgenericunsafebrowser-src" rel="nofollow">
<span></span>
@ -404,7 +407,7 @@
<span></span>
</a>
deleteRuntimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L226" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L229" rel="nofollow">
[src]
</a>
</h3>
@ -433,7 +436,7 @@
<span></span>
</a>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L242" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L245" rel="nofollow">
[src]
</a>
</h3>
@ -466,7 +469,7 @@
<span></span>
</a>
runtimeDirectory
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L253" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L256" rel="nofollow">
[src]
</a>
</h3>
@ -495,7 +498,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L275" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L278" rel="nofollow">
[src]
</a>
</h3>
@ -521,7 +524,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L285" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L288" rel="nofollow">
[src]
</a>
</h3>
@ -551,7 +554,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L297" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L300" rel="nofollow">
[src]
</a>
</h3>
@ -583,7 +586,7 @@
<span></span>
</a>
waitForProxy
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L311" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L314" rel="nofollow">
[src]
</a>
</h3>
@ -617,7 +620,7 @@
<span></span>
</a>
launchAndDetatch
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L325" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L328" rel="nofollow">
[src]
</a>
</h3>
@ -649,7 +652,7 @@
<span></span>
</a>
launch
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L346" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L349" rel="nofollow">
[src]
</a>
</h3>
@ -681,7 +684,7 @@
<span></span>
</a>
sleep
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L364" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L367" rel="nofollow">
[src]
</a>
</h3>
@ -714,7 +717,7 @@
<span></span>
</a>
ValidURL
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L372" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L375" rel="nofollow">
[src]
</a>
</h3>
@ -747,7 +750,7 @@
<span></span>
</a>
checkifPortIsOccupied
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L382" rel="nofollow">
<a href="src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L385" rel="nofollow">
[src]
</a>
</h3>
@ -775,10 +778,15 @@
| host | 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 Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -103,7 +103,7 @@ This method has no parameters.
This method has no parameters.
### deleteRuntimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L226)
### deleteRuntimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L229)
+ Description: delete the runtime directory
+ Access: public
@ -113,7 +113,7 @@ This method has no parameters.
This method has no parameters.
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L242)
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L245)
+ Description: get the runtime directory creating it if create=true
+ Access: public
@ -125,7 +125,7 @@ This method has no parameters.
| create | boolean | if true create the runtime directory if it does not exist |
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L253)
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L256)
+ Description: get the correct runtime directory
+ Access: public
@ -135,7 +135,7 @@ This method has no parameters.
This method has no parameters.
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L275)
### 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
@ -144,7 +144,7 @@ This method has no parameters.
This method has no parameters.
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L285)
### 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
@ -155,7 +155,7 @@ This method has no parameters.
| timeout | int | the number of seconds to wait for the proxy to be ready. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L297)
### 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
@ -167,7 +167,7 @@ This method has no parameters.
| port | int | the port to wait for the proxy to be ready on. |
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L311)
### 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
@ -180,7 +180,7 @@ This method has no parameters.
| host | String | the host to wait for the proxy to be ready on. |
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L325)
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L328)
+ Description:
+ Access: public
@ -192,7 +192,7 @@ This method has no parameters.
| url | String[] | |
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L346)
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L349)
+ Description:
+ Access: public
@ -204,7 +204,7 @@ This method has no parameters.
| url | String[] | |
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L364)
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L367)
+ Description:
+ Access: private
@ -216,7 +216,7 @@ This method has no parameters.
| millis | int | |
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L372)
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L375)
+ Description:
+ Access: private
@ -228,7 +228,7 @@ This method has no parameters.
| inUrl | String | |
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L382)
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PGenericUnsafeBrowser.java#L385)
+ Description:
+ Access: private

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<p>
Copyright 2022 idk (hankhill19580@gmail.com)
</p>
@ -1215,10 +1218,15 @@ under certain conditions; type `show c&#39; for details.
Public License instead of this License.
</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 Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#to-do-list" rel="nofollow">
<span></span>
@ -122,17 +125,6 @@
To-Do List:
</h1>
<ol>
<li>
Don&#39;t Repeat Yourself. Move all functions that all profiles have in common
to a common class and then have them all inherit that class.
</li>
<li>
Offer
<code>
-usability
</code>
flag which sets an alternative extension loadout.
</li>
<li>
Decide on an GUI component for launching the browser/variants with the choices:
<ul>
@ -155,10 +147,15 @@
</li>
</ol>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -1,12 +1,9 @@
To-Do List:
===========
1. Don't Repeat Yourself. Move all functions that all profiles have in common
to a common class and then have them all inherit that class.
2. Offer `-usability` flag which sets an alternative extension loadout.
3. Decide on an GUI component for launching the browser/variants with the choices:
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!)
4. Registry-based discovery of Firefox variants
5. Registry-based discovery of Chrome variants
2. Registry-based discovery of Firefox variants
3. Registry-based discovery of Chrome variants

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#example-commands" rel="nofollow">
<span></span>
@ -188,10 +191,15 @@ java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private
</pre>
</div>
<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 Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -311,7 +311,7 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
<delete dir="plugin/eepsite/docroot/torrents/" />
<!-- get version number -->
<buildnumber file="scripts/build.number" />
<property name="release.number" value="0.0.19" />
<property name="release.number" value="0.0.23" />
<!-- make the update xpi2p -->
<!-- this contains everything except i2ptunnel.config -->
@ -418,11 +418,11 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
<arg value="--main-jar"/> <arg value="i2pfirefox.jar"/>
<arg value="--main-class"/> <arg value="net.i2p.i2pfirefox.I2PBrowser"/>
</exec>
<exec executable="rm" failonerror="true" dir="src">
<exec executable="rm" failonerror="true">
<arg value="-rf" />
<arg value="i2pbrowser.zip" />
</exec>
<exec executable="zip" failonerror="true" dir="src">
<exec executable="zip" failonerror="true">
<arg value="-r"/>
<arg value="i2pbrowser.zip"/>
<arg value="i2pbrowser"/>

View File

@ -115,6 +115,9 @@
</div>
</div>
</div>
<a id="returnhome" href="/">
/
</a>
<h1>
<a href="#i2p-plugins-firefox" rel="nofollow">
<span></span>
@ -465,10 +468,15 @@ if (i2pIsRunning()) {
TODO: Summarize differences
</p>
<div id="sourcecode">
<span id="sourcehead">
<strong>
Get the source code:
</strong>
</span>
<ul>
<li>
<a href="https://github.com/eyedeekay/i2p.plugins.firefox">
Source Code: (https://github.com/eyedeekay/i2p.plugins.firefox)
Source Repository: (https://github.com/eyedeekay/i2p.plugins.firefox)
</a>
</li>
</ul>

View File

@ -2,9 +2,9 @@
GITHUB_USER=eyedeekay
GITHUB_REPO=i2p.plugins.firefox
GITHUB_NAME="That includes a -usability flag with an alternative extension loadout. Use with caution for now."
GITHUB_NAME="That fixes a missing semicolon"
GITHUB_DESCRIPTION=$(cat CHANGES.md)
GITHUB_TAG=0.0.19
GITHUB_TAG=0.0.23
ant distclean
./javadoc.sh
NUMLINE=`grep release.number build.xml | head -n 1`
@ -22,6 +22,7 @@ github-release edit --user "${GITHUB_USER}" \
--name "${GITHUB_NAME}" \
--description "${GITHUB_DESCRIPTION}" \
--tag "${GITHUB_TAG}"; true
echo "Relase $GITHUB_TAG setup"
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
@ -29,6 +30,7 @@ github-release upload --user "${GITHUB_USER}" \
--name "i2pfirefox.jar" \
--file "src/build/i2pfirefox.jar" \
--replace
echo "Uploaded jar"
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
@ -36,12 +38,14 @@ github-release upload --user "${GITHUB_USER}" \
--name "i2pfirefox.zip" \
--file "i2pfirefox.zip" \
--replace
echo "Uploaded freestanding zip"
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--name "i2pbrowser-nojava.zip" \
--label "I2P Browser launcher as a Jpackage, does not require a JVM, Linux Only for now unless you BYO." \
--name "i2pbrowser.zip" \
--file "i2pbrowser.zip" \
--replace
echo "Uploaded jpackage zip"
git pull github --tags
git push --all

View File

@ -8,3 +8,8 @@
#hidenav {display:block; }
#shownav:target {display: block; }
#hidenav:target {display: none; }
#donate {display:none; }
#hidedonate {display:block; }
#donate:target {display: block; }
#hidedonate:target {display: none; }

Binary file not shown.

View File

@ -0,0 +1,5 @@
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/

View File

@ -1,6 +0,0 @@
TODO:
Licensing work! This is probably mostly done, but I need to double-check it to make sure
the T&C are the same from all of these extensions are the same as for their Firefox versions
since I did the licensing review already. Since the license is included with the unpacked
extensions, we're almost certainly good.

View File

View File

@ -0,0 +1,7 @@
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/jshelter.js
i2p.chromium.usabilty.profile/extensions/localcdn.js
i2p.chromium.usabilty.profile/extensions/ublock.js

View File

@ -1,6 +0,0 @@
TODO:
Licensing work! This is probably mostly done, but I need to double-check it to make sure
the T&C are the same from all of these extensions are the same as for their Firefox versions
since I did the licensing review already. Since the license is included with the unpacked
extensions, we're almost certainly good.

Binary file not shown.

View File

View File

@ -60,6 +60,6 @@ user_pref("media.navigator.enabled", false);
user_pref("dom.w3c_touch_events.enabled", false);
user_pref("browser.privatebrowsing.autostart", false);
user_pref("browser.display.use_system_colors", false);
user_pref("dom.image-lazy-loading.enabled", false)
user_pref("dom.image-lazy-loading.enabled", false);
user_pref("extensions.autoDisableScopes", 0);
user_pref("extensions.enabledScopes", 1);

View File

@ -60,6 +60,6 @@ user_pref("media.navigator.enabled", false);
user_pref("dom.w3c_touch_events.enabled", false);
user_pref("browser.privatebrowsing.autostart", false);
user_pref("browser.display.use_system_colors", false);
user_pref("dom.image-lazy-loading.enabled", false)
user_pref("dom.image-lazy-loading.enabled", false);
user_pref("extensions.autoDisableScopes", 0);
user_pref("extensions.enabledScopes", 1);

View File

@ -179,22 +179,24 @@ public class I2PBrowser {
System.out.println("I2PBrowser");
I2PBrowser i2pBrowser = new I2PBrowser();
ArrayList<String> visitURL = new ArrayList<String>();
if (args != null && args.length > 0) {
for (String arg : args) {
if (arg.equals("-private")) {
privateBrowsing = true;
}
if (arg.equals("-chromium")) {
i2pBrowser.chromium = true;
}
if (arg.equals("-firefox")) {
i2pBrowser.firefox = true;
}
if (arg.equals("-usability")) {
i2pBrowser.usability = true;
}
if (!arg.startsWith("-")) {
visitURL.add(ValidURL(arg));
if (args != null) {
if (args.length > 0) {
for (String arg : args) {
if (arg.equals("-private")) {
privateBrowsing = true;
}
if (arg.equals("-chromium")) {
i2pBrowser.chromium = true;
}
if (arg.equals("-firefox")) {
i2pBrowser.firefox = true;
}
if (arg.equals("-usability")) {
i2pBrowser.usability = true;
}
if (!arg.startsWith("-")) {
visitURL.add(ValidURL(arg));
}
}
}
}

View File

@ -19,7 +19,7 @@ import java.util.ArrayList;
* @author idk
* @since 0.0.1
*/
public class I2PChromium {
public class I2PChromium extends I2PCommonBrowser {
private final String[] CHROMIUM_SEARCH_PATHS = CHROMIUM_FINDER();
private final int DEFAULT_TIMEOUT = 200;
private Process p = null;
@ -353,9 +353,11 @@ public class I2PChromium {
// return processBuilder(new String[]{});
ArrayList<String> argList = new ArrayList<String>();
argList.add("--incognito");
if (args != null && args.length > 0) {
for (String arg : args) {
argList.add(arg);
if (args != null) {
if (args.length > 0) {
for (String arg : args) {
argList.add(arg);
}
}
}
return processBuilder(argList.toArray(new String[argList.size()]));
@ -397,7 +399,10 @@ public class I2PChromium {
public ProcessBuilder processBuilder(String[] args) {
String chrome = topChromium();
if (!chrome.isEmpty()) {
String[] newArgs = new String[args.length + 32];
int arglength = 0;
if (args != null)
arglength = args.length;
String[] newArgs = new String[arglength + 32];
newArgs[0] = chrome;
newArgs[1] =
"--user-data-dir=" + I2PChromiumProfileBuilder.profileDirectory();
@ -463,9 +468,11 @@ public class I2PChromium {
+","+
new
File(I2PChromiumProfileBuilder.profileDirectory(),"extensions/scriptsafe.js").getAbsolutePath();*/
if (args.length > 0) {
for (int i = 0; i < args.length; i++) {
newArgs[i + 32] = args[i];
if (args != null) {
if (arglength > 0) {
for (int i = 0; i < arglength; i++) {
newArgs[i + 32] = args[i];
}
}
}
return new ProcessBuilder(newArgs).directory(
@ -558,6 +565,8 @@ public class I2PChromium {
System.out.println("Rebuilt profile directory: " + profileDirectory);
}
}
if (validateProfileFirstRun(profileDirectory))
return null;
ProcessBuilder pb = null;
if (privateWindow) {
pb = this.privateProcessBuilder(url);
@ -589,6 +598,8 @@ public class I2PChromium {
public void launch(boolean privateWindow, String[] url) {
if (waitForProxy()) {
p = launchAndDetatch(privateWindow, url);
if (p == null)
return;
System.out.println("I2PChromium");
try {
System.out.println("Waiting for I2PChromium to close...");
@ -636,19 +647,21 @@ public class I2PChromium {
I2PChromium i2pChromium = new I2PChromium();
System.out.println("checking for private browsing");
ArrayList<String> visitURL = new ArrayList<String>();
if (args != null && args.length > 0) {
for (String arg : args) {
if (arg.equals("-private")) {
privateBrowsing = true;
System.out.println(
"private browsing is true, profile will be discarded at end of session");
}
if (arg.equals("-usability")) {
I2PChromiumProfileBuilder.usability = true;
}
if (!arg.startsWith("-")) {
// check if it's a URL
visitURL.add(ValidURL(arg));
if (args != null) {
if (args.length > 0) {
for (String arg : args) {
if (arg.equals("-private")) {
privateBrowsing = true;
System.out.println(
"private browsing is true, profile will be discarded at end of session");
}
if (arg.equals("-usability")) {
I2PChromiumProfileBuilder.usability = true;
}
if (!arg.startsWith("-")) {
// check if it's a URL
visitURL.add(ValidURL(arg));
}
}
}
}

View File

@ -127,13 +127,14 @@ public class I2PChromiumProfileBuilder extends I2PCommonBrowser {
}
File baseProfileDir = new File(baseProfile);
File profileDir = new File(profile);
try {
System.out.println("Copying base profile to profile directory");
copyDirectory(baseProfileDir, profileDir, "chromium", usabilityMode());
} catch (Exception e) {
System.out.println("Error copying base profile to profile" + e);
return false;
if (!profileDir.exists()) {
try {
System.out.println("Copying base profile to profile directory");
copyDirectory(baseProfileDir, profileDir, "chromium", usabilityMode());
} catch (Exception e) {
System.out.println("Error copying base profile to profile" + e);
return false;
}
}
System.out.println("Copied base profile to profile directory");
return true;

View File

@ -199,4 +199,23 @@ public class I2PCommonBrowser {
}
}
}
public static boolean validateProfileFirstRun(String profileDirectory) {
File profileDir = new File(profileDirectory);
if (!profileDir.exists()) {
System.out.println("Profile directory does not exist");
return false;
}
if (!profileDir.isDirectory()) {
System.out.println("Profile directory is not a directory");
return false;
}
File frf = new File(profileDir, "first-run");
if (frf.exists()) {
frf.delete();
// is a first run
return true;
}
return false;
}
}

View File

@ -19,7 +19,7 @@ import java.util.ArrayList;
* @author idk
* @since 0.0.1
*/
public class I2PFirefox {
public class I2PFirefox extends I2PCommonBrowser {
private final String[] FIREFOX_SEARCH_PATHS = FIREFOX_FINDER();
private final int DEFAULT_TIMEOUT = 200;
private Process p = null;
@ -341,9 +341,11 @@ public class I2PFirefox {
public ProcessBuilder privateProcessBuilder(String[] args) {
ArrayList<String> argList = new ArrayList<String>();
argList.add("--private-window");
if (args != null && args.length > 0) {
for (String arg : args) {
argList.add(arg);
if (args != null) {
if (args.length > 0) {
for (String arg : args) {
argList.add(arg);
}
}
}
return processBuilder(argList.toArray(new String[argList.size()]));
@ -362,13 +364,18 @@ public class I2PFirefox {
public ProcessBuilder processBuilder(String[] args) {
String firefox = topFirefox();
if (!firefox.isEmpty()) {
String[] newArgs = new String[args.length + 3];
int arglength = 0;
if (args != null)
arglength = args.length;
String[] newArgs = new String[arglength + 4];
newArgs[0] = firefox;
newArgs[1] = "--profile";
newArgs[2] = I2PFirefoxProfileBuilder.profileDirectory();
if (args != null && args.length > 0) {
for (int i = 0; i < args.length; i++) {
newArgs[i + 3] = args[i];
if (args != null) {
if (arglength > 0) {
for (int i = 0; i < arglength; i++) {
newArgs[i + 4] = args[i];
}
}
}
return new ProcessBuilder(newArgs).directory(
@ -468,6 +475,8 @@ public class I2PFirefox {
System.out.println("Rebuilt profile directory: " + profileDirectory);
}
}
if (validateProfileFirstRun(profileDirectory))
return null;
ProcessBuilder pb;
if (privateWindow) {
pb = privateProcessBuilder(url);
@ -500,6 +509,8 @@ public class I2PFirefox {
public void launch(boolean privateWindow, String[] url) {
if (waitForProxy()) {
p = launchAndDetatch(privateWindow, url);
if (p == null)
return;
try {
System.out.println("Waiting for I2PFirefox to close...");
int exit = p.waitFor();
@ -546,19 +557,21 @@ public class I2PFirefox {
boolean privateBrowsing = false;
System.out.println("checking for private browsing");
ArrayList<String> visitURL = new ArrayList<String>();
if (args != null && args.length > 0) {
for (String arg : args) {
if (arg.equals("-private")) {
privateBrowsing = true;
System.out.println(
"private browsing is true, profile will be discarded at end of session");
}
if (arg.equals("-usability")) {
usability = true;
}
if (!arg.startsWith("-")) {
// check if it's a URL
visitURL.add(ValidURL(arg));
if (args != null) {
if (args.length > 0) {
for (String arg : args) {
if (arg.equals("-private")) {
privateBrowsing = true;
System.out.println(
"private browsing is true, profile will be discarded at end of session");
}
if (arg.equals("-usability")) {
usability = true;
}
if (!arg.startsWith("-")) {
// check if it's a URL
visitURL.add(ValidURL(arg));
}
}
}
}

View File

@ -120,14 +120,16 @@ public class I2PFirefoxProfileBuilder extends I2PCommonBrowser {
File baseProfileDir = new File(baseProfile);
File profileDir = new File(profile);
try {
System.out.println("Copying base profile to profile directory");
copyDirectory(baseProfileDir, profileDir, "firefox", base);
} catch (Exception e) {
System.out.println("Error copying base profile to profile" + e);
return false;
if (!profileDir.exists()) {
try {
System.out.println("Copying base profile to profile directory");
copyDirectory(baseProfileDir, profileDir, "firefox", base);
} catch (Exception e) {
System.out.println("Error copying base profile to profile" + e);
return false;
}
System.out.println("Copied base profile to profile directory");
}
System.out.println("Copied base profile to profile directory");
// if user.js does not exist yet, make an empty one.
// if (!touch(profileDir.toString(), "user.js")) {
// return false;

View File

@ -1,6 +1,10 @@
package net.i2p.i2pfirefox;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
/**
* I2PFirefoxProfileChecker.java
@ -74,7 +78,57 @@ public class I2PFirefoxProfileChecker {
System.out.println("extensions directory is invalid");
return false;
}
return true;
return deRestrictHTTPS(profileDir.toString());
}
private static boolean deRestrictHTTPS(String profile) {
// String profile = profileDirectory();
File profileDir = new File(profile);
if (profileDir.exists()) {
File prefOverrides = new File(profile, "prefs.js");
if (prefOverrides.exists()) {
undoHttpsOnlyMode(prefOverrides);
}
File userSettings = new File(profile, "user.js");
if (userSettings.exists()) {
undoHttpsOnlyMode(userSettings);
}
File userOverrides = new File(profile, "user-overrides.js");
if (userOverrides.exists()) {
undoHttpsOnlyMode(userOverrides);
}
}
return false;
}
private static boolean undoHttpsOnlyMode(File fileToBeModified) {
String oldString = "\"dom.security.https_only_mode\", true";
String newString = "\"dom.security.https_only_mode\", false";
String oldContent = "";
BufferedReader reader = null;
FileWriter writer = null;
try {
reader = new BufferedReader(new FileReader(fileToBeModified));
String line = reader.readLine();
while (line != null) {
oldContent = oldContent + line + System.lineSeparator();
line = reader.readLine();
}
String newContent = oldContent.replaceAll(oldString, newString);
writer = new FileWriter(fileToBeModified);
writer.write(newContent);
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
reader.close();
writer.close();
return true;
} catch (IOException e) {
e.printStackTrace();
}
}
return false;
}
/**
* Return true if the file is valid.

View File

@ -192,10 +192,13 @@ public class I2PGenericUnsafeBrowser extends I2PCommonBrowser {
public ProcessBuilder baseProcessBuilder(String[] args) {
String browser = findUnsafeBrowserAnywhere();
if (!browser.isEmpty()) {
String[] newArgs = new String[args.length + 1];
int arglength = 0;
if (args != null)
arglength = args.length;
String[] newArgs = new String[arglength + 1];
newArgs[0] = browser;
if (args != null && args.length > 0) {
for (int i = 0; i < args.length; i++) {
if (args != null && arglength > 0) {
for (int i = 0; i < arglength; i++) {
newArgs[i + 1] = args[i];
}
}
@ -394,16 +397,18 @@ public class I2PGenericUnsafeBrowser extends I2PCommonBrowser {
boolean privateBrowsing = false;
System.out.println("checking for private browsing");
ArrayList<String> visitURL = new ArrayList<String>();
if (args != null && args.length > 0) {
for (String arg : args) {
if (arg.equals("-private")) {
privateBrowsing = true;
System.out.println(
"private browsing is true, profile will be discarded at end of session");
}
if (!arg.startsWith("-")) {
// check if it's a URL
visitURL.add(ValidURL(arg));
if (args != null) {
if (args.length > 0) {
for (String arg : args) {
if (arg.equals("-private")) {
privateBrowsing = true;
System.out.println(
"private browsing is true, profile will be discarded at end of session");
}
if (!arg.startsWith("-")) {
// check if it's a URL
visitURL.add(ValidURL(arg));
}
}
}
}

View File

@ -155,3 +155,10 @@ input {
float: right;
width: 15%;
}
#returnhome {
font-size: xxx-large;
display: inline;
}
h1 {
display: inline;
}