This commit is contained in:
parent
d2cc8a146b
commit
84c363d390
|
@ -121,6 +121,13 @@ function redirect(url, type, initiator, forceRedirection) {
|
||||||
case "whoogle": {
|
case "whoogle": {
|
||||||
return `${randomInstance}/search${url.search}`
|
return `${randomInstance}/search${url.search}`
|
||||||
}
|
}
|
||||||
|
case "4get": {
|
||||||
|
const s = url.searchParams.get("q")
|
||||||
|
if (s !== null) {
|
||||||
|
return `${randomInstance}/web?s=${encodeURIComponent(s)}`
|
||||||
|
}
|
||||||
|
return randomInstance
|
||||||
|
}
|
||||||
case "librex": {
|
case "librex": {
|
||||||
return `${randomInstance}/search.php${url.search}`
|
return `${randomInstance}/search.php${url.search}`
|
||||||
}
|
}
|
||||||
|
@ -693,6 +700,7 @@ const defaultInstances = {
|
||||||
'simplyTranslate': ['https://simplytranslate.org'],
|
'simplyTranslate': ['https://simplytranslate.org'],
|
||||||
'lingva': ['https://lingva.ml'],
|
'lingva': ['https://lingva.ml'],
|
||||||
'searxng': ['https://search.bus-hit.me'],
|
'searxng': ['https://search.bus-hit.me'],
|
||||||
|
'4get': ['https://4get.ca'],
|
||||||
'rimgo': ['https://rimgo.vern.cc'],
|
'rimgo': ['https://rimgo.vern.cc'],
|
||||||
'hyperpipe': ['https://hyperpipe.surge.sh'],
|
'hyperpipe': ['https://hyperpipe.surge.sh'],
|
||||||
'facil': [' https://facilmap.org '],
|
'facil': [' https://facilmap.org '],
|
||||||
|
|
|
@ -431,6 +431,11 @@
|
||||||
"name": "LibreX",
|
"name": "LibreX",
|
||||||
"instanceList": true,
|
"instanceList": true,
|
||||||
"url": "https://github.com/hnhx/librex"
|
"url": "https://github.com/hnhx/librex"
|
||||||
|
},
|
||||||
|
"4get": {
|
||||||
|
"name": "4get",
|
||||||
|
"instanceList": true,
|
||||||
|
"url": "https://git.lolcat.ca/lolcat/4get"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
|
|
Loading…
Reference in New Issue