fix some typos
This commit is contained in:
parent
0333efdab8
commit
663c61e0f2
|
@ -172,8 +172,10 @@ function initDefaults() {
|
||||||
libremdbTorRedirectsChecks: [...redirects.libremdb.tor],
|
libremdbTorRedirectsChecks: [...redirects.libremdb.tor],
|
||||||
libremdbTorCustomRedirects: [],
|
libremdbTorCustomRedirects: [],
|
||||||
|
|
||||||
|
libremdbI2pRedirectsChecks: [],
|
||||||
libremdbI2pCustomRedirects: [],
|
libremdbI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
libremdbLokiRedirectsChecks: [],
|
||||||
libremdbLokiCustomRedirects: []
|
libremdbLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
});
|
});
|
||||||
|
|
|
@ -194,6 +194,7 @@ function initDefaults() {
|
||||||
rimgoI2pRedirectsChecks: [...redirects.rimgo.i2p],
|
rimgoI2pRedirectsChecks: [...redirects.rimgo.i2p],
|
||||||
rimgoI2pCustomRedirects: [],
|
rimgoI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
rimgoLokiRedirectsChecks: [...redirects.rimgo.loki],
|
||||||
rimgoLokiCustomRedirects: []
|
rimgoLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
});
|
});
|
||||||
|
|
|
@ -173,13 +173,15 @@ function initDefaults() {
|
||||||
instagramRedirects: redirects,
|
instagramRedirects: redirects,
|
||||||
|
|
||||||
bibliogramNormalRedirectsChecks: bibliogramNormalRedirectsChecks,
|
bibliogramNormalRedirectsChecks: bibliogramNormalRedirectsChecks,
|
||||||
bibliogramTorRedirectsChecks: [],
|
bibliogramNormalCustomRedirects: [],
|
||||||
|
|
||||||
bibliogramNormalCustomRedirects: [...redirects.bibliogram.tor],
|
bibliogramTorRedirectsChecks: [...redirects.bibliogram.tor],
|
||||||
bibliogramTorCustomRedirects: [],
|
bibliogramTorCustomRedirects: [],
|
||||||
|
|
||||||
|
bibliogramI2pRedirectsChecks: [...redirects.bibliogram.i2p],
|
||||||
bibliogramI2pCustomRedirects: [],
|
bibliogramI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
bibliogramLokiRedirectsChecks: [...redirects.bibliogram.loki],
|
||||||
bibliogramLokiCustomRedirects: []
|
bibliogramLokiCustomRedirects: []
|
||||||
})
|
})
|
||||||
resolve();
|
resolve();
|
||||||
|
|
|
@ -40,6 +40,7 @@ let
|
||||||
librarianNormalCustomRedirects,
|
librarianNormalCustomRedirects,
|
||||||
librarianTorRedirectsChecks,
|
librarianTorRedirectsChecks,
|
||||||
librarianTorCustomRedirects,
|
librarianTorCustomRedirects,
|
||||||
|
librarianI2pRedirectsChecks,
|
||||||
librarianI2pCustomRedirects,
|
librarianI2pCustomRedirects,
|
||||||
librarianLokiCustomRedirects;
|
librarianLokiCustomRedirects;
|
||||||
|
|
||||||
|
@ -55,6 +56,7 @@ function init() {
|
||||||
"librarianNormalCustomRedirects",
|
"librarianNormalCustomRedirects",
|
||||||
"librarianTorRedirectsChecks",
|
"librarianTorRedirectsChecks",
|
||||||
"librarianTorCustomRedirects",
|
"librarianTorCustomRedirects",
|
||||||
|
"librarianI2pRedirectsChecks",
|
||||||
"librarianI2pCustomRedirects",
|
"librarianI2pCustomRedirects",
|
||||||
"librarianLokiCustomRedirects"
|
"librarianLokiCustomRedirects"
|
||||||
],
|
],
|
||||||
|
@ -67,6 +69,7 @@ function init() {
|
||||||
librarianNormalCustomRedirects = r.librarianNormalCustomRedirects;
|
librarianNormalCustomRedirects = r.librarianNormalCustomRedirects;
|
||||||
librarianTorRedirectsChecks = r.librarianTorRedirectsChecks;
|
librarianTorRedirectsChecks = r.librarianTorRedirectsChecks;
|
||||||
librarianTorCustomRedirects = r.librarianTorCustomRedirects;
|
librarianTorCustomRedirects = r.librarianTorCustomRedirects;
|
||||||
|
librarianI2pRedirectsChecks = r.librarianI2pRedirectsChecks;
|
||||||
librarianI2pCustomRedirects = r.librarianI2pCustomRedirects;
|
librarianI2pCustomRedirects = r.librarianI2pCustomRedirects;
|
||||||
librarianLokiCustomRedirects = r.librarianLokiCustomRedirects;
|
librarianLokiCustomRedirects = r.librarianLokiCustomRedirects;
|
||||||
resolve();
|
resolve();
|
||||||
|
@ -140,17 +143,18 @@ function initDefaults() {
|
||||||
}
|
}
|
||||||
browser.storage.local.set({
|
browser.storage.local.set({
|
||||||
disableLbryTargets: true,
|
disableLbryTargets: true,
|
||||||
|
|
||||||
lbryTargetsRedirects: redirects,
|
lbryTargetsRedirects: redirects,
|
||||||
|
|
||||||
librarianNormalRedirectsChecks: librarianNormalRedirectsChecks,
|
librarianNormalRedirectsChecks: [...redirects.librarian.normal],
|
||||||
librarianNormalCustomRedirects: [],
|
librarianNormalCustomRedirects: [],
|
||||||
|
|
||||||
librarianTorRedirectsChecks: [...redirects.librarian.tor],
|
librarianTorRedirectsChecks: [...redirects.librarian.tor],
|
||||||
librarianTorCustomRedirects: [],
|
librarianTorCustomRedirects: [],
|
||||||
|
|
||||||
|
librarianI2pRedirectsChecks: [...redirects.librarian.i2p],
|
||||||
librarianI2pCustomRedirects: [],
|
librarianI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
librarianLokiRedirectsChecks: [...redirects.librarian.loki],
|
||||||
librarianLokiCustomRedirects: []
|
librarianLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
});
|
});
|
||||||
|
|
|
@ -228,10 +228,13 @@ async function initDefaults() {
|
||||||
facilNormalRedirectsChecks: [...redirects.facil.normal],
|
facilNormalRedirectsChecks: [...redirects.facil.normal],
|
||||||
facilNormalCustomRedirects: [],
|
facilNormalCustomRedirects: [],
|
||||||
|
|
||||||
|
facilTorRedirectsChecks: [...redirects.facil.tor],
|
||||||
facilTorCustomRedirects: [],
|
facilTorCustomRedirects: [],
|
||||||
|
|
||||||
|
facilI2pRedirectsChecks: [...redirects.facil.i2p],
|
||||||
facilI2pCustomRedirects: [],
|
facilI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
facilLokiRedirectsChecks: [...redirects.facil.loki],
|
||||||
facilLokiCustomRedirects: []
|
facilLokiCustomRedirects: []
|
||||||
}, () => resolve())
|
}, () => resolve())
|
||||||
)
|
)
|
||||||
|
|
|
@ -188,8 +188,10 @@ function initDefaults() {
|
||||||
scribeTorRedirectsChecks: [...redirects.scribe.tor],
|
scribeTorRedirectsChecks: [...redirects.scribe.tor],
|
||||||
scribeTorCustomRedirects: [],
|
scribeTorCustomRedirects: [],
|
||||||
|
|
||||||
|
scribeI2pRedirectsChecks: [...redirects.scribe.i2p],
|
||||||
scribeI2pCustomRedirects: [],
|
scribeI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
scribeLokiRedirectsChecks: [...redirects.scribe.loki],
|
||||||
scribeLokiCustomRedirects: []
|
scribeLokiCustomRedirects: []
|
||||||
}, () => resolve())
|
}, () => resolve())
|
||||||
})
|
})
|
||||||
|
|
|
@ -11,7 +11,9 @@ let redirects = {
|
||||||
"https://st.phreedom.club",
|
"https://st.phreedom.club",
|
||||||
"https://simpleertube.esmailelbob.xyz",
|
"https://simpleertube.esmailelbob.xyz",
|
||||||
],
|
],
|
||||||
"tor": []
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function setRedirects(val) {
|
function setRedirects(val) {
|
||||||
|
@ -159,8 +161,10 @@ function initDefaults() {
|
||||||
simpleertubeTorRedirectsChecks: [...redirects.simpleertube.tor],
|
simpleertubeTorRedirectsChecks: [...redirects.simpleertube.tor],
|
||||||
simpleertubeTorCustomRedirects: [],
|
simpleertubeTorCustomRedirects: [],
|
||||||
|
|
||||||
|
simpleertubeI2pRedirectsChecks: [...redirects.simpleertube.i2p],
|
||||||
simpleertubeI2pCustomRedirects: [],
|
simpleertubeI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
simpleertubeLokiRedirectsChecks: [...redirects.simpleertube.loki],
|
||||||
simpleertubeLokiCustomRedirects: []
|
simpleertubeLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
})
|
})
|
||||||
|
|
|
@ -173,8 +173,10 @@ function initDefaults() {
|
||||||
quetreTorRedirectsChecks: [...redirects.quetre.tor],
|
quetreTorRedirectsChecks: [...redirects.quetre.tor],
|
||||||
quetreTorCustomRedirects: [],
|
quetreTorCustomRedirects: [],
|
||||||
|
|
||||||
|
quetreI2pRedirectsChecks: [...redirects.quetre.i2p],
|
||||||
quetreI2pCustomRedirects: [],
|
quetreI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
quetreLokiRedirectsChecks: [...redirects.quetre.loki],
|
||||||
quetreLokiCustomRedirects: []
|
quetreLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
});
|
});
|
||||||
|
|
|
@ -12,10 +12,10 @@ const frontends = new Array("libreddit", "teddit")
|
||||||
const protocols = new Array("normal", "tor", "i2p", "loki")
|
const protocols = new Array("normal", "tor", "i2p", "loki")
|
||||||
|
|
||||||
for (let i = 0; i < frontends.length; i++) {
|
for (let i = 0; i < frontends.length; i++) {
|
||||||
redirects[frontends[i]] = {}
|
redirects[frontends[i]] = {}
|
||||||
for (let x = 0; x < protocols.length; x++) {
|
for (let x = 0; x < protocols.length; x++) {
|
||||||
redirects[frontends[i]][protocols[x]] = []
|
redirects[frontends[i]][protocols[x]] = []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function setRedirects(val) {
|
function setRedirects(val) {
|
||||||
|
@ -44,16 +44,23 @@ let
|
||||||
redditRedirects,
|
redditRedirects,
|
||||||
protocol,
|
protocol,
|
||||||
protocolFallback,
|
protocolFallback,
|
||||||
|
|
||||||
libredditNormalRedirectsChecks,
|
libredditNormalRedirectsChecks,
|
||||||
libredditNormalCustomRedirects,
|
libredditNormalCustomRedirects,
|
||||||
|
|
||||||
libredditTorRedirectsChecks,
|
libredditTorRedirectsChecks,
|
||||||
libredditTorCustomRedirects,
|
libredditTorCustomRedirects,
|
||||||
|
|
||||||
libredditI2pCustomRedirects,
|
libredditI2pCustomRedirects,
|
||||||
|
|
||||||
libredditLokiCustomRedirects,
|
libredditLokiCustomRedirects,
|
||||||
|
|
||||||
tedditNormalRedirectsChecks,
|
tedditNormalRedirectsChecks,
|
||||||
tedditNormalCustomRedirects,
|
tedditNormalCustomRedirects,
|
||||||
|
|
||||||
tedditTorRedirectsChecks,
|
tedditTorRedirectsChecks,
|
||||||
tedditTorCustomRedirects,
|
tedditTorCustomRedirects,
|
||||||
|
|
||||||
tedditI2pCustomRedirects,
|
tedditI2pCustomRedirects,
|
||||||
tedditLokiCustomRedirects;
|
tedditLokiCustomRedirects;
|
||||||
|
|
||||||
|
@ -411,8 +418,10 @@ function initDefaults() {
|
||||||
libredditTorRedirectsChecks: [...redirects.libreddit.tor],
|
libredditTorRedirectsChecks: [...redirects.libreddit.tor],
|
||||||
libredditTorCustomRedirects: [],
|
libredditTorCustomRedirects: [],
|
||||||
|
|
||||||
|
libredditI2pRedirectsChecks: [...redirects.libreddit.i2p],
|
||||||
libredditI2pCustomRedirects: [],
|
libredditI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
libredditLokiRedirectsChecks: [...redirects.libreddit.loki],
|
||||||
libredditLokiCustomRedirects: [],
|
libredditLokiCustomRedirects: [],
|
||||||
|
|
||||||
tedditNormalRedirectsChecks: tedditNormalRedirectsChecks,
|
tedditNormalRedirectsChecks: tedditNormalRedirectsChecks,
|
||||||
|
@ -421,8 +430,10 @@ function initDefaults() {
|
||||||
tedditTorRedirectsChecks: [...redirects.teddit.tor],
|
tedditTorRedirectsChecks: [...redirects.teddit.tor],
|
||||||
tedditTorCustomRedirects: [],
|
tedditTorCustomRedirects: [],
|
||||||
|
|
||||||
|
tedditI2pRedirectsChecks: [...redirects.teddit.i2p],
|
||||||
tedditI2pCustomRedirects: [],
|
tedditI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
tedditLokiRedirectsChecks: [...redirects.teddit.loki],
|
||||||
tedditLokiCustomRedirects: []
|
tedditLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
});
|
});
|
||||||
|
|
|
@ -136,8 +136,10 @@ function initDefaults() {
|
||||||
neutersTorRedirectsChecks: [...redirects.neuters.tor],
|
neutersTorRedirectsChecks: [...redirects.neuters.tor],
|
||||||
neutersTorCustomRedirects: [],
|
neutersTorCustomRedirects: [],
|
||||||
|
|
||||||
|
neutersI2pRedirectsChecks: [...redirects.neuters.i2p],
|
||||||
neutersI2pCustomRedirects: [],
|
neutersI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
neutersLokiRedirectsChecks: [...redirects.neuters.loki],
|
||||||
neutersLokiCustomRedirects: []
|
neutersLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
});
|
});
|
||||||
|
|
|
@ -613,9 +613,9 @@ function initDefaults() {
|
||||||
whoogleI2pRedirectsChecks: [...redirects.whoogle.i2p],
|
whoogleI2pRedirectsChecks: [...redirects.whoogle.i2p],
|
||||||
whoogleI2pCustomRedirects: [],
|
whoogleI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
whoogleLokiRedirectsChecks: [...redirects.whoogle.loki],
|
||||||
whoogleLokiCustomRedirects: [],
|
whoogleLokiCustomRedirects: [],
|
||||||
|
|
||||||
|
|
||||||
searxNormalRedirectsChecks: searxNormalRedirectsChecks,
|
searxNormalRedirectsChecks: searxNormalRedirectsChecks,
|
||||||
searxNormalCustomRedirects: [],
|
searxNormalCustomRedirects: [],
|
||||||
|
|
||||||
|
@ -625,9 +625,9 @@ function initDefaults() {
|
||||||
searxI2pRedirectsChecks: [...redirects.searx.i2p],
|
searxI2pRedirectsChecks: [...redirects.searx.i2p],
|
||||||
searxI2pCustomRedirects: [],
|
searxI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
searxLokiRedirectsChecks: [...redirects.searx.loki],
|
||||||
searxLokiCustomRedirects: [],
|
searxLokiCustomRedirects: [],
|
||||||
|
|
||||||
|
|
||||||
searxngNormalRedirectsChecks: searxngNormalRedirectsChecks,
|
searxngNormalRedirectsChecks: searxngNormalRedirectsChecks,
|
||||||
searxngNormalCustomRedirects: [],
|
searxngNormalCustomRedirects: [],
|
||||||
|
|
||||||
|
@ -637,9 +637,9 @@ function initDefaults() {
|
||||||
searxngI2pRedirectsChecks: [...redirects.searxng.i2p],
|
searxngI2pRedirectsChecks: [...redirects.searxng.i2p],
|
||||||
searxngI2pCustomRedirects: [],
|
searxngI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
searxngLokiRedirectsChecks: [...redirects.searxng.loki],
|
||||||
searxngLokiCustomRedirects: [],
|
searxngLokiCustomRedirects: [],
|
||||||
|
|
||||||
|
|
||||||
librexNormalRedirectsChecks: librexNormalRedirectsChecks,
|
librexNormalRedirectsChecks: librexNormalRedirectsChecks,
|
||||||
librexNormalCustomRedirects: [],
|
librexNormalCustomRedirects: [],
|
||||||
|
|
||||||
|
@ -649,6 +649,7 @@ function initDefaults() {
|
||||||
librexI2pRedirectsChecks: [...redirects.librex.i2p],
|
librexI2pRedirectsChecks: [...redirects.librex.i2p],
|
||||||
librexI2pCustomRedirects: [],
|
librexI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
librexLokiRedirectsChecks: [...redirects.librex.loki],
|
||||||
librexLokiCustomRedirects: []
|
librexLokiCustomRedirects: []
|
||||||
}, () => resolve())
|
}, () => resolve())
|
||||||
})
|
})
|
||||||
|
|
|
@ -161,8 +161,10 @@ function initDefaults() {
|
||||||
sendTorRedirectsChecks: [...redirects.send.tor],
|
sendTorRedirectsChecks: [...redirects.send.tor],
|
||||||
sendTorCustomRedirects: [],
|
sendTorCustomRedirects: [],
|
||||||
|
|
||||||
|
sendI2pRedirectsChecks: [...redirects.send.i2p],
|
||||||
sendI2pCustomRedirects: [],
|
sendI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
sendLokiRedirectsChecks: [...redirects.send.loki],
|
||||||
sendLokiCustomRedirects: []
|
sendLokiCustomRedirects: []
|
||||||
}, () => resolve())
|
}, () => resolve())
|
||||||
})
|
})
|
||||||
|
|
|
@ -219,8 +219,10 @@ function initDefaults() {
|
||||||
proxiTokTorRedirectsChecks: [...redirects.proxiTok.tor],
|
proxiTokTorRedirectsChecks: [...redirects.proxiTok.tor],
|
||||||
proxiTokTorCustomRedirects: [],
|
proxiTokTorCustomRedirects: [],
|
||||||
|
|
||||||
|
proxiTokI2pRedirectsChecks: [...redirects.proxiTok.i2p],
|
||||||
proxiTokI2pCustomRedirects: [],
|
proxiTokI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
proxiTokLokiRedirectsChecks: [...redirects.proxiTok.loki],
|
||||||
proxiTokLokiCustomRedirects: []
|
proxiTokLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
});
|
});
|
||||||
|
|
|
@ -340,18 +340,26 @@ function initDefaults() {
|
||||||
|
|
||||||
simplyTranslateNormalRedirectsChecks: [...redirects.simplyTranslate.normal],
|
simplyTranslateNormalRedirectsChecks: [...redirects.simplyTranslate.normal],
|
||||||
simplyTranslateNormalCustomRedirects: [],
|
simplyTranslateNormalCustomRedirects: [],
|
||||||
|
|
||||||
simplyTranslateTorRedirectsChecks: [...redirects.simplyTranslate.tor],
|
simplyTranslateTorRedirectsChecks: [...redirects.simplyTranslate.tor],
|
||||||
simplyTranslateTorCustomRedirects: [],
|
simplyTranslateTorCustomRedirects: [],
|
||||||
|
|
||||||
simplyTranslateI2pRedirectsChecks: [...redirects.simplyTranslate.i2p],
|
simplyTranslateI2pRedirectsChecks: [...redirects.simplyTranslate.i2p],
|
||||||
simplyTranslateI2pCustomRedirects: [],
|
simplyTranslateI2pCustomRedirects: [],
|
||||||
|
|
||||||
simplyTranslateLokiRedirectsChecks: [...redirects.simplyTranslate.loki],
|
simplyTranslateLokiRedirectsChecks: [...redirects.simplyTranslate.loki],
|
||||||
simplyTranslateLokiCustomRedirects: [],
|
simplyTranslateLokiCustomRedirects: [],
|
||||||
|
|
||||||
lingvaNormalRedirectsChecks: lingvaNormalRedirectsChecks,
|
lingvaNormalRedirectsChecks: lingvaNormalRedirectsChecks,
|
||||||
lingvaNormalCustomRedirects: [],
|
lingvaNormalCustomRedirects: [],
|
||||||
|
|
||||||
lingvaTorRedirectsChecks: [...redirects.lingva.tor],
|
lingvaTorRedirectsChecks: [...redirects.lingva.tor],
|
||||||
lingvaTorCustomRedirects: [],
|
lingvaTorCustomRedirects: [],
|
||||||
|
|
||||||
|
lingvaI2pRedirectsChecks: [...redirects.lingva.i2p],
|
||||||
lingvaI2pCustomRedirects: [],
|
lingvaI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
lingvaLokiRedirectsChecks: [...redirects.lingva.loki],
|
||||||
lingvaLokiCustomRedirects: []
|
lingvaLokiCustomRedirects: []
|
||||||
}, () => resolve())
|
}, () => resolve())
|
||||||
})
|
})
|
||||||
|
|
|
@ -278,8 +278,10 @@ function initDefaults() {
|
||||||
nitterTorRedirectsChecks: [...redirects.nitter.tor],
|
nitterTorRedirectsChecks: [...redirects.nitter.tor],
|
||||||
nitterTorCustomRedirects: [],
|
nitterTorCustomRedirects: [],
|
||||||
|
|
||||||
|
nitterI2pRedirectsChecks: [...redirects.nitter.i2p],
|
||||||
nitterI2pCustomRedirects: [],
|
nitterI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
nitterLokiRedirectsChecks: [...redirects.nitter.loki],
|
||||||
nitterLokiCustomRedirects: []
|
nitterLokiCustomRedirects: []
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
})
|
})
|
||||||
|
|
|
@ -92,7 +92,7 @@ async function processDefaultCustomInstances(target, name, protocol, document) {
|
||||||
let redirects;
|
let redirects;
|
||||||
|
|
||||||
async function getFromStorage() {
|
async function getFromStorage() {
|
||||||
return new Promise(async resolve => {
|
return new Promise(async resolve =>
|
||||||
browser.storage.local.get(
|
browser.storage.local.get(
|
||||||
[
|
[
|
||||||
redirectsChecks,
|
redirectsChecks,
|
||||||
|
@ -108,9 +108,11 @@ async function processDefaultCustomInstances(target, name, protocol, document) {
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
})
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
await getFromStorage();
|
await getFromStorage();
|
||||||
|
if (nameCustomInstances === undefined) console.log(customRedirects);
|
||||||
|
|
||||||
function calcNameCheckBoxes() {
|
function calcNameCheckBoxes() {
|
||||||
let isTrue = true;
|
let isTrue = true;
|
||||||
|
|
|
@ -217,13 +217,19 @@ function initDefaults() {
|
||||||
browser.storage.local.set({
|
browser.storage.local.set({
|
||||||
disableWikipedia: true,
|
disableWikipedia: true,
|
||||||
wikipediaRedirects: redirects,
|
wikipediaRedirects: redirects,
|
||||||
|
|
||||||
wikilessNormalRedirectsChecks: wikilessNormalRedirectsChecks,
|
wikilessNormalRedirectsChecks: wikilessNormalRedirectsChecks,
|
||||||
wikilessTorRedirectsChecks: [...redirects.wikiless.tor],
|
|
||||||
wikilessI2pRedirectsChecks: [...redirects.wikiless.i2p],
|
|
||||||
wikilessNormalCustomRedirects: [],
|
wikilessNormalCustomRedirects: [],
|
||||||
|
|
||||||
|
wikilessTorRedirectsChecks: [...redirects.wikiless.tor],
|
||||||
wikilessTorCustomRedirects: [],
|
wikilessTorCustomRedirects: [],
|
||||||
|
|
||||||
|
wikilessI2pRedirectsChecks: [...redirects.wikiless.i2p],
|
||||||
wikilessI2pCustomRedirects: [],
|
wikilessI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
wikilessLokiRedirectsChecks: [...redirects.wikiless.loki],
|
||||||
wikilessLokiCustomRedirects: []
|
wikilessLokiCustomRedirects: []
|
||||||
|
|
||||||
}, () => resolve());
|
}, () => resolve());
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -23,10 +23,10 @@ const protocols = new Array("normal", "tor", "i2p", "loki")
|
||||||
let redirects = {};
|
let redirects = {};
|
||||||
|
|
||||||
for (let i = 0; i < frontends.length; i++) {
|
for (let i = 0; i < frontends.length; i++) {
|
||||||
redirects[frontends[i]] = {}
|
redirects[frontends[i]] = {}
|
||||||
for (let x = 0; x < protocols.length; x++) {
|
for (let x = 0; x < protocols.length; x++) {
|
||||||
redirects[frontends[i]][protocols[x]] = []
|
redirects[frontends[i]][protocols[x]] = []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function setRedirects(val) {
|
function setRedirects(val) {
|
||||||
|
@ -81,7 +81,7 @@ let
|
||||||
pipedLokiCustomRedirects,
|
pipedLokiCustomRedirects,
|
||||||
pipedMaterialNormalRedirectsChecks,
|
pipedMaterialNormalRedirectsChecks,
|
||||||
pipedMaterialNormalCustomRedirects,
|
pipedMaterialNormalCustomRedirects,
|
||||||
// pipedMaterialTorRedirectsChecks,
|
pipedMaterialTorRedirectsChecks,
|
||||||
pipedMaterialTorCustomRedirects,
|
pipedMaterialTorCustomRedirects,
|
||||||
pipedMaterialI2pCustomRedirects,
|
pipedMaterialI2pCustomRedirects,
|
||||||
pipedMaterialLokiCustomRedirects;
|
pipedMaterialLokiCustomRedirects;
|
||||||
|
@ -111,7 +111,7 @@ function init() {
|
||||||
"pipedLokiCustomRedirects",
|
"pipedLokiCustomRedirects",
|
||||||
"pipedMaterialNormalRedirectsChecks",
|
"pipedMaterialNormalRedirectsChecks",
|
||||||
"pipedMaterialNormalCustomRedirects",
|
"pipedMaterialNormalCustomRedirects",
|
||||||
// "pipedMaterialTorRedirectsChecks",
|
"pipedMaterialTorRedirectsChecks",
|
||||||
"pipedMaterialTorCustomRedirects",
|
"pipedMaterialTorCustomRedirects",
|
||||||
"pipedMaterialI2pCustomRedirects",
|
"pipedMaterialI2pCustomRedirects",
|
||||||
"pipedMaterialLokiCustomRedirects"
|
"pipedMaterialLokiCustomRedirects"
|
||||||
|
@ -138,7 +138,7 @@ function init() {
|
||||||
pipedLokiCustomRedirects = r.pipedLokiCustomRedirects;
|
pipedLokiCustomRedirects = r.pipedLokiCustomRedirects;
|
||||||
pipedMaterialNormalRedirectsChecks = r.pipedMaterialNormalRedirectsChecks;
|
pipedMaterialNormalRedirectsChecks = r.pipedMaterialNormalRedirectsChecks;
|
||||||
pipedMaterialNormalCustomRedirects = r.pipedMaterialNormalCustomRedirects;
|
pipedMaterialNormalCustomRedirects = r.pipedMaterialNormalCustomRedirects;
|
||||||
// pipedMaterialTorRedirectsChecks = r.pipedMaterialTorRedirectsChecks;
|
pipedMaterialTorRedirectsChecks = r.pipedMaterialTorRedirectsChecks;
|
||||||
pipedMaterialTorCustomRedirects = r.pipedMaterialTorCustomRedirects;
|
pipedMaterialTorCustomRedirects = r.pipedMaterialTorCustomRedirects;
|
||||||
pipedMaterialI2pCustomRedirects - r.pipedMaterialI2pCustomRedirects;
|
pipedMaterialI2pCustomRedirects - r.pipedMaterialI2pCustomRedirects;
|
||||||
pipedMaterialLokiCustomRedirects = r.pipedMaterialLokiCustomRedirects;
|
pipedMaterialLokiCustomRedirects = r.pipedMaterialLokiCustomRedirects;
|
||||||
|
@ -160,7 +160,7 @@ function all() {
|
||||||
...youtubeRedirects.piped.tor,
|
...youtubeRedirects.piped.tor,
|
||||||
|
|
||||||
...youtubeRedirects.pipedMaterial.normal,
|
...youtubeRedirects.pipedMaterial.normal,
|
||||||
//...youtubeRedirects.pipedMaterial.tor,
|
...youtubeRedirects.pipedMaterial.tor,
|
||||||
|
|
||||||
...invidiousNormalCustomRedirects,
|
...invidiousNormalCustomRedirects,
|
||||||
...invidiousTorCustomRedirects,
|
...invidiousTorCustomRedirects,
|
||||||
|
@ -320,9 +320,7 @@ function initDefaults() {
|
||||||
disableYoutube: false,
|
disableYoutube: false,
|
||||||
enableYoutubeCustomSettings: false,
|
enableYoutubeCustomSettings: false,
|
||||||
onlyEmbeddedVideo: 'both',
|
onlyEmbeddedVideo: 'both',
|
||||||
|
|
||||||
youtubeRedirects: redirects,
|
youtubeRedirects: redirects,
|
||||||
|
|
||||||
youtubeFrontend: 'invidious',
|
youtubeFrontend: 'invidious',
|
||||||
|
|
||||||
invidiousNormalRedirectsChecks: invidiousNormalRedirectsChecks,
|
invidiousNormalRedirectsChecks: invidiousNormalRedirectsChecks,
|
||||||
|
@ -331,8 +329,10 @@ function initDefaults() {
|
||||||
invidiousTorRedirectsChecks: [...redirects.invidious.tor],
|
invidiousTorRedirectsChecks: [...redirects.invidious.tor],
|
||||||
invidiousTorCustomRedirects: [],
|
invidiousTorCustomRedirects: [],
|
||||||
|
|
||||||
|
invidiousI2pRedirectsChecks: [...redirects.invidious.i2p],
|
||||||
invidiousI2pCustomRedirects: [],
|
invidiousI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
invidiousLokiRedirectsChecks: [...redirects.invidious.loki],
|
||||||
invidiousLokiCustomRedirects: [],
|
invidiousLokiCustomRedirects: [],
|
||||||
|
|
||||||
pipedNormalRedirectsChecks: pipedNormalRedirectsChecks,
|
pipedNormalRedirectsChecks: pipedNormalRedirectsChecks,
|
||||||
|
@ -341,18 +341,22 @@ function initDefaults() {
|
||||||
pipedTorRedirectsChecks: [...redirects.piped.tor],
|
pipedTorRedirectsChecks: [...redirects.piped.tor],
|
||||||
pipedTorCustomRedirects: [],
|
pipedTorCustomRedirects: [],
|
||||||
|
|
||||||
|
pipedI2pRedirectsChecks: [...redirects.piped.i2p],
|
||||||
pipedI2pCustomRedirects: [],
|
pipedI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
pipedLokiRedirectsChecks: [...redirects.piped.loki],
|
||||||
pipedLokiCustomRedirects: [],
|
pipedLokiCustomRedirects: [],
|
||||||
|
|
||||||
pipedMaterialNormalRedirectsChecks: pipedMaterialNormalRedirectsChecks,
|
pipedMaterialNormalRedirectsChecks: pipedMaterialNormalRedirectsChecks,
|
||||||
pipedMaterialNormalCustomRedirects: [],
|
pipedMaterialNormalCustomRedirects: [],
|
||||||
|
|
||||||
//pipedMaterialTorRedirectsChecks: [...redirects.pipedMaterial.tor],
|
pipedMaterialTorRedirectsChecks: [...redirects.pipedMaterial.tor],
|
||||||
pipedMaterialTorCustomRedirects: [],
|
pipedMaterialTorCustomRedirects: [],
|
||||||
|
|
||||||
|
pipedMaterialI2pRedirectsChecks: [...redirects.pipedMaterial.i2p],
|
||||||
pipedMaterialI2pCustomRedirects: [],
|
pipedMaterialI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
pipedMaterialLokiRedirectsChecks: [...redirects.pipedMaterial.loki],
|
||||||
pipedMaterialLokiCustomRedirects: [],
|
pipedMaterialLokiCustomRedirects: [],
|
||||||
|
|
||||||
youtubeEmbedFrontend: 'invidious'
|
youtubeEmbedFrontend: 'invidious'
|
||||||
|
|
|
@ -117,10 +117,13 @@ async function initDefaults() {
|
||||||
beatbumpNormalRedirectsChecks: [...redirects.beatbump.normal],
|
beatbumpNormalRedirectsChecks: [...redirects.beatbump.normal],
|
||||||
beatbumpNormalCustomRedirects: [],
|
beatbumpNormalCustomRedirects: [],
|
||||||
|
|
||||||
|
beatbumpTorRedirectsChecks: [...redirects.beatbump.tor],
|
||||||
beatbumpTorCustomRedirects: [],
|
beatbumpTorCustomRedirects: [],
|
||||||
|
|
||||||
|
beatbumpI2pRedirectsChecks: [...redirects.beatbump.i2p],
|
||||||
beatbumpI2pCustomRedirects: [],
|
beatbumpI2pCustomRedirects: [],
|
||||||
|
|
||||||
|
beatbumpLokiRedirectsChecks: [...redirects.beatbump.loki],
|
||||||
beatbumpLokiCustomRedirects: []
|
beatbumpLokiCustomRedirects: []
|
||||||
}, () => resolve())
|
}, () => resolve())
|
||||||
)
|
)
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
"https://search.garudalinux.org",
|
"https://search.garudalinux.org",
|
||||||
"https://search.dr460nf1r3.org",
|
"https://search.dr460nf1r3.org",
|
||||||
"https://search.wef.lol",
|
"https://search.wef.lol",
|
||||||
"https://librex.catalyst.sx",
|
|
||||||
"https://i.actionsack.com",
|
"https://i.actionsack.com",
|
||||||
"https://rimgo.encrypted-data.xyz"
|
"https://rimgo.encrypted-data.xyz"
|
||||||
],
|
],
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
"https://inv.vern.cc",
|
"https://inv.vern.cc",
|
||||||
"https://invidious.nerdvpn.de",
|
"https://invidious.nerdvpn.de",
|
||||||
"https://invidious.slipfox.xyz",
|
"https://invidious.slipfox.xyz",
|
||||||
"https://invidious.weblibre.org",
|
|
||||||
"https://invidious.esmailelbob.xyz",
|
|
||||||
"https://youtube.076.ne.jp",
|
"https://youtube.076.ne.jp",
|
||||||
|
"https://invidious.esmailelbob.xyz",
|
||||||
|
"https://invidious.weblibre.org",
|
||||||
"https://invidious.namazso.eu"
|
"https://invidious.namazso.eu"
|
||||||
],
|
],
|
||||||
"tor": [
|
"tor": [
|
||||||
|
@ -32,7 +32,9 @@
|
||||||
"http://euxxcnhsynwmfidvhjf6uzptsmh4dipkmgdmcmxxuo7tunp3ad2jrwyd.onion",
|
"http://euxxcnhsynwmfidvhjf6uzptsmh4dipkmgdmcmxxuo7tunp3ad2jrwyd.onion",
|
||||||
"http://invidious.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion",
|
"http://invidious.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion",
|
||||||
"http://inv.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
|
"http://inv.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
|
||||||
]
|
],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"piped": {
|
"piped": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -51,7 +53,9 @@
|
||||||
],
|
],
|
||||||
"tor": [
|
"tor": [
|
||||||
"http://piped2bbch4xslbl2ckr6k62q56kon56ffowxaqzy42ai22a4sash3ad.onion"
|
"http://piped2bbch4xslbl2ckr6k62q56kon56ffowxaqzy42ai22a4sash3ad.onion"
|
||||||
]
|
],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"pipedMaterial": {
|
"pipedMaterial": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -59,15 +63,21 @@
|
||||||
"https://piped-material.ftp.sh",
|
"https://piped-material.ftp.sh",
|
||||||
"https://piped-staging.ftp.sh",
|
"https://piped-staging.ftp.sh",
|
||||||
"https://ui.piped.১.net"
|
"https://ui.piped.১.net"
|
||||||
]
|
],
|
||||||
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"proxiTok": {
|
"proxiTok": {
|
||||||
"normal": [
|
"normal": [
|
||||||
"https://proxitok.herokuapp.com",
|
"https://proxitok.herokuapp.com",
|
||||||
"https://proxitok.pussthecat.org",
|
"https://proxitok.pussthecat.org",
|
||||||
"https://proxitok.privacydev.net"
|
"https://proxitok.privacydev.net",
|
||||||
|
"https://tok.habedieeh.re"
|
||||||
],
|
],
|
||||||
"tor": []
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"send": {
|
"send": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -89,7 +99,9 @@
|
||||||
"https://bytefile.de",
|
"https://bytefile.de",
|
||||||
"https://transfer.acted.org"
|
"https://transfer.acted.org"
|
||||||
],
|
],
|
||||||
"tor": []
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"nitter": {
|
"nitter": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -160,7 +172,8 @@
|
||||||
"https://india.unofficialbird.com",
|
"https://india.unofficialbird.com",
|
||||||
"https://nederland.unofficialbird.com",
|
"https://nederland.unofficialbird.com",
|
||||||
"https://uk.unofficialbird.com",
|
"https://uk.unofficialbird.com",
|
||||||
"https://n.l5.ca"
|
"https://n.l5.ca",
|
||||||
|
"https://nitter.slipfox.xyz"
|
||||||
],
|
],
|
||||||
"tor": [
|
"tor": [
|
||||||
"http://3nzoldnxplag42gqjs23xvghtzf6t6yzssrtytnntc6ppc7xxuoneoad.onion",
|
"http://3nzoldnxplag42gqjs23xvghtzf6t6yzssrtytnntc6ppc7xxuoneoad.onion",
|
||||||
|
@ -188,7 +201,9 @@
|
||||||
"http://nitter.privpw3tndpkw6pnp3g727zfgfdzbu3k6a7chv226s3xymv2p4eiuqyd.onion",
|
"http://nitter.privpw3tndpkw6pnp3g727zfgfdzbu3k6a7chv226s3xymv2p4eiuqyd.onion",
|
||||||
"http://aaaaaxx74hbzeibageieowryhsqvimbdiitfkfe47tvgawkwkjh3coqd.onion",
|
"http://aaaaaxx74hbzeibageieowryhsqvimbdiitfkfe47tvgawkwkjh3coqd.onion",
|
||||||
"http://wiio4sgs4247brk7hj6qck2jxnvldwfdbguigc5ivpxrsegnliyfvuqd.onion"
|
"http://wiio4sgs4247brk7hj6qck2jxnvldwfdbguigc5ivpxrsegnliyfvuqd.onion"
|
||||||
]
|
],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"bibliogram": {
|
"bibliogram": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -206,7 +221,9 @@
|
||||||
"https://ig.funami.tech",
|
"https://ig.funami.tech",
|
||||||
"https://bib.actionsack.com"
|
"https://bib.actionsack.com"
|
||||||
],
|
],
|
||||||
"tor": []
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"libreddit": {
|
"libreddit": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -289,7 +306,9 @@
|
||||||
"http://inz6tbezfwzexva6dize4cqraj2tjdhygxabmcgysccesvw2pybzhbyd.onion",
|
"http://inz6tbezfwzexva6dize4cqraj2tjdhygxabmcgysccesvw2pybzhbyd.onion",
|
||||||
"http://libreddit.micohauwkjbyw5meacrb4ipicwvwg4xtzl7y7viv53kig2mdcsvwkyyd.onion",
|
"http://libreddit.micohauwkjbyw5meacrb4ipicwvwg4xtzl7y7viv53kig2mdcsvwkyyd.onion",
|
||||||
"http://lr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
|
"http://lr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
|
||||||
]
|
],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"teddit": {
|
"teddit": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -323,7 +342,9 @@
|
||||||
"http://tedditfyn6idalzso5wam5qd3kdtxoljjhbrbbx34q2xkcisvshuytad.onion",
|
"http://tedditfyn6idalzso5wam5qd3kdtxoljjhbrbbx34q2xkcisvshuytad.onion",
|
||||||
"http://dawtyi5e2cfyfmoht4izmczi42aa2zwh6wi34zwvc6rzf2acpxhrcrad.onion",
|
"http://dawtyi5e2cfyfmoht4izmczi42aa2zwh6wi34zwvc6rzf2acpxhrcrad.onion",
|
||||||
"http://qtpvyiaqhmwccxwzsqubd23xhmmrt75tdyw35kp43w4hvamsgl3x27ad.onion"
|
"http://qtpvyiaqhmwccxwzsqubd23xhmmrt75tdyw35kp43w4hvamsgl3x27ad.onion"
|
||||||
]
|
],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"wikiless": {
|
"wikiless": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -347,7 +368,8 @@
|
||||||
"i2p": [
|
"i2p": [
|
||||||
"http://hflqp2ejxygpj6cdwo3ogfieqmxw3b56w7dblt7bor2ltwk6kcfa.b32.i2p",
|
"http://hflqp2ejxygpj6cdwo3ogfieqmxw3b56w7dblt7bor2ltwk6kcfa.b32.i2p",
|
||||||
"http://x33lx4h6d7h6xs4eiqwhvaxn3ea5gn2ifmu3jobnvuvn4k4aej7a.b32.i2p"
|
"http://x33lx4h6d7h6xs4eiqwhvaxn3ea5gn2ifmu3jobnvuvn4k4aej7a.b32.i2p"
|
||||||
]
|
],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"scribe": {
|
"scribe": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -357,7 +379,9 @@
|
||||||
"https://scribe.bus-hit.me",
|
"https://scribe.bus-hit.me",
|
||||||
"https://scribe.froth.zone"
|
"https://scribe.froth.zone"
|
||||||
],
|
],
|
||||||
"tor": []
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"quetre": {
|
"quetre": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -369,7 +393,9 @@
|
||||||
"https://quetre.tokhmi.xyz",
|
"https://quetre.tokhmi.xyz",
|
||||||
"https://quetre.projectsegfau.lt"
|
"https://quetre.projectsegfau.lt"
|
||||||
],
|
],
|
||||||
"tor": []
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"libremdb": {
|
"libremdb": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -378,7 +404,9 @@
|
||||||
"https://libremdbeu.herokuapp.com",
|
"https://libremdbeu.herokuapp.com",
|
||||||
"https://lmdb.tokhmi.xyz"
|
"https://lmdb.tokhmi.xyz"
|
||||||
],
|
],
|
||||||
"tor": []
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"simplyTranslate": {
|
"simplyTranslate": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -420,22 +448,11 @@
|
||||||
"https://lingva.lunar.icu",
|
"https://lingva.lunar.icu",
|
||||||
"https://lingva.opnxng.com"
|
"https://lingva.opnxng.com"
|
||||||
],
|
],
|
||||||
"tor": []
|
"tor": [],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"searx": {
|
"searx": {
|
||||||
"tor": [
|
|
||||||
"http://3afisqjw2rxm6z7mmstyt5rx75qfqrgxnkzftknbp2vhipr2nrmrjdyd.onion",
|
|
||||||
"http://w5rl6wsd7mzj4bdkbuqvzidet5osdsm5jhg2f7nvfidakfq5exda5wid.onion",
|
|
||||||
"http://yra4tke2pwcnatxjkufpw6kvebu3h3ti2jca2lcdpgx3mpwol326lzid.onion",
|
|
||||||
"http://z5vawdol25vrmorm4yydmohsd4u6rdoj2sylvoi3e3nqvxkvpqul7bqd.onion",
|
|
||||||
"http://zbuc3bbzbfdqqo2x46repx2ddajbha6fpsjeeptjhhhhzji3zopxdqyd.onion",
|
|
||||||
"http://f4qfqajszpx5b7itzxt6mb7kj4ktpgbdq7lq6xaiqyqx6a7de3epptad.onion",
|
|
||||||
"http://4tz2vlnwk2apf2rpinkqv6uxvfgo5xjx6vl5vp7lxgaiooumetjpstqd.onion"
|
|
||||||
],
|
|
||||||
"i2p": [
|
|
||||||
"http://ransack.i2p",
|
|
||||||
"http://mqamk4cfykdvhw5kjez2gnvse56gmnqxn7vkvvbuor4k4j2lbbnq.b32.i2p"
|
|
||||||
],
|
|
||||||
"normal": [
|
"normal": [
|
||||||
"https://anon.sx",
|
"https://anon.sx",
|
||||||
"https://dynabyte.ca",
|
"https://dynabyte.ca",
|
||||||
|
@ -476,23 +493,22 @@
|
||||||
"https://sx.catgirl.cloud",
|
"https://sx.catgirl.cloud",
|
||||||
"https://timdor.noip.me/searx",
|
"https://timdor.noip.me/searx",
|
||||||
"https://searx.roflcopter.fr"
|
"https://searx.roflcopter.fr"
|
||||||
]
|
],
|
||||||
|
"tor": [
|
||||||
|
"http://3afisqjw2rxm6z7mmstyt5rx75qfqrgxnkzftknbp2vhipr2nrmrjdyd.onion",
|
||||||
|
"http://w5rl6wsd7mzj4bdkbuqvzidet5osdsm5jhg2f7nvfidakfq5exda5wid.onion",
|
||||||
|
"http://yra4tke2pwcnatxjkufpw6kvebu3h3ti2jca2lcdpgx3mpwol326lzid.onion",
|
||||||
|
"http://z5vawdol25vrmorm4yydmohsd4u6rdoj2sylvoi3e3nqvxkvpqul7bqd.onion",
|
||||||
|
"http://zbuc3bbzbfdqqo2x46repx2ddajbha6fpsjeeptjhhhhzji3zopxdqyd.onion",
|
||||||
|
"http://f4qfqajszpx5b7itzxt6mb7kj4ktpgbdq7lq6xaiqyqx6a7de3epptad.onion"
|
||||||
|
],
|
||||||
|
"i2p": [
|
||||||
|
"http://ransack.i2p",
|
||||||
|
"http://mqamk4cfykdvhw5kjez2gnvse56gmnqxn7vkvvbuor4k4j2lbbnq.b32.i2p"
|
||||||
|
],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"searxng": {
|
"searxng": {
|
||||||
"tor": [
|
|
||||||
"http://4n53nafyi77iplnbrpmxnp3x4exbswwxigujaxy3b37fvr7bvlopxeyd.onion",
|
|
||||||
"http://x5gdjh6t7kb4yubpufhtc3l3df2acev3emxdasd5vyuyoon5rzf5zkyd.onion",
|
|
||||||
"http://search3q76rqpektbrchlf2rjq4fnbxzeov6rljdywg3nwbunpgd7bid.onion",
|
|
||||||
"http://searchoorwalty5a2ailrboa2asqyts2u7bdoqwnjefpgjobpvtzn4qd.onion",
|
|
||||||
"http://gbat2pbpg7ys3fi3pbp64667tt5x66mg45xok35bxdw7v55brm7a27yd.onion",
|
|
||||||
"http://searxdr3pqz4nydgnqocsia2xbywptxbkympa2emn7zlgggrir4bkfad.onion",
|
|
||||||
"http://searx.micohauwkjbyw5meacrb4ipicwvwg4xtzl7y7viv53kig2mdcsvwkyyd.onion",
|
|
||||||
"http://searx.privpw3tndpkw6pnp3g727zfgfdzbu3k6a7chv226s3xymv2p4eiuqyd.onion",
|
|
||||||
"http://rq2w52kyrif3xpfihkgjnhqm3a5aqhoikpv72z3drpjglfzc2wr5z4yd.onion",
|
|
||||||
"http://fub6vgedgeadlu3ctskrpkcqjruh76tckwtj5swfhyblgml2tzgzckqd.onion/searx",
|
|
||||||
"http://searx3aolosaf3urwnhpynlhuokqsgz47si4pzz5hvb7uuzyjncl2tid.onion"
|
|
||||||
],
|
|
||||||
"i2p": [],
|
|
||||||
"normal": [
|
"normal": [
|
||||||
"https://darmarit.org/searx",
|
"https://darmarit.org/searx",
|
||||||
"https://de.xcxc.ml",
|
"https://de.xcxc.ml",
|
||||||
|
@ -524,6 +540,7 @@
|
||||||
"https://search.sapti.me",
|
"https://search.sapti.me",
|
||||||
"https://search.teamriverbubbles.com",
|
"https://search.teamriverbubbles.com",
|
||||||
"https://search.unlocked.link",
|
"https://search.unlocked.link",
|
||||||
|
"https://search.vidhukant.xyz",
|
||||||
"https://search.zzls.xyz",
|
"https://search.zzls.xyz",
|
||||||
"https://searx.be",
|
"https://searx.be",
|
||||||
"https://searx.becomesovran.com",
|
"https://searx.becomesovran.com",
|
||||||
|
@ -558,7 +575,23 @@
|
||||||
"https://www.gruble.de",
|
"https://www.gruble.de",
|
||||||
"https://www.webrats.xyz",
|
"https://www.webrats.xyz",
|
||||||
"https://xcxc.ml"
|
"https://xcxc.ml"
|
||||||
]
|
],
|
||||||
|
"tor": [
|
||||||
|
"http://4n53nafyi77iplnbrpmxnp3x4exbswwxigujaxy3b37fvr7bvlopxeyd.onion",
|
||||||
|
"http://x5gdjh6t7kb4yubpufhtc3l3df2acev3emxdasd5vyuyoon5rzf5zkyd.onion",
|
||||||
|
"http://search3q76rqpektbrchlf2rjq4fnbxzeov6rljdywg3nwbunpgd7bid.onion",
|
||||||
|
"http://searchoorwalty5a2ailrboa2asqyts2u7bdoqwnjefpgjobpvtzn4qd.onion",
|
||||||
|
"http://gbat2pbpg7ys3fi3pbp64667tt5x66mg45xok35bxdw7v55brm7a27yd.onion",
|
||||||
|
"http://searxdr3pqz4nydgnqocsia2xbywptxbkympa2emn7zlgggrir4bkfad.onion",
|
||||||
|
"http://searx.micohauwkjbyw5meacrb4ipicwvwg4xtzl7y7viv53kig2mdcsvwkyyd.onion",
|
||||||
|
"http://searx.privpw3tndpkw6pnp3g727zfgfdzbu3k6a7chv226s3xymv2p4eiuqyd.onion",
|
||||||
|
"http://rq2w52kyrif3xpfihkgjnhqm3a5aqhoikpv72z3drpjglfzc2wr5z4yd.onion",
|
||||||
|
"http://fub6vgedgeadlu3ctskrpkcqjruh76tckwtj5swfhyblgml2tzgzckqd.onion/searx",
|
||||||
|
"http://searx3aolosaf3urwnhpynlhuokqsgz47si4pzz5hvb7uuzyjncl2tid.onion",
|
||||||
|
"http://4tz2vlnwk2apf2rpinkqv6uxvfgo5xjx6vl5vp7lxgaiooumetjpstqd.onion"
|
||||||
|
],
|
||||||
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"whoogle": {
|
"whoogle": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -577,7 +610,8 @@
|
||||||
"https://search.wef.lol"
|
"https://search.wef.lol"
|
||||||
],
|
],
|
||||||
"tor": [],
|
"tor": [],
|
||||||
"i2p": []
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"librex": {
|
"librex": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -592,7 +626,8 @@
|
||||||
],
|
],
|
||||||
"i2p": [
|
"i2p": [
|
||||||
"http://fboseyskrqpi6yjiifvz4ryuoiswjezkqsfxfkm2vmbuhehbpr7q.b32.i2p"
|
"http://fboseyskrqpi6yjiifvz4ryuoiswjezkqsfxfkm2vmbuhehbpr7q.b32.i2p"
|
||||||
]
|
],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"rimgo": {
|
"rimgo": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -613,7 +648,8 @@
|
||||||
"http://rimgo.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
|
"http://rimgo.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
|
||||||
"http://rimgo.micohauwkjbyw5meacrb4ipicwvwg4xtzl7y7viv53kig2mdcsvwkyyd.onion"
|
"http://rimgo.micohauwkjbyw5meacrb4ipicwvwg4xtzl7y7viv53kig2mdcsvwkyyd.onion"
|
||||||
],
|
],
|
||||||
"i2p": []
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"librarian": {
|
"librarian": {
|
||||||
"normal": [
|
"normal": [
|
||||||
|
@ -628,7 +664,8 @@
|
||||||
"http://librarian.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion",
|
"http://librarian.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion",
|
||||||
"http://lbry.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
|
"http://lbry.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
|
||||||
],
|
],
|
||||||
"i2p": []
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
},
|
},
|
||||||
"peertube": [
|
"peertube": [
|
||||||
"https://pire.artisanlogiciel.net",
|
"https://pire.artisanlogiciel.net",
|
||||||
|
@ -779,7 +816,6 @@
|
||||||
"https://turkum.me",
|
"https://turkum.me",
|
||||||
"https://video.colibris-outilslibres.org",
|
"https://video.colibris-outilslibres.org",
|
||||||
"https://invoice.peertube.biz",
|
"https://invoice.peertube.biz",
|
||||||
"https://vnhup.com",
|
|
||||||
"https://peertube.chantierlibre.org",
|
"https://peertube.chantierlibre.org",
|
||||||
"https://video.9wd.eu",
|
"https://video.9wd.eu",
|
||||||
"https://video.niboe.info",
|
"https://video.niboe.info",
|
||||||
|
@ -1116,7 +1152,6 @@
|
||||||
"https://video.rubdos.be",
|
"https://video.rubdos.be",
|
||||||
"https://tube.tuxfriend.fr",
|
"https://tube.tuxfriend.fr",
|
||||||
"https://anarchy.tube",
|
"https://anarchy.tube",
|
||||||
"https://nsfw.vger.cloud",
|
|
||||||
"https://tube.elemac.fr",
|
"https://tube.elemac.fr",
|
||||||
"https://tube.nocturlab.fr",
|
"https://tube.nocturlab.fr",
|
||||||
"https://videos.optoutpod.com",
|
"https://videos.optoutpod.com",
|
||||||
|
@ -1216,7 +1251,6 @@
|
||||||
"https://libra.syntazia.org",
|
"https://libra.syntazia.org",
|
||||||
"https://peertube.beeldengeluid.nl",
|
"https://peertube.beeldengeluid.nl",
|
||||||
"https://tv.lumbung.space",
|
"https://tv.lumbung.space",
|
||||||
"https://vid.dascoyote.xyz",
|
|
||||||
"https://peertube.cuatrolibertades.org",
|
"https://peertube.cuatrolibertades.org",
|
||||||
"https://videos.hush.is",
|
"https://videos.hush.is",
|
||||||
"https://tube.ebin.club",
|
"https://tube.ebin.club",
|
||||||
|
@ -1283,7 +1317,6 @@
|
||||||
"https://videos.benjaminbrady.ie",
|
"https://videos.benjaminbrady.ie",
|
||||||
"https://video.binarydad.com",
|
"https://video.binarydad.com",
|
||||||
"https://tube.pmj.rocks",
|
"https://tube.pmj.rocks",
|
||||||
"https://gary.vger.cloud",
|
|
||||||
"https://video.guerredeclasse.fr",
|
"https://video.guerredeclasse.fr",
|
||||||
"https://ptmir4.inter21.net",
|
"https://ptmir4.inter21.net",
|
||||||
"https://ptmir3.inter21.net",
|
"https://ptmir3.inter21.net",
|
||||||
|
@ -1675,6 +1708,10 @@
|
||||||
"https://video.tedomum.net",
|
"https://video.tedomum.net",
|
||||||
"https://video.g3l.org",
|
"https://video.g3l.org",
|
||||||
"https://fontube.fr",
|
"https://fontube.fr",
|
||||||
"https://peertube.gaialabs.ch"
|
"https://peertube.gaialabs.ch",
|
||||||
|
"https://peertube.qtg.fr",
|
||||||
|
"https://tube.p2p.legal",
|
||||||
|
"https://troll.tv",
|
||||||
|
"https://videos.iut-orsay.fr"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -87,6 +87,8 @@ def invidious():
|
||||||
invidiousList = {}
|
invidiousList = {}
|
||||||
invidiousList['normal'] = []
|
invidiousList['normal'] = []
|
||||||
invidiousList['tor'] = []
|
invidiousList['tor'] = []
|
||||||
|
invidiousList['i2p'] = []
|
||||||
|
invidiousList['loki'] = []
|
||||||
for instance in rJson:
|
for instance in rJson:
|
||||||
if instance[1]['type'] == 'https':
|
if instance[1]['type'] == 'https':
|
||||||
invidiousList['normal'].append(instance[1]['uri'])
|
invidiousList['normal'].append(instance[1]['uri'])
|
||||||
|
@ -112,6 +114,8 @@ def pipedMaterial():
|
||||||
pipedMaterialList = {}
|
pipedMaterialList = {}
|
||||||
pipedMaterialList['normal'] = []
|
pipedMaterialList['normal'] = []
|
||||||
pipedMaterialList['tor'] = []
|
pipedMaterialList['tor'] = []
|
||||||
|
pipedMaterialList['i2p'] = []
|
||||||
|
pipedMaterialList['loki'] = []
|
||||||
for item in tmp:
|
for item in tmp:
|
||||||
pipedMaterialList['normal'].append(item)
|
pipedMaterialList['normal'].append(item)
|
||||||
mightyList['pipedMaterial'] = pipedMaterialList
|
mightyList['pipedMaterial'] = pipedMaterialList
|
||||||
|
@ -127,6 +131,8 @@ def proxitok():
|
||||||
proxiTokList = {}
|
proxiTokList = {}
|
||||||
proxiTokList['normal'] = []
|
proxiTokList['normal'] = []
|
||||||
proxiTokList['tor'] = []
|
proxiTokList['tor'] = []
|
||||||
|
proxiTokList['i2p'] = []
|
||||||
|
proxiTokList['loki'] = []
|
||||||
for item in tmp:
|
for item in tmp:
|
||||||
proxiTokList['normal'].append(re.sub(r'/$', '', item))
|
proxiTokList['normal'].append(re.sub(r'/$', '', item))
|
||||||
mightyList['proxiTok'] = proxiTokList
|
mightyList['proxiTok'] = proxiTokList
|
||||||
|
@ -141,6 +147,8 @@ def send():
|
||||||
sendList = {}
|
sendList = {}
|
||||||
sendList['normal'] = []
|
sendList['normal'] = []
|
||||||
sendList['tor'] = []
|
sendList['tor'] = []
|
||||||
|
sendList['i2p'] = []
|
||||||
|
sendList['loki'] = []
|
||||||
for item in tmp:
|
for item in tmp:
|
||||||
sendList['normal'].append(item)
|
sendList['normal'].append(item)
|
||||||
mightyList['send'] = sendList
|
mightyList['send'] = sendList
|
||||||
|
@ -157,6 +165,8 @@ def nitter():
|
||||||
nitterList = {}
|
nitterList = {}
|
||||||
nitterList['normal'] = []
|
nitterList['normal'] = []
|
||||||
nitterList['tor'] = []
|
nitterList['tor'] = []
|
||||||
|
nitterList['i2p'] = []
|
||||||
|
nitterList['loki'] = []
|
||||||
for table in tables:
|
for table in tables:
|
||||||
tbody = table.find('tbody')
|
tbody = table.find('tbody')
|
||||||
trs = tbody.find_all('tr')
|
trs = tbody.find_all('tr')
|
||||||
|
@ -180,6 +190,8 @@ def bibliogram():
|
||||||
bibliogramList = {}
|
bibliogramList = {}
|
||||||
bibliogramList['normal'] = []
|
bibliogramList['normal'] = []
|
||||||
bibliogramList['tor'] = []
|
bibliogramList['tor'] = []
|
||||||
|
bibliogramList['i2p'] = []
|
||||||
|
bibliogramList['loki'] = []
|
||||||
for item in rJson['data']:
|
for item in rJson['data']:
|
||||||
bibliogramList['normal'].append(item['address'])
|
bibliogramList['normal'].append(item['address'])
|
||||||
mightyList['bibliogram'] = bibliogramList
|
mightyList['bibliogram'] = bibliogramList
|
||||||
|
@ -192,6 +204,8 @@ def libreddit():
|
||||||
libredditList = {}
|
libredditList = {}
|
||||||
libredditList['normal'] = []
|
libredditList['normal'] = []
|
||||||
libredditList['tor'] = []
|
libredditList['tor'] = []
|
||||||
|
libredditList['i2p'] = []
|
||||||
|
libredditList['loki'] = []
|
||||||
|
|
||||||
tmp = re.findall(
|
tmp = re.findall(
|
||||||
r"\| \[.*\]\(([-a-zA-Z0-9@:%_\+.~#?&//=]{2,}\.[a-z]{2,}\b(?:\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?)\)*\|*[A-Z]{0,}.*\|.*\|", r.text)
|
r"\| \[.*\]\(([-a-zA-Z0-9@:%_\+.~#?&//=]{2,}\.[a-z]{2,}\b(?:\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?)\)*\|*[A-Z]{0,}.*\|.*\|", r.text)
|
||||||
|
@ -212,6 +226,8 @@ def teddit():
|
||||||
tedditList = {}
|
tedditList = {}
|
||||||
tedditList['normal'] = []
|
tedditList['normal'] = []
|
||||||
tedditList['tor'] = []
|
tedditList['tor'] = []
|
||||||
|
tedditList['i2p'] = []
|
||||||
|
tedditList['loki'] = []
|
||||||
for item in rJson:
|
for item in rJson:
|
||||||
url = item['url']
|
url = item['url']
|
||||||
if url != '':
|
if url != '':
|
||||||
|
@ -232,6 +248,7 @@ def wikiless():
|
||||||
wikilessList['normal'] = []
|
wikilessList['normal'] = []
|
||||||
wikilessList['tor'] = []
|
wikilessList['tor'] = []
|
||||||
wikilessList['i2p'] = []
|
wikilessList['i2p'] = []
|
||||||
|
wikilessList['loki'] = []
|
||||||
for item in rJson:
|
for item in rJson:
|
||||||
if 'url' in item:
|
if 'url' in item:
|
||||||
if item['url'].strip() != "":
|
if item['url'].strip() != "":
|
||||||
|
@ -253,6 +270,8 @@ def scribe():
|
||||||
scribeList = {}
|
scribeList = {}
|
||||||
scribeList['normal'] = []
|
scribeList['normal'] = []
|
||||||
scribeList['tor'] = []
|
scribeList['tor'] = []
|
||||||
|
scribeList['i2p'] = []
|
||||||
|
scribeList['loki'] = []
|
||||||
for item in rJson:
|
for item in rJson:
|
||||||
scribeList['normal'].append(item)
|
scribeList['normal'].append(item)
|
||||||
mightyList['scribe'] = scribeList
|
mightyList['scribe'] = scribeList
|
||||||
|
@ -265,6 +284,8 @@ def quetre():
|
||||||
_list = {}
|
_list = {}
|
||||||
_list['normal'] = []
|
_list['normal'] = []
|
||||||
_list['tor'] = []
|
_list['tor'] = []
|
||||||
|
_list['i2p'] = []
|
||||||
|
_list['loki'] = []
|
||||||
|
|
||||||
tmp = re.findall(
|
tmp = re.findall(
|
||||||
r"\| \[.*\]\(([-a-zA-Z0-9@:%_\+.~#?&//=]{2,}\.[a-z]{2,}\b(?:\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?)\)*\|*[A-Z]{0,}.*\|.*\|", r.text)
|
r"\| \[.*\]\(([-a-zA-Z0-9@:%_\+.~#?&//=]{2,}\.[a-z]{2,}\b(?:\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?)\)*\|*[A-Z]{0,}.*\|.*\|", r.text)
|
||||||
|
@ -285,6 +306,8 @@ def libremdb():
|
||||||
_list = {}
|
_list = {}
|
||||||
_list['normal'] = []
|
_list['normal'] = []
|
||||||
_list['tor'] = []
|
_list['tor'] = []
|
||||||
|
_list['i2p'] = []
|
||||||
|
_list['loki'] = []
|
||||||
|
|
||||||
tmp = re.findall(
|
tmp = re.findall(
|
||||||
r"\| ([-a-zA-Z0-9@:%_\+.~#?&//=]{2,}\.[a-z]{2,}\b(?:\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?)*\|*[A-Z]{0,}.*\|.*\|", r.text)
|
r"\| ([-a-zA-Z0-9@:%_\+.~#?&//=]{2,}\.[a-z]{2,}\b(?:\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?)*\|*[A-Z]{0,}.*\|.*\|", r.text)
|
||||||
|
@ -335,6 +358,8 @@ def linvgatranslate():
|
||||||
lingvaList = {}
|
lingvaList = {}
|
||||||
lingvaList['normal'] = []
|
lingvaList['normal'] = []
|
||||||
lingvaList['tor'] = []
|
lingvaList['tor'] = []
|
||||||
|
lingvaList['i2p'] = []
|
||||||
|
lingvaList['loki'] = []
|
||||||
for item in rJson:
|
for item in rJson:
|
||||||
lingvaList['normal'].append(item)
|
lingvaList['normal'].append(item)
|
||||||
|
|
||||||
|
@ -346,13 +371,15 @@ def searx_searxng():
|
||||||
r = requests.get('https://searx.space/data/instances.json')
|
r = requests.get('https://searx.space/data/instances.json')
|
||||||
rJson = json.loads(r.text)
|
rJson = json.loads(r.text)
|
||||||
searxList = {}
|
searxList = {}
|
||||||
|
searxList['normal'] = []
|
||||||
searxList['tor'] = []
|
searxList['tor'] = []
|
||||||
searxList['i2p'] = []
|
searxList['i2p'] = []
|
||||||
searxList['normal'] = []
|
searxList['loki'] = []
|
||||||
searxngList = {}
|
searxngList = {}
|
||||||
|
searxngList['normal'] = []
|
||||||
searxngList['tor'] = []
|
searxngList['tor'] = []
|
||||||
searxngList['i2p'] = []
|
searxngList['i2p'] = []
|
||||||
searxngList['normal'] = []
|
searxngList['loki'] = []
|
||||||
for item in rJson['instances']:
|
for item in rJson['instances']:
|
||||||
if re.search("https?:\/{2}(?:[a-zA-Z0-9]+\.)+onion(?:\/[a-zA-Z0-9]+)*\/?", item[:-1]):
|
if re.search("https?:\/{2}(?:[a-zA-Z0-9]+\.)+onion(?:\/[a-zA-Z0-9]+)*\/?", item[:-1]):
|
||||||
if (rJson['instances'][item].get('generator') == 'searxng'):
|
if (rJson['instances'][item].get('generator') == 'searxng'):
|
||||||
|
@ -383,6 +410,7 @@ def whoogle():
|
||||||
whoogleList['normal'] = []
|
whoogleList['normal'] = []
|
||||||
whoogleList['tor'] = []
|
whoogleList['tor'] = []
|
||||||
whoogleList['i2p'] = []
|
whoogleList['i2p'] = []
|
||||||
|
whoogleList['loki'] = []
|
||||||
for item in tmpList:
|
for item in tmpList:
|
||||||
if re.search("https?:\/{2}(?:[a-zA-Z0-9]+\.)+onion(?:\/[a-zA-Z0-9]+)*\/?", item):
|
if re.search("https?:\/{2}(?:[a-zA-Z0-9]+\.)+onion(?:\/[a-zA-Z0-9]+)*\/?", item):
|
||||||
whoogleList['tor'].append(item)
|
whoogleList['tor'].append(item)
|
||||||
|
@ -401,6 +429,7 @@ def librex():
|
||||||
_list['normal'] = []
|
_list['normal'] = []
|
||||||
_list['tor'] = []
|
_list['tor'] = []
|
||||||
_list['i2p'] = []
|
_list['i2p'] = []
|
||||||
|
_list['loki'] = []
|
||||||
|
|
||||||
tmp = re.findall(
|
tmp = re.findall(
|
||||||
r"\| {1,2}\[(?:(?:[a-zA-Z0-9]+\.)+[a-zA-Z]{2,}|✅)\]\((https?:\/{2}(?:[a-zA-Z0-9]+\.)+[a-zA-Z0-9]{2,})", r.text)
|
r"\| {1,2}\[(?:(?:[a-zA-Z0-9]+\.)+[a-zA-Z]{2,}|✅)\]\((https?:\/{2}(?:[a-zA-Z0-9]+\.)+[a-zA-Z0-9]{2,})", r.text)
|
||||||
|
@ -426,6 +455,7 @@ def rimgo():
|
||||||
rimgoList['normal'] = []
|
rimgoList['normal'] = []
|
||||||
rimgoList['tor'] = []
|
rimgoList['tor'] = []
|
||||||
rimgoList['i2p'] = []
|
rimgoList['i2p'] = []
|
||||||
|
rimgoList['loki'] = []
|
||||||
for item in rJson:
|
for item in rJson:
|
||||||
if 'url' in item:
|
if 'url' in item:
|
||||||
rimgoList['normal'].append(item['url'])
|
rimgoList['normal'].append(item['url'])
|
||||||
|
@ -445,6 +475,7 @@ def librarian():
|
||||||
librarianList['normal'] = []
|
librarianList['normal'] = []
|
||||||
librarianList['tor'] = []
|
librarianList['tor'] = []
|
||||||
librarianList['i2p'] = []
|
librarianList['i2p'] = []
|
||||||
|
librarianList['loki'] = []
|
||||||
instances = rJson['instances']
|
instances = rJson['instances']
|
||||||
for item in instances:
|
for item in instances:
|
||||||
url = item['url']
|
url = item['url']
|
||||||
|
|
|
@ -15,5 +15,7 @@
|
||||||
],
|
],
|
||||||
"tor": [
|
"tor": [
|
||||||
"http://piped2bbch4xslbl2ckr6k62q56kon56ffowxaqzy42ai22a4sash3ad.onion"
|
"http://piped2bbch4xslbl2ckr6k62q56kon56ffowxaqzy42ai22a4sash3ad.onion"
|
||||||
]
|
],
|
||||||
}
|
"i2p": [],
|
||||||
|
"loki": []
|
||||||
|
}
|
|
@ -42,7 +42,7 @@ function exportSettings() {
|
||||||
null,
|
null,
|
||||||
result => {
|
result => {
|
||||||
let resultString = JSON.stringify(result, null, ' ');
|
let resultString = JSON.stringify(result, null, ' ');
|
||||||
exportSettingsElement.href = 'data:application/json;base64,' + btoa(resultString);
|
exportSettingsElement.href = 'data:application/json;base64,' + btoa(encodeURI(resultString));
|
||||||
exportSettingsElement.download = 'libredirect-settings.json';
|
exportSettingsElement.download = 'libredirect-settings.json';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -171,7 +171,7 @@ protocolElement.addEventListener("change", event => {
|
||||||
|
|
||||||
let protocolFallbackCheckbox = document.getElementById("protocol-fallback-checkbox")
|
let protocolFallbackCheckbox = document.getElementById("protocol-fallback-checkbox")
|
||||||
protocolFallbackCheckbox.addEventListener("change", event => {
|
protocolFallbackCheckbox.addEventListener("change", event => {
|
||||||
browser.storage.local.set({ protocolFallback: event.target.checked});
|
browser.storage.local.set({ protocolFallback: event.target.checked });
|
||||||
})
|
})
|
||||||
|
|
||||||
let nameCustomInstanceInput = document.getElementById("exceptions-custom-instance");
|
let nameCustomInstanceInput = document.getElementById("exceptions-custom-instance");
|
||||||
|
@ -210,7 +210,7 @@ browser.storage.local.get(
|
||||||
protocolElement.value = r.protocol;
|
protocolElement.value = r.protocol;
|
||||||
protocolFallbackCheckbox.checked = r.protocolFallback;
|
protocolFallbackCheckbox.checked = r.protocolFallback;
|
||||||
// firstPartyIsolate.checked = r.firstPartyIsolate;
|
// firstPartyIsolate.checked = r.firstPartyIsolate;
|
||||||
|
|
||||||
let protocolFallbackElement = document.getElementById('protocol-fallback')
|
let protocolFallbackElement = document.getElementById('protocol-fallback')
|
||||||
if (protocolElement.value == "normal") {
|
if (protocolElement.value == "normal") {
|
||||||
protocolFallbackElement.style.display = 'none';
|
protocolFallbackElement.style.display = 'none';
|
||||||
|
|
Loading…
Reference in New Issue