new release
This commit is contained in:
2
Makefile
2
Makefile
@@ -20,7 +20,7 @@ uninstall:
|
||||
clobber:
|
||||
rm -f ../i2psetproxy.js.zip ../i2p_proxy*.xpi
|
||||
|
||||
VERSION=1.16
|
||||
VERSION=1.17
|
||||
|
||||
xpi:
|
||||
mv ~/Downloads/i2p_proxy-$(VERSION)-an+fx.xpi ../i2psetproxy.js@eyedeekay.github.io.xpi
|
||||
|
||||
Binary file not shown.
@@ -8,7 +8,7 @@
|
||||
"permissions": ["theme", "proxy", "privacy", "storage"],
|
||||
"manifest_version": 2,
|
||||
"name": "__MSG_extensionName__",
|
||||
"version": "1.16",
|
||||
"version": "1.17",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"icons": {
|
||||
"48": "icons/toopie.png"
|
||||
|
||||
@@ -83,7 +83,12 @@ function onError(e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
var controlHost = "127.0.0.1" //getControlHost()
|
||||
var controlPort = "7951" //getControlPort();
|
||||
|
||||
function setupProxy() {
|
||||
var controlHost = getControlHost();
|
||||
var controlPort = getControlPort();
|
||||
if (isFirefox()) {
|
||||
if (getScheme() == "http") {
|
||||
var proxySettings = {
|
||||
@@ -170,7 +175,7 @@ function updateUI(restoredSettings) {
|
||||
const controlportitem = document.getElementById("controlport")
|
||||
controlportitem.value = restoredSettings.control_port
|
||||
console.log("showing control port:", controlportitem.value)
|
||||
|
||||
setupProxy()
|
||||
}
|
||||
|
||||
function SetHostText(){
|
||||
@@ -219,10 +224,8 @@ SetControlHelpText()
|
||||
|
||||
function RefreshIdentity(){
|
||||
console.log("Generating new identity")
|
||||
const controlhost = getControlHost();
|
||||
const controlport = getControlPort();
|
||||
const Http = new XMLHttpRequest();
|
||||
const url='http://' + controlhost + ":" + controlport
|
||||
const url='http://' + controlHost + ":" + controlPort
|
||||
Http.open("GET", url);
|
||||
Http.send();
|
||||
Http.onreadystatechange=(e)=>{
|
||||
|
||||
Reference in New Issue
Block a user