Removed LBRY Desktop
This commit is contained in:
parent
f3289e9ca4
commit
f9bfc0cd8d
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
|
@ -118,9 +118,6 @@ function redirect(url, type, initiator, forceRedirection) {
|
||||||
case "hyperpipe": {
|
case "hyperpipe": {
|
||||||
return `${randomInstance}${url.pathname}${url.search}`.replace(/\/search\?q=.*/, searchQuery => searchQuery.replace("?q=", "/"))
|
return `${randomInstance}${url.pathname}${url.search}`.replace(/\/search\?q=.*/, searchQuery => searchQuery.replace("?q=", "/"))
|
||||||
}
|
}
|
||||||
case "lbryDesktop": {
|
|
||||||
return url.href.replace(/^https?:\/{2}odysee\.com\//, "lbry://").replace(/:(?=[a-zA-Z0-9])/g, "#")
|
|
||||||
}
|
|
||||||
case "searx":
|
case "searx":
|
||||||
case "searxng":
|
case "searxng":
|
||||||
return `${randomInstance}/${url.search}`
|
return `${randomInstance}/${url.search}`
|
||||||
|
@ -669,7 +666,6 @@ const defaultInstances = {
|
||||||
'lingva': ['https://lingva.ml'],
|
'lingva': ['https://lingva.ml'],
|
||||||
'searxng': ['https://search.bus-hit.me'],
|
'searxng': ['https://search.bus-hit.me'],
|
||||||
'rimgo': ['https://rimgo.vern.cc'],
|
'rimgo': ['https://rimgo.vern.cc'],
|
||||||
'librarian': ['https://lbry.vern.cc'],
|
|
||||||
'beatbump': ['https://beatbump.ml'],
|
'beatbump': ['https://beatbump.ml'],
|
||||||
'hyperpipe': ['https://hyperpipe.surge.sh'],
|
'hyperpipe': ['https://hyperpipe.surge.sh'],
|
||||||
'facil': [' https://facilmap.org '],
|
'facil': [' https://facilmap.org '],
|
||||||
|
|
|
@ -371,30 +371,6 @@
|
||||||
"embeddable": true,
|
"embeddable": true,
|
||||||
"url": "https://pinterest.com"
|
"url": "https://pinterest.com"
|
||||||
},
|
},
|
||||||
"lbry": {
|
|
||||||
"frontends": {
|
|
||||||
"lbryDesktop": {
|
|
||||||
"name": "LBRY Desktop",
|
|
||||||
"embeddable": false,
|
|
||||||
"instanceList": false,
|
|
||||||
"url": "https://lbry.com/get"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"targets": [
|
|
||||||
"^https?:\\/{2}odysee\\.com(\\/|$)",
|
|
||||||
"^https?:\\/{2}lbry\\.tv(\\/|$)"
|
|
||||||
],
|
|
||||||
"name": "LBRY",
|
|
||||||
"options": {
|
|
||||||
"enabled": false,
|
|
||||||
"redirectType": "main_frame",
|
|
||||||
"unsupportedUrls": "bypass",
|
|
||||||
"frontend": "lbryDesktop"
|
|
||||||
},
|
|
||||||
"imageType": "png",
|
|
||||||
"embeddable": true,
|
|
||||||
"url": "https://odysee.com"
|
|
||||||
},
|
|
||||||
"search": {
|
"search": {
|
||||||
"frontends": {
|
"frontends": {
|
||||||
"searxng": {
|
"searxng": {
|
||||||
|
|
Loading…
Reference in New Issue