Merge branch 'innet-updates' into 'master'

Auto-proxy on sites that specify a port

See merge request idk/I2P-in-Private-Browsing-Mode-Firefox!26
This commit is contained in:
idk
2021-12-29 01:15:38 +00:00
6 changed files with 13 additions and 10 deletions

View File

@@ -37,11 +37,11 @@ clean: rc clean-artifacts
## EVEN RELEASES are AMO RELEASES
## ODD RELEASES are SELFHOSTED RELEASES
MOZ_VERSION=0.126
VERSION=0.125
MOZ_VERSION=0.128
VERSION=0.127
## INCREMENT THIS EVERY TIME YOU DO A RELEASE
LAST_VERSION=0.123
LAST_VERSION=0.125
YELLOW=F7E59A
ORANGE=FFC56D

View File

@@ -20,7 +20,7 @@
"description": "Description of the extension."
},
"extensionVersion": {
"message": "0.108",
"message": "1.28",
"description": "Version of the extension."
},
"proxyFailedStatus": {

View File

@@ -20,7 +20,7 @@
"description": "Descripción de la extensión."
},
"extensionVersion": {
"message": "0.108",
"message": "1.28",
"description": "Versión de la extensión."
},
"proxyFailedStatus": {

View File

@@ -95,7 +95,8 @@ function i2pHostName(url) {
function i2pHost(url) {
let hostname = i2pHostName(url);
return hostname.endsWith(".i2p");
let postname = hostname.split(":")[0]
return postname.endsWith(".i2p");
}
function routerHost(url) {

View File

@@ -2,7 +2,8 @@
"browser_specific_settings": {
"gecko": {
"id": "i2ppb@eyedeekay.github.io",
"strict_min_version": "91.1.0"
"strict_min_version": "91.1.0",
"update_url": "https://thiswillneedtobeaneephttpdbase32address.b32.i2p/updates.json"
}
},
"permissions": [

View File

@@ -446,10 +446,11 @@ function i2pHostName(url) {
function i2pHost(url) {
let hostname = i2pHostName(url);
if (hostname.endsWith(".i2p")) {
console.log("(hostname) i2p", hostname);
let postname = hostname.split(":")[0];
if (postname.endsWith(".i2p")) {
console.log("(hostname) i2p", postname);
}
return hostname.endsWith(".i2p");
return postname.endsWith(".i2p");
}
function onContextGotLog(contexts) {