Supported artist page for Intellectual https://github.com/libredirect/browser_extension/issues/699
This commit is contained in:
parent
362f6e7546
commit
b252abd379
@ -436,6 +436,9 @@ function redirect(url, type, initiator, forceRedirection) {
|
|||||||
if (url.pathname.endsWith('-lyrics')) {
|
if (url.pathname.endsWith('-lyrics')) {
|
||||||
return `${randomInstance}/lyrics?path=${encodeURIComponent(url.pathname)}`
|
return `${randomInstance}/lyrics?path=${encodeURIComponent(url.pathname)}`
|
||||||
}
|
}
|
||||||
|
if (url.pathname.startsWith('/artists/')) {
|
||||||
|
return `${randomInstance}/artist?path=${url.pathname}`
|
||||||
|
}
|
||||||
return `${randomInstance}${url.pathname}${url.search}`
|
return `${randomInstance}${url.pathname}${url.search}`
|
||||||
}
|
}
|
||||||
case "ruralDictionary": {
|
case "ruralDictionary": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user