1 Commits

Author SHA1 Message Date
idk
80c66ba2f7 Auto-proxy on sites that specify a port 2021-12-28 20:13:12 -05: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) {