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