ManeraKai 2023-09-07 22:34:05 +03:00
parent d2cc8a146b
commit 84c363d390
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
2 changed files with 13 additions and 0 deletions

View File

@ -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 '],

View File

@ -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": [