Skip to content

Commit e1b35a3

Browse files
committed
Added Websurfx #1003
1 parent c3e38ac commit e1b35a3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/assets/javascripts/services.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) {
7474
case "searxng":
7575
for (const key of [...url.searchParams.keys()]) if (key !== "q") url.searchParams.delete(key)
7676
return `${randomInstance}/${url.search}`
77+
case "websurfx":
7778
case "whoogle":
7879
for (const key of [...url.searchParams.keys()]) if (key !== "q") url.searchParams.delete(key)
7980
return `${randomInstance}/search${url.search}`
@@ -904,6 +905,7 @@ const defaultInstances = {
904905
mozhi: ["https://mozhi.aryak.me"],
905906
searxng: ["https://nyc1.sx.ggtyler.dev"],
906907
"4get": ["https://4get.ca"],
908+
websurfx: ["https://alamin655-spacex.hf.space"],
907909
rimgo: ["https://rimgo.vern.cc"],
908910
hyperpipe: ["https://hyperpipe.surge.sh"],
909911
osm: ["https://www.openstreetmap.org"],

src/config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,15 @@
11481148
2,
11491149
3
11501150
]
1151+
},
1152+
"websurfx": {
1153+
"name": "Websurfx",
1154+
"instanceList": true,
1155+
"url": "https://github.com/neon-mmd/websurfx",
1156+
"excludeTargets": [
1157+
2,
1158+
3
1159+
]
11511160
}
11521161
},
11531162
"targets": [

0 commit comments

Comments
 (0)