Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b90ed676fd | ||
![]() |
91b0d0500e |
@@ -31,7 +31,7 @@
|
|||||||
<!ENTITY aboutI2p.refresh_link "Refresh">
|
<!ENTITY aboutI2p.refresh_link "Refresh">
|
||||||
|
|
||||||
<!ENTITY aboutI2p.site "http://i2p-projekt.i2p/en">
|
<!ENTITY aboutI2p.site "http://i2p-projekt.i2p/en">
|
||||||
<!ENTITY aboutI2p.routerconsole "http://localhost:17657">
|
<!ENTITY aboutI2p.routerconsole "http://localhost:7647">
|
||||||
<!ENTITY aboutI2p.github "https://github.com/mikalv">
|
<!ENTITY aboutI2p.github "https://github.com/mikalv">
|
||||||
<!ENTITY aboutI2p.trac "http://trac.i2p2.i2p">
|
<!ENTITY aboutI2p.trac "http://trac.i2p2.i2p">
|
||||||
|
|
||||||
|
@@ -106,7 +106,7 @@ IBI2PCheckService.prototype =
|
|||||||
createCheckConsoleRequest: function(aAsync)
|
createCheckConsoleRequest: function(aAsync)
|
||||||
{
|
{
|
||||||
let prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch)
|
let prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch)
|
||||||
let port = prefs.getIntPref("extensions.i2pbutton.console_port_i2pj", 17657)
|
let port = prefs.getIntPref("extensions.i2pbutton.console_port_i2pj", 7647)
|
||||||
let url = `http://localhost:${port}/netdb?r=.`
|
let url = `http://localhost:${port}/netdb?r=.`
|
||||||
return this._createRequest(url, aAsync, "text/html")
|
return this._createRequest(url, aAsync, "text/html")
|
||||||
},
|
},
|
||||||
|
@@ -22,8 +22,8 @@ Cu.import('resource://gre/modules/FileUtils.jsm')
|
|||||||
|
|
||||||
XPCOMUtils.defineLazyModuleGetter(this, "LauncherUtil", "resource://i2pbutton/modules/launcher-util.jsm")
|
XPCOMUtils.defineLazyModuleGetter(this, "LauncherUtil", "resource://i2pbutton/modules/launcher-util.jsm")
|
||||||
|
|
||||||
let consolePort = Services.prefs.getIntPref("extensions.i2pbutton.console_port_i2pj", 17657)
|
let consolePort = Services.prefs.getIntPref("extensions.i2pbutton.console_port_i2pj", 7647)
|
||||||
let httpProxyPort = Services.prefs.getIntPref("network.proxy.http_port", 14444)
|
let httpProxyPort = Services.prefs.getIntPref("network.proxy.http_port", 7644)
|
||||||
|
|
||||||
const defaultWebappsConfig = `# Autogenerated by I2P Browser
|
const defaultWebappsConfig = `# Autogenerated by I2P Browser
|
||||||
webapps.jsonrpc.startOnLoad=true
|
webapps.jsonrpc.startOnLoad=true
|
||||||
|
@@ -73,13 +73,13 @@ StartupObserver.prototype = {
|
|||||||
this._prefs.setIntPref("network.proxy.type", 1);
|
this._prefs.setIntPref("network.proxy.type", 1);
|
||||||
this._prefs.setIntPref("network.proxy.socks_port", 0);
|
this._prefs.setIntPref("network.proxy.socks_port", 0);
|
||||||
this._prefs.setCharPref("network.proxy.socks", "");
|
this._prefs.setCharPref("network.proxy.socks", "");
|
||||||
this._prefs.setIntPref("extensions.i2pbutton.console_port_i2pj", 17657);
|
this._prefs.setIntPref("extensions.i2pbutton.console_port_i2pj", 7647);
|
||||||
this._prefs.setCharPref("network.proxy.http", "127.0.0.1");
|
this._prefs.setCharPref("network.proxy.http", "127.0.0.1");
|
||||||
this._prefs.setIntPref("network.proxy.http_port", 14444);
|
this._prefs.setIntPref("network.proxy.http_port", 7644);
|
||||||
this._prefs.setCharPref("network.proxy.ssl", "127.0.0.1");
|
this._prefs.setCharPref("network.proxy.ssl", "127.0.0.1");
|
||||||
this._prefs.setIntPref("network.proxy.ssl_port", 14444);
|
this._prefs.setIntPref("network.proxy.ssl_port", 7644);
|
||||||
this._prefs.setCharPref("network.proxy.ftp", "127.0.0.1");
|
this._prefs.setCharPref("network.proxy.ftp", "127.0.0.1");
|
||||||
this._prefs.setIntPref("network.proxy.ftp_port", 14444);
|
this._prefs.setIntPref("network.proxy.ftp_port", 7644);
|
||||||
this._prefs.setCharPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
|
this._prefs.setCharPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
|
||||||
|
|
||||||
// Force prefs to be synced to disk
|
// Force prefs to be synced to disk
|
||||||
|
@@ -56,7 +56,7 @@ pref("browser.startup.homepage", "chrome://i2pbutton/content/locale/non-localize
|
|||||||
pref("extensions.i2pbutton.start_i2p", true);
|
pref("extensions.i2pbutton.start_i2p", true);
|
||||||
pref("extensions.i2pbutton.kill_router_on_exit", true);
|
pref("extensions.i2pbutton.kill_router_on_exit", true);
|
||||||
pref("extensions.i2pbutton.console_host", "127.0.0.1");
|
pref("extensions.i2pbutton.console_host", "127.0.0.1");
|
||||||
pref("extensions.i2pbutton.console_port_i2pj", 17657);
|
pref("extensions.i2pbutton.console_port_i2pj", 7647);
|
||||||
pref("extensions.i2pbutton.console_port_i2pd", 17070);
|
pref("extensions.i2pbutton.console_port_i2pd", 17070);
|
||||||
|
|
||||||
// I2P Implementation
|
// I2P Implementation
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
<em:name>I2pbutton</em:name>
|
<em:name>I2pbutton</em:name>
|
||||||
<em:creator>Meeh, Mikal Villa</em:creator>
|
<em:creator>Meeh, Mikal Villa</em:creator>
|
||||||
<em:id>i2pbutton@geti2p.net</em:id>
|
<em:id>i2pbutton@geti2p.net</em:id>
|
||||||
<em:version>0.3.6</em:version>
|
<em:version>0.3.7</em:version>
|
||||||
<em:multiprocessCompatible>true</em:multiprocessCompatible>
|
<em:multiprocessCompatible>true</em:multiprocessCompatible>
|
||||||
<em:homepageURL>https://geti2p.net/en/download/lab</em:homepageURL>
|
<em:homepageURL>https://geti2p.net/en/download/lab</em:homepageURL>
|
||||||
<em:iconURL>chrome://i2pbutton/skin/i2p.png</em:iconURL>
|
<em:iconURL>chrome://i2pbutton/skin/i2p.png</em:iconURL>
|
||||||
|
Reference in New Issue
Block a user