Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
76d05d0d53 | |||
7e6f11f6b3 | |||
b9c0fc5e38 | |||
5d4b1a4681 | |||
b2f604a4a5 | |||
7e3ae6ad04 | |||
2edb2a3408 | |||
6c1f2bc640 | |||
76292fc7c0 | |||
c354c49128 | |||
9d66efe846 | |||
24a08cf7c5 | |||
4e19c36817 | |||
05dfef06e3 |
@ -773,7 +773,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
waitForProxy
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L423" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L422" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -799,7 +799,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
waitForProxy
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L433" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L432" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -829,7 +829,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
waitForProxy
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L445" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L444" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -861,7 +861,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
waitForProxy
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L458" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L457" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -895,7 +895,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
checkifPortIsOccupied
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L472" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L471" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -927,7 +927,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
usabilityMode
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L482" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L481" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -953,7 +953,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
launchAndDetatch
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L489" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L488" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -985,7 +985,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
launch
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L554" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L560" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1017,7 +1017,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
launch
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L578" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L584" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1047,7 +1047,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
launch
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L588" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L594" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1073,7 +1073,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
ValidURL
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L590" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L596" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1106,7 +1106,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
main
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L601" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L607" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1139,7 +1139,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
sleep
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L630" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L636" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
|
@ -227,7 +227,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#L423)
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L422)
|
||||
|
||||
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
|
||||
+ Access: public
|
||||
@ -236,7 +236,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L433)
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L432)
|
||||
|
||||
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
|
||||
+ Access: public
|
||||
@ -247,7 +247,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#L445)
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L444)
|
||||
|
||||
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
||||
+ Access: public
|
||||
@ -259,7 +259,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#L458)
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L457)
|
||||
|
||||
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
||||
+ Access: public
|
||||
@ -272,7 +272,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#L472)
|
||||
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L471)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -284,7 +284,7 @@ This method has no parameters.
|
||||
| host | String | |
|
||||
|
||||
|
||||
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L482)
|
||||
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L481)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -293,7 +293,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L489)
|
||||
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L488)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
@ -305,7 +305,7 @@ This method has no parameters.
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L554)
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L560)
|
||||
|
||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
|
||||
+ Access: public
|
||||
@ -317,7 +317,7 @@ This method has no parameters.
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L578)
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L584)
|
||||
|
||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
|
||||
+ Access: public
|
||||
@ -328,7 +328,7 @@ This method has no parameters.
|
||||
| privateWindow | boolean | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L588)
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L594)
|
||||
|
||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory. Uses a semi-permanent profile.
|
||||
+ Access: public
|
||||
@ -337,7 +337,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L590)
|
||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L596)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -349,7 +349,7 @@ This method has no parameters.
|
||||
| inUrl | String | |
|
||||
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L601)
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L607)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
@ -361,7 +361,7 @@ This method has no parameters.
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L630)
|
||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L636)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
|
@ -186,6 +186,9 @@
|
||||
<li>
|
||||
java.io.File
|
||||
</li>
|
||||
<li>
|
||||
java.io.FileNotFoundException
|
||||
</li>
|
||||
<li>
|
||||
java.io.FileReader
|
||||
</li>
|
||||
@ -195,6 +198,9 @@
|
||||
<li>
|
||||
java.io.IOException
|
||||
</li>
|
||||
<li>
|
||||
java.util.Scanner
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<h2>
|
||||
@ -214,7 +220,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
main
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L30" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L32" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -247,7 +253,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
validateProfileDirectory
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L51" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L53" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -276,11 +282,11 @@
|
||||
| profileDirectory | String | the profile directory to check |
|
||||
</p>
|
||||
<h3>
|
||||
<a href="#derestricthttps-src" rel="nofollow">
|
||||
<a href="#derestricthttpsandsetuphomepage-src" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
deRestrictHTTPS
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L84" rel="nofollow">
|
||||
deRestrictHTTPSAndSetupHomepage
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L86" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -313,7 +319,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
undoHttpsOnlyMode
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L104" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L109" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -341,12 +347,82 @@
|
||||
<br>
|
||||
| fileToBeModified | File | |
|
||||
</p>
|
||||
<h3>
|
||||
<a href="#undohomepage-src" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
undoHomepage
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L115" 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="#undovalue-src" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
undoValue
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L138" 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>
|
||||
| oldString | String | |
|
||||
<br>
|
||||
| newString | String | |
|
||||
<br>
|
||||
| fileToBeModified | File | |
|
||||
</p>
|
||||
<h3>
|
||||
<a href="#validatefile-src" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
validateFile
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L140" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L172" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -379,7 +455,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
validateExtensionDirectory
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L167" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L199" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
|
@ -19,9 +19,11 @@ package: net.i2p.i2pfirefox
|
||||
<ul>
|
||||
<li>java.io.BufferedReader</li>
|
||||
<li>java.io.File</li>
|
||||
<li>java.io.FileNotFoundException</li>
|
||||
<li>java.io.FileReader</li>
|
||||
<li>java.io.FileWriter</li>
|
||||
<li>java.io.IOException</li>
|
||||
<li>java.util.Scanner</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
@ -29,7 +31,7 @@ package: net.i2p.i2pfirefox
|
||||
|
||||
## Methods
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L30)
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L32)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
@ -41,7 +43,7 @@ package: net.i2p.i2pfirefox
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L51)
|
||||
### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L53)
|
||||
|
||||
+ Description: Return true if the profile directory is valid.
|
||||
+ Access: public
|
||||
@ -53,7 +55,7 @@ package: net.i2p.i2pfirefox
|
||||
| profileDirectory | String | the profile directory to check |
|
||||
|
||||
|
||||
### deRestrictHTTPS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L84)
|
||||
### deRestrictHTTPSAndSetupHomepage [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L86)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -65,7 +67,7 @@ package: net.i2p.i2pfirefox
|
||||
| profile | String | |
|
||||
|
||||
|
||||
### undoHttpsOnlyMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L104)
|
||||
### undoHttpsOnlyMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L109)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -77,7 +79,33 @@ package: net.i2p.i2pfirefox
|
||||
| fileToBeModified | File | |
|
||||
|
||||
|
||||
### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L140)
|
||||
### undoHomepage [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L115)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| fileToBeModified | File | |
|
||||
|
||||
|
||||
### undoValue [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L138)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
+ Modifiers: static
|
||||
+ return: boolean
|
||||
|
||||
| Name | Type | Description |
|
||||
| ----- | ----- | ----- |
|
||||
| oldString | String | |
|
||||
| newString | String | |
|
||||
| fileToBeModified | File | |
|
||||
|
||||
|
||||
### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L172)
|
||||
|
||||
+ Description: Return true if the file is valid.
|
||||
+ Access: public
|
||||
@ -89,7 +117,7 @@ package: net.i2p.i2pfirefox
|
||||
| file | String | the file to check |
|
||||
|
||||
|
||||
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L167)
|
||||
### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L199)
|
||||
|
||||
+ Description: Return true if the extension directory is valid.
|
||||
+ Access: public
|
||||
|
@ -129,54 +129,54 @@
|
||||
/
|
||||
</a>
|
||||
<h1>
|
||||
<a href="#sums-for-release-0-0-30" rel="nofollow">
|
||||
<a href="#sums-for-release-0-0-31" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Sums for release 0.0.30
|
||||
Sums for release 0.0.31
|
||||
</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pfirefox.jar" rel="nofollow">
|
||||
74c272422f1b1753ee02e0cc5bee22e74a740ac4c929343559377a265825586e i2pfirefox.jar
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pfirefox.jar" rel="nofollow">
|
||||
b4281b944433069681ece1124bf5ac1a527dcef9d29ce999ab0dac7a0bbee70e i2pfirefox.jar
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pfirefox.zip" rel="nofollow">
|
||||
7e387b08f6871c5465a6d6c554afd175889dd9e1eabd5d33a7c62189f4db1c3c i2pfirefox.zip
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pfirefox.zip" rel="nofollow">
|
||||
5b21bb74ce6715bd48bcc019a1165f1f27a15bd831c1a723d8b90f7cb82498df i2pfirefox.zip
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.zip" rel="nofollow">
|
||||
4befe1bbd83c4652ee7253c3a9c6023f8f3381c85a7565412e9d5136d03cac07 i2pbrowser.zip
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.zip" rel="nofollow">
|
||||
86b0ae9040d64651cc13027a9861d0fdf2afaac4a4cdb9cbef69e82cc92adb67 i2pbrowser.zip
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser_0.0.30_.deb" rel="nofollow">
|
||||
96c1fc9b8e9ed715737e7cfa58761d6ef981c15a0eb3c75c3ac0843ce995c604 i2pbrowser
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser_0.0.31_.deb" rel="nofollow">
|
||||
3a08a52a41463e0b5324101eb097f533bbac8b7db44964a2f90d305247320ecc i2pbrowser
|
||||
<em>
|
||||
0.0.30
|
||||
0.0.31
|
||||
</em>
|
||||
.deb
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser-0.0.30_.rpm" rel="nofollow">
|
||||
b8c45ded657ac2e8731364fbaa68029a71db86cf97d68ca318348eecd7fd61cf i2pbrowser-0.0.30_.rpm
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser-0.0.31_.rpm" rel="nofollow">
|
||||
67739c09653b52d8bdb75b2c742aa8c21a8a7c278b7c05e25957747afede218b i2pbrowser-0.0.31_.rpm
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.msi" rel="nofollow">
|
||||
d5848aa6d0be92a1e248c8e25a2396a720dfdd3bf68b73b77cd92163b6945fbf i2pbrowser.msi
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.msi" rel="nofollow">
|
||||
f40ef6126af9fd93272c2935e1fb056a6aceb2dfbbb0aafe1847708c40a3220a i2pbrowser.msi
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.exe" rel="nofollow">
|
||||
54032b5cee012dab75dcdf4c935bd5528c0bee50ea0deb178ec43fc47125edf1 i2pbrowser.exe
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.exe" rel="nofollow">
|
||||
33ecc96815f3e6934112f138b54bb64fde93565dcafae000d73b2539449f10ed i2pbrowser.exe
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser-portable.zip" rel="nofollow">
|
||||
4eb1ee90373bf983421ba6c568cdd2b1ca88f838d64540d071f98b9c597c3c09 i2pbrowser-portable.zip
|
||||
<a href="https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser-portable.zip" rel="nofollow">
|
||||
6a620cd58fda291945fa010e3411fac817f2b9f87f572b67697de0e16e694efd i2pbrowser-portable.zip
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
18
RELEASES.md
18
RELEASES.md
@ -1,12 +1,12 @@
|
||||
Sums for release 0.0.30
|
||||
Sums for release 0.0.31
|
||||
==============================
|
||||
|
||||
- [74c272422f1b1753ee02e0cc5bee22e74a740ac4c929343559377a265825586e i2pfirefox.jar](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pfirefox.jar)
|
||||
- [7e387b08f6871c5465a6d6c554afd175889dd9e1eabd5d33a7c62189f4db1c3c i2pfirefox.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pfirefox.zip)
|
||||
- [4befe1bbd83c4652ee7253c3a9c6023f8f3381c85a7565412e9d5136d03cac07 i2pbrowser.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.zip)
|
||||
- [96c1fc9b8e9ed715737e7cfa58761d6ef981c15a0eb3c75c3ac0843ce995c604 i2pbrowser_0.0.30_.deb](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser_0.0.30_.deb)
|
||||
- [b8c45ded657ac2e8731364fbaa68029a71db86cf97d68ca318348eecd7fd61cf i2pbrowser-0.0.30_.rpm](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser-0.0.30_.rpm)
|
||||
- [d5848aa6d0be92a1e248c8e25a2396a720dfdd3bf68b73b77cd92163b6945fbf i2pbrowser.msi](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.msi)
|
||||
- [54032b5cee012dab75dcdf4c935bd5528c0bee50ea0deb178ec43fc47125edf1 i2pbrowser.exe](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.exe)
|
||||
- [4eb1ee90373bf983421ba6c568cdd2b1ca88f838d64540d071f98b9c597c3c09 i2pbrowser-portable.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser-portable.zip)
|
||||
- [b4281b944433069681ece1124bf5ac1a527dcef9d29ce999ab0dac7a0bbee70e i2pfirefox.jar](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pfirefox.jar)
|
||||
- [5b21bb74ce6715bd48bcc019a1165f1f27a15bd831c1a723d8b90f7cb82498df i2pfirefox.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pfirefox.zip)
|
||||
- [86b0ae9040d64651cc13027a9861d0fdf2afaac4a4cdb9cbef69e82cc92adb67 i2pbrowser.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.zip)
|
||||
- [3a08a52a41463e0b5324101eb097f533bbac8b7db44964a2f90d305247320ecc i2pbrowser_0.0.31_.deb](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser_0.0.31_.deb)
|
||||
- [67739c09653b52d8bdb75b2c742aa8c21a8a7c278b7c05e25957747afede218b i2pbrowser-0.0.31_.rpm](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser-0.0.31_.rpm)
|
||||
- [f40ef6126af9fd93272c2935e1fb056a6aceb2dfbbb0aafe1847708c40a3220a i2pbrowser.msi](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.msi)
|
||||
- [33ecc96815f3e6934112f138b54bb64fde93565dcafae000d73b2539449f10ed i2pbrowser.exe](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser.exe)
|
||||
- [6a620cd58fda291945fa010e3411fac817f2b9f87f572b67697de0e16e694efd i2pbrowser-portable.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.31/i2pbrowser-portable.zip)
|
||||
|
||||
|
@ -317,7 +317,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.31" />
|
||||
<property name="release.number" value="0.0.33" />
|
||||
|
||||
<!-- make the update xpi2p -->
|
||||
<!-- this contains everything except i2ptunnel.config -->
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! /usr/bin/env sh
|
||||
export GITHUB_USER=eyedeekay
|
||||
export GITHUB_REPO=i2p.plugins.firefox
|
||||
export GITHUB_NAME="Destroy headless process if it goes too long"
|
||||
export GITHUB_NAME="Fix unclosed scanner"
|
||||
export GITHUB_DESCRIPTION=$(cat CHANGES.md)
|
||||
export GITHUB_TAG=0.0.31
|
||||
export GITHUB_TAG=0.0.33
|
@ -48,8 +48,8 @@ echo "" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pfirefox.jar)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.jar)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pfirefox.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.zip)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.zip)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser_${GITHUB_TAG}_.deb)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser_${GITHUB_TAG}_.deb)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser-${GITHUB_TAG}_.rpm)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser-${GITHUB_TAG}_.rpm)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser_${GITHUB_TAG}_.deb)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser_${GITHUB_TAG}_amd64.deb)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser-${GITHUB_TAG}_.rpm)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm.rpm)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser.msi)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.msi)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser.exe)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.exe)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser-portable.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser-portable.zip)" | tee -a RELEASES.md
|
||||
|
@ -51,7 +51,7 @@ 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}_.deb" \
|
||||
--name "i2pbrowser_${GITHUB_TAG}_amd64.deb" \
|
||||
--file "i2pbrowser_${GITHUB_TAG}_amd64.deb" \
|
||||
--replace
|
||||
echo "Uploaded debian package"
|
||||
@ -60,7 +60,7 @@ 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}_.rpm" \
|
||||
--name "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm" \
|
||||
--file "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm" \
|
||||
--replace
|
||||
echo "Uploaded fedora package"
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -392,16 +392,15 @@ public class I2PFirefox extends I2PCommonBrowser {
|
||||
int arglength = 0;
|
||||
if (args != null)
|
||||
arglength = args.length;
|
||||
String[] newArgs = new String[arglength + 5];
|
||||
String[] newArgs = new String[arglength + 4];
|
||||
newArgs[0] = firefox;
|
||||
newArgs[1] = "-attach-console";
|
||||
newArgs[2] = "--new-instance";
|
||||
newArgs[3] = "--profile";
|
||||
newArgs[4] = I2PFirefoxProfileBuilder.profileDirectory();
|
||||
newArgs[1] = "--new-instance";
|
||||
newArgs[2] = "--profile";
|
||||
newArgs[3] = I2PFirefoxProfileBuilder.profileDirectory();
|
||||
if (args != null) {
|
||||
if (arglength > 0) {
|
||||
for (int i = 0; i < arglength; i++) {
|
||||
newArgs[i + 5] = args[i];
|
||||
newArgs[i + 4] = args[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -509,10 +508,17 @@ public class I2PFirefox extends I2PCommonBrowser {
|
||||
try {
|
||||
Process hp = hpb.start();
|
||||
try {
|
||||
boolean hev = hp.waitFor(20, TimeUnit.SECONDS);
|
||||
boolean hev = hp.waitFor(5, TimeUnit.SECONDS);
|
||||
println("Headless browser run completed, exit: " + hev);
|
||||
if (!hev)
|
||||
hp.destroy();
|
||||
if (hp.isAlive()) {
|
||||
int forcedExitCode = hp.destroyForcibly().waitFor();
|
||||
println("Headless browser run forcibly terminated, exit: " +
|
||||
forcedExitCode);
|
||||
}
|
||||
int exitCode = hp.exitValue();
|
||||
println("Headless browser run completed, exit: " + exitCode);
|
||||
} catch (InterruptedException e) {
|
||||
println("Headless browser error " + e.toString());
|
||||
}
|
||||
|
@ -2,9 +2,11 @@ package net.i2p.i2pfirefox;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileReader;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.Scanner;
|
||||
|
||||
/**
|
||||
* I2PFirefoxProfileChecker.java
|
||||
@ -78,24 +80,27 @@ public class I2PFirefoxProfileChecker extends I2PCommonBrowser {
|
||||
println("extensions directory is invalid");
|
||||
return false;
|
||||
}
|
||||
return deRestrictHTTPS(profileDir.toString());
|
||||
return deRestrictHTTPSAndSetupHomepage(profileDir.toString());
|
||||
}
|
||||
|
||||
private static boolean deRestrictHTTPS(String profile) {
|
||||
private static boolean deRestrictHTTPSAndSetupHomepage(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);
|
||||
undoHomepage(prefOverrides);
|
||||
}
|
||||
File userSettings = new File(profile, "user.js");
|
||||
if (userSettings.exists()) {
|
||||
undoHttpsOnlyMode(userSettings);
|
||||
undoHomepage(userSettings);
|
||||
}
|
||||
File userOverrides = new File(profile, "user-overrides.js");
|
||||
if (userOverrides.exists()) {
|
||||
undoHttpsOnlyMode(userOverrides);
|
||||
undoHomepage(userOverrides);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
@ -104,6 +109,33 @@ public class I2PFirefoxProfileChecker extends I2PCommonBrowser {
|
||||
private static boolean undoHttpsOnlyMode(File fileToBeModified) {
|
||||
String oldString = "\"dom.security.https_only_mode\", true";
|
||||
String newString = "\"dom.security.https_only_mode\", false";
|
||||
return undoValue(oldString, newString, fileToBeModified);
|
||||
}
|
||||
|
||||
private static boolean undoHomepage(File fileToBeModified) {
|
||||
String oldString = "\"browser.startup.homepage\", true";
|
||||
File file = new File("Student.txt");
|
||||
String newString =
|
||||
"\"browser.startup.homepage\", \"http://127.0.0.1:7657\"";
|
||||
try {
|
||||
try (Scanner scanner = new Scanner(file)) {
|
||||
// now read the file line by line...
|
||||
while (scanner.hasNextLine()) {
|
||||
String line = scanner.nextLine();
|
||||
if (line.contains("browser.startup.homepage")) {
|
||||
oldString = line.toString();
|
||||
return undoValue(oldString, newString, fileToBeModified);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (FileNotFoundException e) {
|
||||
// handle this
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private static boolean undoValue(String oldString, String newString,
|
||||
File fileToBeModified) {
|
||||
String oldContent = "";
|
||||
BufferedReader reader = null;
|
||||
FileWriter writer = null;
|
||||
|
Reference in New Issue
Block a user