From 9a17fb0d9bcc6d1964280dc9e8a7bf3825c2e9cc Mon Sep 17 00:00:00 2001 From: bytedream Date: Fri, 22 Jul 2022 01:41:50 +0200 Subject: [PATCH] Fix domain sometimes not shown in window title when using native player --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 622804d..61494ed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,7 +32,7 @@ async function main() { document.body.innerHTML = '' document.body.append(player) } else { - window.location.assign(chrome.runtime.getURL(`ui/player/player.html?id=${match.id}&url=${encodeURIComponent(url)}&domains=${window.location.host}`)) + window.location.assign(chrome.runtime.getURL(`ui/player/player.html?id=${match.id}&url=${encodeURIComponent(url)}&domain=${window.location.host}`)) } }