Rework title of built-in player

This commit is contained in:
2022-07-16 02:32:23 +02:00
parent c5f4f8b246
commit 424e34190c
3 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,7 @@ async function main() {
}
const url = await match.match(re)
location.assign(chrome.runtime.getURL(`ui/player/player.html?id=${match.id}&url=${encodeURIComponent(url)}`))
location.assign(chrome.runtime.getURL(`ui/player/player.html?id=${match.id}&url=${encodeURIComponent(url)}&domains=${window.location.host}`))
}
main()