From 7e7e60f267a39ba43f0e0ac219e8aaa06bcf3f06 Mon Sep 17 00:00:00 2001
From: Timo <6156589+Shik3i@users.noreply.github.com>
Date: Wed, 15 Jul 2026 12:24:59 +0200
Subject: [PATCH 01/17] Fix blocked website access and add troubleshooting page
---
extension/background.js | 301 ++++++++++++++++++++++++------
extension/host-access.js | 88 +++++++++
extension/locales/de.json | 2 +
extension/locales/en.json | 2 +
extension/locales/es.json | 2 +
extension/locales/fr.json | 2 +
extension/locales/it.json | 2 +
extension/locales/ja.json | 2 +
extension/locales/ko.json | 2 +
extension/locales/nl.json | 2 +
extension/locales/pl.json | 2 +
extension/locales/pt-BR.json | 2 +
extension/locales/pt.json | 2 +
extension/locales/ru.json | 2 +
extension/locales/tr.json | 2 +
extension/locales/uk.json | 2 +
extension/locales/zh.json | 2 +
extension/popup.html | 22 +++
extension/popup.js | 149 ++++++++++++---
scripts/test-host-access.mjs | 99 ++++++++++
scripts/test-site-access-help.mjs | 57 ++++++
scripts/verify-release.mjs | 2 +
website/build.cjs | 8 +
website/locales/de.json | 2 +
website/locales/en.json | 2 +
website/locales/es.json | 2 +
website/locales/fr.json | 2 +
website/locales/it.json | 2 +
website/locales/ja.json | 2 +
website/locales/ko.json | 2 +
website/locales/nl.json | 2 +
website/locales/pl.json | 2 +
website/locales/pt-BR.json | 2 +
website/locales/pt.json | 2 +
website/locales/ru.json | 2 +
website/locales/tr.json | 2 +
website/locales/uk.json | 2 +
website/locales/zh.json | 2 +
website/site-access-help.html | 169 +++++++++++++++++
website/styles/foundation.css | 69 +++++++
website/styles/support.css | 246 ++++++++++++++++++++++++
website/template.html | 13 +-
42 files changed, 1203 insertions(+), 80 deletions(-)
create mode 100644 extension/host-access.js
create mode 100644 scripts/test-host-access.mjs
create mode 100644 scripts/test-site-access-help.mjs
create mode 100644 website/site-access-help.html
create mode 100644 website/styles/support.css
diff --git a/extension/background.js b/extension/background.js
index aa1a32f..44ccfec 100644
--- a/extension/background.js
+++ b/extension/background.js
@@ -4,6 +4,7 @@ import { loadLocale, getMessage, getSystemLanguage } from './i18n.js';
import { sameEpisode, extractEpisodeId } from './episode-utils.js';
import { applyTitlePrivacyToPayload, sanitizeSharedTitle, sanitizeTabTitle, normalizeSendTabTitle, normalizeTitlePrivacyMode } from './title-privacy.js';
import { initTabManager } from './modules/tab-manager.js';
+import { HOST_ACCESS_REQUIRED_STATUS, normalizeTabId, inspectTabHostAccess, addTabHostAccessRequest, removeTabHostAccessRequest } from './host-access.js';
import './page-api-seek-overrides.js';
// --- Uninstall URL Initialization ---
@@ -61,6 +62,7 @@ let peerId = null; // initialized via getPeerId()
let currentRoom = null;
let currentTabId = null;
let currentTabTitle = null; // New: for Smart Matching
+let targetActivationGeneration = 0;
let logs = [];
let history = []; // New: for Action History
let storageInitialized = false;
@@ -517,13 +519,20 @@ function markRoomPotentiallyIdle() {
}
function clearTargetTabForIdle() {
+ targetActivationGeneration++;
+ clearPendingTarget().catch(() => {});
currentTabId = null;
currentTabTitle = null;
lastContentHeartbeatAt = null;
if (currentRoom) {
roomIdleSince = Date.now();
}
- chrome.storage.session.set({ currentTabId, currentTabTitle, roomIdleSince, lastContentHeartbeatAt }).catch(() => {});
+ chrome.storage.session.set({
+ currentTabId,
+ currentTabTitle,
+ roomIdleSince,
+ lastContentHeartbeatAt
+ }).catch(() => {});
updateBadgeStatus();
}
@@ -544,11 +553,13 @@ async function leaveRoomAfterIdleGrace(reason) {
// Notify content.js/popup BEFORE currentTabId is cleared so they can reset
// any stale guest-side HCM state (dialog/badge/desync) — H-2.
broadcastControlMode();
+ targetActivationGeneration++;
currentTabId = null;
currentTabTitle = null;
roomIdleSince = null;
lastContentHeartbeatAt = null;
clearEpisodeLobbyState();
+ await clearPendingTarget();
await chrome.storage.session.set({
currentRoom: null,
currentTabId: null,
@@ -1734,47 +1745,208 @@ function setPageApiSeekEnabled(enabled) {
window.KOALA_PAGE_API_SEEK_ENABLED = enabled === true;
}
-async function injectContentScript(tabId) {
+function createHostAccessRequiredError(access, requestAdded, cause) {
+ const error = new Error(`Host access required for ${access.host || 'this website'}`);
+ error.code = HOST_ACCESS_REQUIRED_STATUS;
+ error.tabId = access.tab?.id || null;
+ error.host = access.host || null;
+ error.originPattern = access.originPattern || null;
+ error.requestAdded = requestAdded === true;
+ error.cause = cause;
+ return error;
+}
+
+function injectionFailureResponse(error) {
+ if (error?.code === HOST_ACCESS_REQUIRED_STATUS) {
+ return {
+ status: HOST_ACCESS_REQUIRED_STATUS,
+ tabId: error.tabId,
+ host: error.host,
+ originPattern: error.originPattern,
+ requestAdded: error.requestAdded === true
+ };
+ }
+ return { status: 'error', message: error?.message || 'Script injection failed' };
+}
+
+async function injectContentScript(tabId, { requestHostAccess = true } = {}) {
let needsPageApiSeek = false;
let pageApiSeekReady = false;
+ let access = null;
try {
- const tab = await chrome.tabs.get(tabId);
- const url = tab?.url || '';
+ access = await inspectTabHostAccess(chrome, tabId);
+ const url = access.url || '';
needsPageApiSeek = shouldUsePageApiSeek(url);
} catch (_e) {
// Fall through to the generic content script injection.
}
- if (needsPageApiSeek) {
- try {
- await chrome.scripting.executeScript({
- target: { tabId },
- world: 'MAIN',
- files: ['page-api-seek-overrides.js']
- });
- await chrome.scripting.executeScript({
- target: { tabId },
- world: 'MAIN',
- func: installPageApiSeekBridge
- });
- pageApiSeekReady = true;
- } catch (err) {
- addLog(`Page API seek bridge injection failed: ${err.message}`, 'warn');
+ try {
+ if (needsPageApiSeek) {
+ try {
+ await chrome.scripting.executeScript({
+ target: { tabId },
+ world: 'MAIN',
+ files: ['page-api-seek-overrides.js']
+ });
+ await chrome.scripting.executeScript({
+ target: { tabId },
+ world: 'MAIN',
+ func: installPageApiSeekBridge
+ });
+ pageApiSeekReady = true;
+ } catch (err) {
+ addLog(`Page API seek bridge injection failed: ${err.message}`, 'warn');
+ }
}
+
+ await chrome.scripting.executeScript({
+ target: { tabId },
+ files: ['page-api-seek-overrides.js']
+ });
+ await chrome.scripting.executeScript({
+ target: { tabId },
+ func: setPageApiSeekEnabled,
+ args: [pageApiSeekReady]
+ });
+ return await chrome.scripting.executeScript({
+ target: { tabId },
+ files: ['content.js']
+ });
+ } catch (error) {
+ // A temporary activeTab grant is intentionally allowed to win: even if
+ // permissions.contains() reports false, a successful injection above is
+ // valid. Only convert an actual injection failure into a host-access UX.
+ if (access?.originPattern && access.granted === false) {
+ const requestAdded = requestHostAccess
+ ? await addTabHostAccessRequest(chrome, tabId)
+ : false;
+ throw createHostAccessRequiredError(access, requestAdded, error);
+ }
+ throw error;
+ }
+}
+
+async function rememberPendingTarget(tabId, tabTitle, error) {
+ const previous = await chrome.storage.session.get('pendingTargetTabId');
+ const previousTabId = normalizeTabId(previous.pendingTargetTabId);
+ if (previousTabId !== null && previousTabId !== tabId) {
+ await removeTabHostAccessRequest(chrome, previousTabId);
+ }
+ await chrome.storage.session.set({
+ pendingTargetTabId: tabId,
+ pendingTargetTabTitle: tabTitle || null,
+ pendingTargetHost: error?.host || null,
+ pendingTargetOriginPattern: error?.originPattern || null
+ });
+}
+
+async function clearPendingTarget() {
+ const pending = await chrome.storage.session.get('pendingTargetTabId');
+ const pendingTabId = normalizeTabId(pending.pendingTargetTabId);
+ if (pendingTabId !== null) {
+ await removeTabHostAccessRequest(chrome, pendingTabId);
+ }
+ await chrome.storage.session.set({
+ pendingTargetTabId: null,
+ pendingTargetTabTitle: null,
+ pendingTargetHost: null,
+ pendingTargetOriginPattern: null
+ });
+}
+
+async function activateTargetTab(tabId, tabTitle, { requestHostAccess = true } = {}) {
+ const selectedTabId = normalizeTabId(tabId);
+ if (selectedTabId === null) {
+ return { status: 'invalid_tab' };
}
- await chrome.scripting.executeScript({
- target: { tabId },
- files: ['page-api-seek-overrides.js']
+ const activationGeneration = ++targetActivationGeneration;
+ const previousTabId = currentTabId;
+
+ try {
+ await injectContentScript(selectedTabId, { requestHostAccess });
+ } catch (error) {
+ if (activationGeneration !== targetActivationGeneration) {
+ return { status: 'superseded' };
+ }
+ currentTabId = null;
+ currentTabTitle = null;
+ if (currentRoom) roomIdleSince = Date.now();
+ if (previousTabId) {
+ resetAudioProcessingInTab(previousTabId);
+ }
+ await chrome.storage.session.set({
+ currentTabId: null,
+ currentTabTitle: null,
+ roomIdleSince,
+ lastContentHeartbeatAt: null
+ });
+ updateBadgeStatus();
+
+ if (error?.code === HOST_ACCESS_REQUIRED_STATUS) {
+ await rememberPendingTarget(selectedTabId, tabTitle, error);
+ } else {
+ await clearPendingTarget();
+ }
+ throw error;
+ }
+
+ if (activationGeneration !== targetActivationGeneration) {
+ if (currentTabId !== selectedTabId) resetAudioProcessingInTab(selectedTabId);
+ return { status: 'superseded' };
+ }
+
+ currentTabId = selectedTabId;
+ currentTabTitle = tabTitle || null;
+ lastContentHeartbeatAt = null;
+ if (currentRoom) roomIdleSince = Date.now();
+ if (previousTabId && previousTabId !== selectedTabId) {
+ resetAudioProcessingInTab(previousTabId);
+ }
+ await applyAudioSettingsToTab(selectedTabId);
+ await clearPendingTarget();
+ await chrome.storage.session.set({
+ currentTabId,
+ currentTabTitle,
+ roomIdleSince,
+ lastContentHeartbeatAt
});
- await chrome.scripting.executeScript({
- target: { tabId },
- func: setPageApiSeekEnabled,
- args: [pageApiSeekReady]
- });
- return chrome.scripting.executeScript({
- target: { tabId },
- files: ['content.js']
+ updateBadgeStatus();
+ return { status: 'ok', tabId: selectedTabId };
+}
+
+async function retryPendingTarget() {
+ const pending = await chrome.storage.session.get([
+ 'pendingTargetTabId',
+ 'pendingTargetTabTitle'
+ ]);
+ const tabId = normalizeTabId(pending.pendingTargetTabId);
+ if (tabId === null) return null;
+
+ try {
+ const response = await activateTargetTab(tabId, pending.pendingTargetTabTitle, {
+ requestHostAccess: false
+ });
+ if (response.status === 'ok') {
+ addLog(`Website access granted; selected tab ${tabId}`, 'success');
+ chrome.runtime.sendMessage({ type: 'TARGET_TAB_READY', tabId }).catch(() => {});
+ }
+ return response;
+ } catch (error) {
+ if (error?.code !== HOST_ACCESS_REQUIRED_STATUS) {
+ await clearPendingTarget();
+ addLog(`Pending tab activation failed: ${error.message}`, 'warn');
+ }
+ return injectionFailureResponse(error);
+ }
+}
+
+if (chrome.permissions?.onAdded?.addListener) {
+ chrome.permissions.onAdded.addListener(() => {
+ ensureState()
+ .then(() => retryPendingTarget())
+ .catch(error => addLog(`Website access retry failed: ${error.message}`, 'warn'));
});
}
@@ -1948,6 +2120,14 @@ async function handleAsyncMessage(message, sender, sendResponse) {
connect();
sendResponse({ status: 'ok' });
} else if (message.type === 'GET_STATUS') {
+ if (message.retryPendingTarget === true) {
+ await retryPendingTarget();
+ }
+ const pendingTarget = await chrome.storage.session.get([
+ 'pendingTargetTabId',
+ 'pendingTargetHost',
+ 'pendingTargetOriginPattern'
+ ]);
const isConnected = socket && socket.readyState === WebSocket.OPEN && isNamespaceJoined;
const isReconnecting = !isConnected && reconnectAttempts > 0;
let status = isConnected ? 'connected' : (isConnecting || (socket && socket.readyState === WebSocket.CONNECTING) ? 'connecting' : (isReconnecting ? 'reconnecting' : 'disconnected'));
@@ -1959,6 +2139,9 @@ async function handleAsyncMessage(message, sender, sendResponse) {
peers: currentRoom ? currentRoom.peers : [],
lastActionState,
targetTabId: currentTabId,
+ pendingTargetTabId: pendingTarget.pendingTargetTabId || null,
+ pendingTargetHost: pendingTarget.pendingTargetHost || null,
+ pendingTargetOriginPattern: pendingTarget.pendingTargetOriginPattern || null,
episodeLobby: episodeLobby,
reconnectAttempts,
reconnectSlowMode: reconnectFailed,
@@ -2059,6 +2242,7 @@ async function handleAsyncMessage(message, sender, sendResponse) {
// Notify content.js/popup BEFORE currentTabId is cleared so they drop any
// stale guest-side HCM state (dialog/badge/desync) — H-2/H-3.
broadcastControlMode();
+ targetActivationGeneration++;
currentTabId = null;
currentTabTitle = null;
roomIdleSince = null;
@@ -2073,6 +2257,7 @@ async function handleAsyncMessage(message, sender, sendResponse) {
// Cancel any active episode lobby
clearEpisodeLobbyState();
+ await clearPendingTarget();
chrome.storage.session.set({
currentRoom: null,
@@ -2427,8 +2612,8 @@ async function handleAsyncMessage(message, sender, sendResponse) {
sendResponse({ status: 'ok' });
});
} else if (message.type === 'INJECT_CONTENT_SCRIPT') {
- const tabId = Number(message.tabId);
- if (!Number.isInteger(tabId)) {
+ const tabId = normalizeTabId(message.tabId);
+ if (tabId === null) {
sendResponse({ status: 'invalid_tab' });
return true;
}
@@ -2437,34 +2622,37 @@ async function handleAsyncMessage(message, sender, sendResponse) {
sendResponse({ status: 'ok' });
}).catch(err => {
addLog(`Failed to inject into tab: ${err.message}`, 'warn');
- sendResponse({ status: 'error', message: err.message });
+ sendResponse(injectionFailureResponse(err));
});
return true;
} else if (message.type === 'SET_TARGET_TAB') {
- const previousTabId = currentTabId;
- currentTabId = message.tabId;
- currentTabTitle = message.tabTitle;
- lastContentHeartbeatAt = null;
- if (currentRoom) {
- roomIdleSince = Date.now();
+ if (message.tabId === null || message.tabId === undefined || message.tabId === '') {
+ const previousTabId = currentTabId;
+ targetActivationGeneration++;
+ currentTabId = null;
+ currentTabTitle = null;
+ lastContentHeartbeatAt = null;
+ if (currentRoom) roomIdleSince = Date.now();
+ if (previousTabId) resetAudioProcessingInTab(previousTabId);
+ await clearPendingTarget();
+ await chrome.storage.session.set({
+ currentTabId: null,
+ currentTabTitle: null,
+ roomIdleSince,
+ lastContentHeartbeatAt: null
+ });
+ updateBadgeStatus();
+ sendResponse({ status: 'ok', tabId: null });
+ return;
}
- chrome.storage.session.set({ currentTabId, currentTabTitle, roomIdleSince, lastContentHeartbeatAt });
- updateBadgeStatus();
- if (previousTabId && previousTabId !== currentTabId) {
- resetAudioProcessingInTab(previousTabId);
+ try {
+ const response = await activateTargetTab(message.tabId, message.tabTitle);
+ sendResponse(response);
+ } catch (error) {
+ addLog(`Failed to select tab: ${error.message}`, 'warn');
+ sendResponse(injectionFailureResponse(error));
}
-
- if (currentTabId) {
- const selectedTabId = currentTabId;
- injectContentScript(selectedTabId)
- .then(() => applyAudioSettingsToTab(selectedTabId))
- .catch(err => {
- addLog(`Failed to inject into tab: ${err.message}`, 'warn');
- });
- }
-
- sendResponse({ status: 'ok' });
} else if (message.type === 'LOG') {
addLog(`[Content] ${message.message}`, message.level || 'info');
sendResponse({ status: 'ok' });
@@ -2647,7 +2835,10 @@ async function handleAsyncMessage(message, sender, sendResponse) {
initTabManager({
getCurrentTabId: () => currentTabId,
- setCurrentTabId: (val) => { currentTabId = val; },
+ setCurrentTabId: (val) => {
+ if (val !== currentTabId) targetActivationGeneration++;
+ currentTabId = val;
+ },
setCurrentTabTitle: (val) => { currentTabTitle = val; },
setLastContentHeartbeatAt: (val) => { lastContentHeartbeatAt = val; },
setRoomIdleSince: (val) => { roomIdleSince = val; },
diff --git a/extension/host-access.js b/extension/host-access.js
new file mode 100644
index 0000000..d47b1a8
--- /dev/null
+++ b/extension/host-access.js
@@ -0,0 +1,88 @@
+export const HOST_ACCESS_REQUIRED_STATUS = 'host_permission_required';
+
+export function normalizeTabId(value) {
+ if (value === null || value === undefined || value === '') return null;
+ const tabId = Number(value);
+ return Number.isInteger(tabId) && tabId > 0 ? tabId : null;
+}
+
+export function describeTabUrl(rawUrl) {
+ if (typeof rawUrl !== 'string' || !rawUrl) return null;
+
+ try {
+ const url = new URL(rawUrl);
+ if (url.protocol === 'http:' || url.protocol === 'https:') {
+ return {
+ url: rawUrl,
+ host: url.host,
+ originPattern: `${url.origin}/*`
+ };
+ }
+ if (url.protocol === 'file:') {
+ return {
+ url: rawUrl,
+ host: 'local file',
+ originPattern: 'file:///*'
+ };
+ }
+ } catch (_e) {
+ // Invalid and browser-internal URLs cannot receive host access.
+ }
+
+ return null;
+}
+
+export async function inspectTabHostAccess(chromeApi, tabId) {
+ const tab = await chromeApi.tabs.get(tabId);
+ const descriptor = describeTabUrl(tab?.url || '');
+ if (!descriptor) {
+ return {
+ tab,
+ url: tab?.url || '',
+ host: null,
+ originPattern: null,
+ granted: null
+ };
+ }
+
+ if (typeof chromeApi.permissions?.contains !== 'function') {
+ return { tab, ...descriptor, granted: null };
+ }
+
+ try {
+ const granted = await chromeApi.permissions.contains({
+ origins: [descriptor.originPattern]
+ });
+ return { tab, ...descriptor, granted: granted === true };
+ } catch (_e) {
+ // Permission inspection is advisory. The actual script injection below
+ // remains the source of truth, including temporary activeTab access.
+ return { tab, ...descriptor, granted: null };
+ }
+}
+
+export async function addTabHostAccessRequest(chromeApi, tabId) {
+ if (typeof chromeApi.permissions?.addHostAccessRequest !== 'function') {
+ return false;
+ }
+
+ try {
+ await chromeApi.permissions.addHostAccessRequest({ tabId });
+ return true;
+ } catch (_e) {
+ return false;
+ }
+}
+
+export async function removeTabHostAccessRequest(chromeApi, tabId) {
+ if (typeof chromeApi.permissions?.removeHostAccessRequest !== 'function') {
+ return false;
+ }
+
+ try {
+ await chromeApi.permissions.removeHostAccessRequest({ tabId });
+ return true;
+ } catch (_e) {
+ return false;
+ }
+}
diff --git a/extension/locales/de.json b/extension/locales/de.json
index 6507be7..80877ae 100644
--- a/extension/locales/de.json
+++ b/extension/locales/de.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Identität noch nicht geladen. Warte kurz und versuche es erneut.",
"ERR_NO_PEERS_TIME": "Keine anderen Teilnehmer mit bekannter Zeit. Wechsle zu 'Zu mir springen'.",
"ERR_NO_VIDEO_TAB": "Verbindung zum Video-Tab fehlgeschlagen.",
+ "SITE_ACCESS_REQUIRED": "Dein Browser blockiert KoalaSync auf {host}. Klicke unten auf „Zugriff erlauben“. Falls kein Dialog erscheint, erlaube KoalaSync in den Erweiterungs- oder Websiteberechtigungen für diese Seite.",
+ "BTN_RETRY_ACCESS": "Zugriff erlauben",
"ERR_SELECT_VIDEO": "Bitte wähle zuerst ein Video aus!",
"TOAST_INVITE_COPIED": "Einladungslink kopiert!",
"TOAST_COPY_FAILED": "Kopieren in Zwischenablage fehlgeschlagen",
diff --git a/extension/locales/en.json b/extension/locales/en.json
index 25f5c04..b4274c2 100644
--- a/extension/locales/en.json
+++ b/extension/locales/en.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Identity not yet loaded. Wait a moment and try again.",
"ERR_NO_PEERS_TIME": "No other peers with a known time. Switch to 'Jump to Me'.",
"ERR_NO_VIDEO_TAB": "Could not connect to video tab.",
+ "SITE_ACCESS_REQUIRED": "Your browser is blocking KoalaSync on {host}. Click \"Allow access\" below. If no dialog appears, allow KoalaSync on this site in your extension or site permissions.",
+ "BTN_RETRY_ACCESS": "Allow access",
"ERR_SELECT_VIDEO": "Please select a video first!",
"TOAST_INVITE_COPIED": "Invite link copied!",
"TOAST_COPY_FAILED": "Failed to copy to clipboard",
diff --git a/extension/locales/es.json b/extension/locales/es.json
index 624e419..dca55b0 100644
--- a/extension/locales/es.json
+++ b/extension/locales/es.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Identidad no cargada aún. Espera un momento e inténtalo de nuevo.",
"ERR_NO_PEERS_TIME": "No hay otros participantes con posición conocida. Cambia a 'Traerlos a mi posición'.",
"ERR_NO_VIDEO_TAB": "No se pudo conectar a la pestaña de video.",
+ "SITE_ACCESS_REQUIRED": "Tu navegador está bloqueando KoalaSync en {host}. Haz clic en «Permitir acceso». Si no aparece ningún diálogo, permite KoalaSync en este sitio desde los permisos de extensiones o del sitio.",
+ "BTN_RETRY_ACCESS": "Permitir acceso",
"ERR_SELECT_VIDEO": "¡Selecciona un video primero!",
"TOAST_INVITE_COPIED": "¡Enlace de invitación copiado!",
"TOAST_COPY_FAILED": "Error al copiar al portapapeles",
diff --git a/extension/locales/fr.json b/extension/locales/fr.json
index 67e0408..9f8ea18 100644
--- a/extension/locales/fr.json
+++ b/extension/locales/fr.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Identifiant non encore chargé. Veuillez patienter et réessayer.",
"ERR_NO_PEERS_TIME": "Aucun autre membre avec une position connue. Basculez sur 'Les amener à moi'.",
"ERR_NO_VIDEO_TAB": "Impossible de se connecter à l'onglet vidéo.",
+ "SITE_ACCESS_REQUIRED": "Votre navigateur bloque KoalaSync sur {host}. Cliquez sur « Autoriser l’accès ». Si aucune boîte de dialogue n’apparaît, autorisez KoalaSync sur ce site dans les permissions des extensions ou du site.",
+ "BTN_RETRY_ACCESS": "Autoriser l’accès",
"ERR_SELECT_VIDEO": "Veuillez d'abord sélectionner une vidéo !",
"TOAST_INVITE_COPIED": "Lien d'invitation copié !",
"TOAST_COPY_FAILED": "Échec de la copie dans le presse-papiers",
diff --git a/extension/locales/it.json b/extension/locales/it.json
index bb72c95..3eda6a2 100644
--- a/extension/locales/it.json
+++ b/extension/locales/it.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Identità non ancora caricata. Attendi un momento.",
"ERR_NO_PEERS_TIME": "Nessun altro partecipante con posizione nota. Passa a 'Portali alla mia posizione'.",
"ERR_NO_VIDEO_TAB": "Impossibile connettersi alla scheda del video.",
+ "SITE_ACCESS_REQUIRED": "Il browser sta bloccando KoalaSync su {host}. Fai clic su «Consenti accesso». Se non appare alcuna finestra, consenti KoalaSync su questo sito nelle autorizzazioni dell’estensione o del sito.",
+ "BTN_RETRY_ACCESS": "Consenti accesso",
"ERR_SELECT_VIDEO": "Seleziona prima un video!",
"TOAST_INVITE_COPIED": "Link di invito copiato!",
"TOAST_COPY_FAILED": "Impossibile copiare negli appunti",
diff --git a/extension/locales/ja.json b/extension/locales/ja.json
index 70162a8..1047ab4 100644
--- a/extension/locales/ja.json
+++ b/extension/locales/ja.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "IDがまだロードされていません。しばらく待ってから再試行してください。",
"ERR_NO_PEERS_TIME": "既知の時間を持つ他のメンバーがいません。「自分に合わせる」に切り替えてください。",
"ERR_NO_VIDEO_TAB": "ビデオタブに接続できませんでした。",
+ "SITE_ACCESS_REQUIRED": "ブラウザーが {host} で KoalaSync をブロックしています。下の「アクセスを許可」をクリックしてください。ダイアログが表示されない場合は、拡張機能またはサイトの権限でこのサイトの KoalaSync を許可してください。",
+ "BTN_RETRY_ACCESS": "アクセスを許可",
"ERR_SELECT_VIDEO": "最初にビデオを選択してください!",
"TOAST_INVITE_COPIED": "招待リンクをコピーしました!",
"TOAST_COPY_FAILED": "クリップボードへのコピーに失敗しました",
diff --git a/extension/locales/ko.json b/extension/locales/ko.json
index d40a320..5e8ad89 100644
--- a/extension/locales/ko.json
+++ b/extension/locales/ko.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "ID가 아직 로드되지 않았습니다. 잠시 후 다시 시도해 주세요.",
"ERR_NO_PEERS_TIME": "시간을 알고 있는 다른 피어가 없습니다. '나에게 이동'으로 전환하세요.",
"ERR_NO_VIDEO_TAB": "비디오 탭에 연결할 수 없습니다.",
+ "SITE_ACCESS_REQUIRED": "브라우저가 {host}에서 KoalaSync를 차단하고 있습니다. 아래의 ‘액세스 허용’을 클릭하세요. 대화상자가 표시되지 않으면 확장 프로그램 또는 사이트 권한에서 이 사이트의 KoalaSync를 허용하세요.",
+ "BTN_RETRY_ACCESS": "액세스 허용",
"ERR_SELECT_VIDEO": "먼저 비디오를 선택하세요!",
"TOAST_INVITE_COPIED": "초대 링크가 복사되었습니다!",
"TOAST_COPY_FAILED": "클립보드 복사에 실패했습니다",
diff --git a/extension/locales/nl.json b/extension/locales/nl.json
index dd2a201..c7ca7c6 100644
--- a/extension/locales/nl.json
+++ b/extension/locales/nl.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Identiteit nog niet geladen. Wacht een moment en probeer het opnieuw.",
"ERR_NO_PEERS_TIME": "Geen andere deelnemers met een bekende tijd. Schakel over naar 'Spring naar mij'.",
"ERR_NO_VIDEO_TAB": "Kon geen verbinding maken met videotabblad.",
+ "SITE_ACCESS_REQUIRED": "Je browser blokkeert KoalaSync op {host}. Klik hieronder op ‘Toegang toestaan’. Als er geen dialoog verschijnt, sta KoalaSync voor deze site toe via de extensie- of siterechten.",
+ "BTN_RETRY_ACCESS": "Toegang toestaan",
"ERR_SELECT_VIDEO": "Selecteer eerst een video!",
"TOAST_INVITE_COPIED": "Uitnodigingslink gekopieerd!",
"TOAST_COPY_FAILED": "Kopiëren naar klembord mislukt",
diff --git a/extension/locales/pl.json b/extension/locales/pl.json
index dde3e3d..d9cbc79 100644
--- a/extension/locales/pl.json
+++ b/extension/locales/pl.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Tożsamość nie została jeszcze załadowana. Odczekaj chwilę i spróbuj ponownie.",
"ERR_NO_PEERS_TIME": "Brak innych uczestników ze znanym czasem. Przełącz na 'Skocz do mnie'.",
"ERR_NO_VIDEO_TAB": "Nie można połączyć się z kartą wideo.",
+ "SITE_ACCESS_REQUIRED": "Przeglądarka blokuje KoalaSync na {host}. Kliknij poniżej „Zezwól na dostęp”. Jeśli nie pojawi się okno, zezwól KoalaSync na tej stronie w uprawnieniach rozszerzenia lub witryny.",
+ "BTN_RETRY_ACCESS": "Zezwól na dostęp",
"ERR_SELECT_VIDEO": "Najpierw wybierz wideo!",
"TOAST_INVITE_COPIED": "Link zaproszenia skopiowany!",
"TOAST_COPY_FAILED": "Nie udało się skopiować do schowka",
diff --git a/extension/locales/pt-BR.json b/extension/locales/pt-BR.json
index 1d07782..ff34219 100644
--- a/extension/locales/pt-BR.json
+++ b/extension/locales/pt-BR.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Identidade não carregada ainda. Aguarde um momento.",
"ERR_NO_PEERS_TIME": "Nenhum participante com posição conhecida. Mude para 'Trazer para a minha posição'.",
"ERR_NO_VIDEO_TAB": "Não foi possível conectar à aba do vídeo.",
+ "SITE_ACCESS_REQUIRED": "Seu navegador está bloqueando o KoalaSync em {host}. Clique em «Permitir acesso» abaixo. Se nenhuma caixa de diálogo aparecer, permita o KoalaSync neste site nas permissões da extensão ou do site.",
+ "BTN_RETRY_ACCESS": "Permitir acesso",
"ERR_SELECT_VIDEO": "Selecione um vídeo primeiro!",
"TOAST_INVITE_COPIED": "Link de convite copiado!",
"TOAST_COPY_FAILED": "Falha ao copiar para a área de transferência",
diff --git a/extension/locales/pt.json b/extension/locales/pt.json
index b360401..97847fd 100644
--- a/extension/locales/pt.json
+++ b/extension/locales/pt.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Identidade ainda não carregada. Aguarde um momento.",
"ERR_NO_PEERS_TIME": "Nenhum participante com hora conhecida. Mude para 'Trazer para a minha posição'.",
"ERR_NO_VIDEO_TAB": "Não foi possível aceder ao separador do vídeo.",
+ "SITE_ACCESS_REQUIRED": "O seu navegador está a bloquear o KoalaSync em {host}. Clique em «Permitir acesso» abaixo. Se não aparecer uma caixa de diálogo, permita o KoalaSync neste site nas permissões da extensão ou do site.",
+ "BTN_RETRY_ACCESS": "Permitir acesso",
"ERR_SELECT_VIDEO": "Selecione primeiro um vídeo!",
"TOAST_INVITE_COPIED": "Link de convite copiado!",
"TOAST_COPY_FAILED": "Falha ao copiar para a área de transferência",
diff --git a/extension/locales/ru.json b/extension/locales/ru.json
index 7aa0e35..7b679e7 100644
--- a/extension/locales/ru.json
+++ b/extension/locales/ru.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Идентификатор еще не загружен. Подождите немного и повторите попытку.",
"ERR_NO_PEERS_TIME": "Нет других участников с известной позицией плеера. Выберите 'Синхронизировать по мне'.",
"ERR_NO_VIDEO_TAB": "Не удалось подключиться к вкладке с видео.",
+ "SITE_ACCESS_REQUIRED": "Браузер блокирует KoalaSync на {host}. Нажмите «Разрешить доступ» ниже. Если диалог не появится, разрешите KoalaSync для этого сайта в настройках расширения или разрешениях сайта.",
+ "BTN_RETRY_ACCESS": "Разрешить доступ",
"ERR_SELECT_VIDEO": "Пожалуйста, сначала выберите вкладку с видео!",
"TOAST_INVITE_COPIED": "Ссылка скопирована в буфер обмена!",
"TOAST_COPY_FAILED": "Не удалось скопировать ссылку в буфер обмена",
diff --git a/extension/locales/tr.json b/extension/locales/tr.json
index b5b29da..e69a99d 100644
--- a/extension/locales/tr.json
+++ b/extension/locales/tr.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Kimlik henüz yüklenmedi. Biraz bekleyin ve tekrar deneyin.",
"ERR_NO_PEERS_TIME": "Bilinen bir zamanı olan başka bağlantı yok. 'Bana Atla' seçeneğine geçin.",
"ERR_NO_VIDEO_TAB": "Video sekmesine bağlanılamadı.",
+ "SITE_ACCESS_REQUIRED": "Tarayıcınız {host} üzerinde KoalaSync'i engelliyor. Aşağıdaki “Erişime izin ver” düğmesine tıklayın. İletişim kutusu görünmezse uzantı veya site izinlerinden bu site için KoalaSync'e izin verin.",
+ "BTN_RETRY_ACCESS": "Erişime izin ver",
"ERR_SELECT_VIDEO": "Lütfen önce bir video seçin!",
"TOAST_INVITE_COPIED": "Davet bağlantısı kopyalandı!",
"TOAST_COPY_FAILED": "Panoya kopyalanamadı",
diff --git a/extension/locales/uk.json b/extension/locales/uk.json
index 22aa7d5..a26676b 100644
--- a/extension/locales/uk.json
+++ b/extension/locales/uk.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "Посвідчення особи ще не завантажено. Зачекайте хвилинку та повторіть спробу.",
"ERR_NO_PEERS_TIME": "Немає інших аналогів із відомим часом. Переключіться на «Перейти до мене».",
"ERR_NO_VIDEO_TAB": "Не вдалося підключитися до вкладки відео.",
+ "SITE_ACCESS_REQUIRED": "Браузер блокує KoalaSync на {host}. Натисніть «Дозволити доступ» нижче. Якщо діалог не з’явиться, дозвольте KoalaSync для цього сайту в налаштуваннях розширення або дозволах сайту.",
+ "BTN_RETRY_ACCESS": "Дозволити доступ",
"ERR_SELECT_VIDEO": "Спочатку виберіть відео!",
"TOAST_INVITE_COPIED": "Посилання на запрошення скопійовано!",
"TOAST_COPY_FAILED": "Не вдалося скопіювати в буфер обміну",
diff --git a/extension/locales/zh.json b/extension/locales/zh.json
index dda1b53..786cf4b 100644
--- a/extension/locales/zh.json
+++ b/extension/locales/zh.json
@@ -148,6 +148,8 @@
"ERR_IDENTITY_NOT_LOADED": "身份尚未加载。稍等片刻,然后重试。",
"ERR_NO_PEERS_TIME": "没有其他已知时间的同行。切换到“跳到我这里”。",
"ERR_NO_VIDEO_TAB": "无法连接到视频选项卡。",
+ "SITE_ACCESS_REQUIRED": "浏览器正在阻止 KoalaSync 访问 {host}。请点击下方的“允许访问”。如果未显示对话框,请在扩展程序或网站权限中允许 KoalaSync 访问此网站。",
+ "BTN_RETRY_ACCESS": "允许访问",
"ERR_SELECT_VIDEO": "请先选择视频!",
"TOAST_INVITE_COPIED": "邀请链接已复制!",
"TOAST_COPY_FAILED": "无法复制到剪贴板",
diff --git a/extension/popup.html b/extension/popup.html
index 33db0ff..162711d 100644
--- a/extension/popup.html
+++ b/extension/popup.html
@@ -453,6 +453,24 @@
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
+ .site-access-notice {
+ display: none;
+ margin-top: 8px;
+ margin-bottom: 0;
+ border-left: 4px solid var(--warning);
+ background: color-mix(in oklch, var(--warning), var(--card) 90%);
+ color: var(--text);
+ font-size: 11px;
+ line-height: 1.45;
+ }
+
+ .site-access-notice button {
+ width: auto;
+ margin-top: 8px;
+ padding: 6px 10px;
+ font-size: 11px;
+ }
+
.peer-item {
padding: 10px 0;
border-bottom: 1px solid var(--border-strong);
@@ -1432,6 +1450,10 @@
Select your video here!
+
+
+
+
diff --git a/extension/popup.js b/extension/popup.js
index c7af580..de7fae0 100644
--- a/extension/popup.js
+++ b/extension/popup.js
@@ -10,6 +10,9 @@ const elements = {
contents: document.querySelectorAll('.tab-content'),
copyInvite: document.getElementById('copyInvite'),
targetTab: document.getElementById('targetTab'),
+ siteAccessNotice: document.getElementById('siteAccessNotice'),
+ siteAccessMessage: document.getElementById('siteAccessMessage'),
+ siteAccessRetry: document.getElementById('siteAccessRetry'),
forceSyncBtn: document.getElementById('forceSyncBtn'),
forceSyncMode: document.getElementById('forceSyncMode'),
peerList: document.getElementById('peerList'),
@@ -387,7 +390,7 @@ async function init() {
// Initial Status Check (status shows via GET_STATUS below)
// Initial Status Check
- chrome.runtime.sendMessage({ type: 'GET_STATUS' }, async (res) => {
+ chrome.runtime.sendMessage({ type: 'GET_STATUS', retryPendingTarget: true }, async (res) => {
if (chrome.runtime.lastError) {
console.warn('[Popup] Background not responding:', chrome.runtime.lastError.message);
await populateTabs();
@@ -410,13 +413,20 @@ async function init() {
applyConnectionStatus('connecting');
}
- // Populate Tabs using the background's targetTabId
- await populateTabs(res.peers, res.targetTabId);
+ if (res.pendingTargetTabId) {
+ showSiteAccessNotice(res.pendingTargetHost, res.pendingTargetOriginPattern);
+ } else {
+ hideSiteAccessNotice();
+ }
+
+ // Keep a denied selection visible while Chrome waits for the user
+ // to grant access; it becomes active automatically after approval.
+ await populateTabs(res.peers, res.targetTabId || res.pendingTargetTabId);
// Render lobby status if active
if (res.episodeLobby) updateLobbyUI(res.episodeLobby, res.peers);
- if (res.status === 'connected' && !res.targetTabId && localData.roomId) {
+ if (res.status === 'connected' && !res.targetTabId && !res.pendingTargetTabId && localData.roomId) {
const syncTabBtn = document.querySelector('.tab-btn[data-tab="tab-sync"]');
if (syncTabBtn) syncTabBtn.click();
showSelectVideoHint();
@@ -463,6 +473,9 @@ function toggleUIState(inRoom) {
// --- Host Control Mode UI ---
// True when we're a guest in a host-only room → remote-control buttons are locked.
let hcmGuestLocked = false;
+let siteAccessBlocked = false;
+let siteAccessHost = null;
+let siteAccessOriginPattern = null;
// Co-Host state mirrored for the peer-list renderer (promote/demote + role badges).
let hcmAmOwner = false;
@@ -524,12 +537,15 @@ function updateHostControlUI(state) {
}
function setRemoteControlsLocked(locked) {
+ const effectiveLocked = locked || siteAccessBlocked;
[elements.playBtn, elements.pauseBtn, elements.forceSyncBtn].forEach(btn => {
if (!btn) return;
- btn.disabled = locked;
- btn.style.opacity = locked ? '0.5' : '';
- btn.style.cursor = locked ? 'not-allowed' : '';
- btn.title = locked ? (getMessage('NOTICE_HOST_CONTROLS') || 'The host controls playback for everyone.') : '';
+ btn.disabled = effectiveLocked;
+ btn.style.opacity = effectiveLocked ? '0.5' : '';
+ btn.style.cursor = effectiveLocked ? 'not-allowed' : '';
+ btn.title = siteAccessBlocked
+ ? (elements.siteAccessMessage?.textContent || getMessage('ERR_NO_VIDEO_TAB'))
+ : (locked ? (getMessage('NOTICE_HOST_CONTROLS') || 'The host controls playback for everyone.') : '');
});
// Always restore the default labels. The action handlers leave the text in a
// transitional state ("Playing..." / "Pausing...") and the 2.5s safety reset
@@ -540,6 +556,64 @@ function setRemoteControlsLocked(locked) {
if (elements.pauseBtn) elements.pauseBtn.textContent = getMessage('BTN_PAUSE') || 'Pause';
}
+function showSiteAccessNotice(host, originPattern = null) {
+ siteAccessBlocked = true;
+ siteAccessHost = host || siteAccessHost || 'website';
+ siteAccessOriginPattern = originPattern || siteAccessOriginPattern;
+ if (elements.siteAccessMessage) {
+ elements.siteAccessMessage.textContent = getMessage('SITE_ACCESS_REQUIRED', {
+ host: siteAccessHost
+ });
+ }
+ if (elements.siteAccessNotice) elements.siteAccessNotice.style.display = 'block';
+ setRemoteControlsLocked(hcmGuestLocked);
+}
+
+function hideSiteAccessNotice() {
+ siteAccessBlocked = false;
+ siteAccessHost = null;
+ siteAccessOriginPattern = null;
+ if (elements.siteAccessNotice) elements.siteAccessNotice.style.display = 'none';
+ setRemoteControlsLocked(hcmGuestLocked);
+}
+
+function handleTargetTabResponse(response) {
+ if (response?.status === 'host_permission_required') {
+ showSiteAccessNotice(response.host, response.originPattern);
+ return false;
+ }
+ if (response?.status === 'ok') {
+ hideSiteAccessNotice();
+ return true;
+ }
+ if (response?.status === 'superseded') return false;
+ showToast(response?.message || getMessage('ERR_NO_VIDEO_TAB'), 'error', 5000);
+ return false;
+}
+
+async function requestSiteAccess(originPattern) {
+ if (!originPattern || typeof chrome.permissions?.request !== 'function') return null;
+ try {
+ return await chrome.permissions.request({ origins: [originPattern] });
+ } catch (error) {
+ console.warn('[Popup] Host permission request failed:', error.message);
+ return false;
+ }
+}
+
+function selectTargetTab(tabId, tabTitle) {
+ return new Promise(resolve => {
+ chrome.runtime.sendMessage({ type: 'SET_TARGET_TAB', tabId, tabTitle }, response => {
+ if (chrome.runtime.lastError) {
+ showToast(chrome.runtime.lastError.message || getMessage('ERR_NO_VIDEO_TAB'), 'error', 5000);
+ resolve(false);
+ return;
+ }
+ resolve(handleTargetTabResponse(response));
+ });
+ });
+}
+
if (elements.hostControlToggle) {
elements.hostControlToggle.addEventListener('change', () => {
const mode = elements.hostControlToggle.checked ? 'host-only' : 'everyone';
@@ -998,7 +1072,7 @@ async function populateTabs(providedPeers = null, providedTargetTabId = null) {
if (populateTabsToken !== token) return;
currentTargetTabId = null;
} else {
- currentTargetTabId = status?.targetTabId;
+ currentTargetTabId = status?.targetTabId || status?.pendingTargetTabId;
}
}
@@ -1118,7 +1192,7 @@ async function populateTabs(providedPeers = null, providedTargetTabId = null) {
if (matchOpt && elements.targetTab.options.length > 1) {
elements.targetTab.value = matchOpt.value;
const tabTitle = matchOpt.dataset.originalTitle || null;
- chrome.runtime.sendMessage({ type: 'SET_TARGET_TAB', tabId: parseInt(matchOpt.value), tabTitle });
+ selectTargetTab(parseInt(matchOpt.value), tabTitle);
}
}
}
@@ -1471,7 +1545,12 @@ if (elements.langSelector) {
const data = await chrome.storage.local.get(['roomId', 'password', 'useCustomServer', 'serverUrl']);
updateUI(data.roomId, data.password, data.useCustomServer, data.serverUrl);
- await populateTabs(res.peers, res.targetTabId);
+ if (res.pendingTargetTabId) {
+ showSiteAccessNotice(res.pendingTargetHost, res.pendingTargetOriginPattern);
+ } else {
+ hideSiteAccessNotice();
+ }
+ await populateTabs(res.peers, res.targetTabId || res.pendingTargetTabId);
if (res.episodeLobby) updateLobbyUI(res.episodeLobby, res.peers);
} else {
applyConnectionStatus('disconnected');
@@ -1749,18 +1828,34 @@ elements.retryBtn.addEventListener('click', () => {
chrome.runtime.sendMessage({ type: 'RETRY_CONNECT' });
});
-elements.targetTab.addEventListener('change', () => {
+elements.targetTab.addEventListener('change', async () => {
const hint = document.getElementById('targetTabHint');
if (hint) hint.style.display = 'none';
const val = elements.targetTab.value;
const tabId = val ? parseInt(val) : null;
const tabTitle = elements.targetTab.options[elements.targetTab.selectedIndex]?.dataset.originalTitle || null;
- chrome.runtime.sendMessage({ type: 'SET_TARGET_TAB', tabId, tabTitle });
+ await selectTargetTab(tabId, tabTitle);
});
+if (elements.siteAccessRetry) {
+ elements.siteAccessRetry.addEventListener('click', async () => {
+ const val = elements.targetTab.value;
+ const tabId = val ? parseInt(val) : null;
+ const tabTitle = elements.targetTab.options[elements.targetTab.selectedIndex]?.dataset.originalTitle || null;
+ if (!tabId) {
+ showToast(getMessage('ERR_SELECT_VIDEO'), 'warning');
+ return;
+ }
+ elements.siteAccessRetry.disabled = true;
+ await requestSiteAccess(siteAccessOriginPattern);
+ await selectTargetTab(tabId, tabTitle);
+ elements.siteAccessRetry.disabled = false;
+ });
+}
+
elements.forceSyncBtn.addEventListener('click', async () => {
- if (hcmGuestLocked) return; // guest in host-only room — backstop (M-2/L-3)
+ if (hcmGuestLocked || siteAccessBlocked) return; // host/site-access backstop
if (elements.forceSyncBtn.disabled) return;
const originalText = elements.forceSyncBtn.textContent;
@@ -1806,7 +1901,7 @@ elements.forceSyncBtn.addEventListener('click', async () => {
// Don't unlock a button that's locked because we became a guest mid-flight —
// hcmGuestLocked is the source of truth for the lock state, and the next
// CONTROL_MODE update restores the correct label.
- if (!forceSyncDone && !hcmGuestLocked) {
+ if (!forceSyncDone && !hcmGuestLocked && !siteAccessBlocked) {
elements.forceSyncBtn.disabled = false;
elements.forceSyncBtn.textContent = originalText;
}
@@ -1818,7 +1913,7 @@ elements.forceSyncBtn.addEventListener('click', async () => {
if (forceSyncResetTimer) { clearTimeout(forceSyncResetTimer); forceSyncResetTimer = null; }
showError(getMessage('ERR_NO_VIDEO_TAB'));
forceSyncDone = true;
- elements.forceSyncBtn.disabled = false;
+ if (!hcmGuestLocked && !siteAccessBlocked) elements.forceSyncBtn.disabled = false;
elements.forceSyncBtn.textContent = originalText;
};
@@ -1857,6 +1952,9 @@ elements.forceSyncBtn.addEventListener('click', async () => {
if (chrome.runtime.lastError || !response) {
chrome.runtime.sendMessage({ type: 'INJECT_CONTENT_SCRIPT', tabId }, (injectResponse) => {
if (chrome.runtime.lastError || !injectResponse || injectResponse.status !== 'ok') {
+ if (injectResponse?.status === 'host_permission_required') {
+ showSiteAccessNotice(injectResponse.host, injectResponse.originPattern);
+ }
failForceSyncTime();
return;
}
@@ -1872,7 +1970,7 @@ elements.forceSyncBtn.addEventListener('click', async () => {
});
elements.playBtn.addEventListener('click', () => {
- if (hcmGuestLocked) return; // guest in host-only room — backstop
+ if (hcmGuestLocked || siteAccessBlocked) return; // host/site-access backstop
if (!elements.targetTab.value) {
showToast(getMessage('ERR_SELECT_VIDEO'), 'warning');
return;
@@ -1886,12 +1984,12 @@ elements.playBtn.addEventListener('click', () => {
}, (response) => {
if (response && response.status === 'ok_solo') {
elements.playBtn.textContent = getMessage('BTN_PLAY');
- elements.playBtn.disabled = false;
+ if (!hcmGuestLocked && !siteAccessBlocked) elements.playBtn.disabled = false;
}
});
// Safety reset: restore button after 2.5s in case no peers respond
setTimeout(() => {
- if (elements.playBtn.disabled && !hcmGuestLocked) {
+ if (elements.playBtn.disabled && !hcmGuestLocked && !siteAccessBlocked) {
elements.playBtn.textContent = getMessage('BTN_PLAY');
elements.playBtn.disabled = false;
}
@@ -1899,7 +1997,7 @@ elements.playBtn.addEventListener('click', () => {
});
elements.pauseBtn.addEventListener('click', () => {
- if (hcmGuestLocked) return; // guest in host-only room — backstop
+ if (hcmGuestLocked || siteAccessBlocked) return; // host/site-access backstop
if (!elements.targetTab.value) {
showToast(getMessage('ERR_SELECT_VIDEO'), 'warning');
return;
@@ -1913,12 +2011,12 @@ elements.pauseBtn.addEventListener('click', () => {
}, (response) => {
if (response && response.status === 'ok_solo') {
elements.pauseBtn.textContent = getMessage('BTN_PAUSE');
- elements.pauseBtn.disabled = false;
+ if (!hcmGuestLocked && !siteAccessBlocked) elements.pauseBtn.disabled = false;
}
});
// Safety reset: restore button after 2.5s in case no peers respond
setTimeout(() => {
- if (elements.pauseBtn.disabled && !hcmGuestLocked) {
+ if (elements.pauseBtn.disabled && !hcmGuestLocked && !siteAccessBlocked) {
elements.pauseBtn.textContent = getMessage('BTN_PAUSE');
elements.pauseBtn.disabled = false;
}
@@ -2083,7 +2181,7 @@ chrome.runtime.onMessage.addListener((msg) => {
if (state.acks && state.acks.length >= peerCount) {
btn.textContent = getMessage('BTN_STATE_SYNCED');
setTimeout(() => {
- btn.disabled = false;
+ if (!hcmGuestLocked && !siteAccessBlocked) btn.disabled = false;
btn.textContent = state.action === 'play' ? getMessage('BTN_PLAY') : getMessage('BTN_PAUSE');
}, 2000);
}
@@ -2098,7 +2196,7 @@ chrome.runtime.onMessage.addListener((msg) => {
forceSyncResetTimer = null;
}
if (elements.forceSyncBtn) {
- elements.forceSyncBtn.disabled = false;
+ if (!hcmGuestLocked && !siteAccessBlocked) elements.forceSyncBtn.disabled = false;
elements.forceSyncBtn.textContent = getMessage('BTN_STATE_SYNCED');
setTimeout(() => {
elements.forceSyncBtn.textContent = getMessage('BTN_SYNC');
@@ -2150,6 +2248,9 @@ chrome.runtime.onMessage.addListener((msg) => {
}
});
}
+ } else if (msg.type === 'TARGET_TAB_READY') {
+ hideSiteAccessNotice();
+ populateTabs(null, msg.tabId);
} else if (msg.type === 'PING_UPDATE') {
updatePingDisplay(msg.ping);
} else if (msg.type === 'HISTORY_UPDATE') {
diff --git a/scripts/test-host-access.mjs b/scripts/test-host-access.mjs
new file mode 100644
index 0000000..42efae4
--- /dev/null
+++ b/scripts/test-host-access.mjs
@@ -0,0 +1,99 @@
+import assert from 'node:assert/strict';
+import fs from 'node:fs';
+import path from 'node:path';
+import { cwd } from 'node:process';
+import {
+ HOST_ACCESS_REQUIRED_STATUS,
+ addTabHostAccessRequest,
+ describeTabUrl,
+ inspectTabHostAccess,
+ normalizeTabId,
+ removeTabHostAccessRequest
+} from '../extension/host-access.js';
+
+assert.equal(HOST_ACCESS_REQUIRED_STATUS, 'host_permission_required');
+assert.equal(normalizeTabId(null), null);
+assert.equal(normalizeTabId(undefined), null);
+assert.equal(normalizeTabId(''), null);
+assert.equal(normalizeTabId(0), null);
+assert.equal(normalizeTabId('42'), 42);
+assert.deepEqual(describeTabUrl('https://emby.example:8443/web/index.html'), {
+ url: 'https://emby.example:8443/web/index.html',
+ host: 'emby.example:8443',
+ originPattern: 'https://emby.example:8443/*'
+});
+assert.deepEqual(describeTabUrl('http://localhost:8096/web/'), {
+ url: 'http://localhost:8096/web/',
+ host: 'localhost:8096',
+ originPattern: 'http://localhost:8096/*'
+});
+assert.equal(describeTabUrl('chrome://extensions/'), null);
+assert.equal(describeTabUrl('not a url'), null);
+
+let containsRequest = null;
+const deniedChrome = {
+ tabs: {
+ get: async tabId => ({ id: tabId, url: 'https://video.example/watch' })
+ },
+ permissions: {
+ contains: async request => {
+ containsRequest = request;
+ return false;
+ }
+ }
+};
+const access = await inspectTabHostAccess(deniedChrome, 42);
+assert.equal(access.granted, false);
+assert.equal(access.host, 'video.example');
+assert.deepEqual(containsRequest, { origins: ['https://video.example/*'] });
+
+let requestedTabId = null;
+const requestChrome = {
+ permissions: {
+ addHostAccessRequest: async ({ tabId }) => { requestedTabId = tabId; }
+ }
+};
+assert.equal(await addTabHostAccessRequest(requestChrome, 42), true);
+assert.equal(requestedTabId, 42);
+assert.equal(await addTabHostAccessRequest({ permissions: {} }, 42), false);
+
+let removedTabId = null;
+const removeRequestChrome = {
+ permissions: {
+ removeHostAccessRequest: async ({ tabId }) => { removedTabId = tabId; }
+ }
+};
+assert.equal(await removeTabHostAccessRequest(removeRequestChrome, 42), true);
+assert.equal(removedTabId, 42);
+assert.equal(await removeTabHostAccessRequest({ permissions: {} }, 42), false);
+
+const background = fs.readFileSync(path.join(cwd(), 'extension', 'background.js'), 'utf8');
+const popup = fs.readFileSync(path.join(cwd(), 'extension', 'popup.js'), 'utf8');
+const popupHtml = fs.readFileSync(path.join(cwd(), 'extension', 'popup.html'), 'utf8');
+
+assert.match(background, /await activateTargetTab\(message\.tabId, message\.tabTitle\)/,
+ 'SET_TARGET_TAB must await successful activation before acknowledging it');
+assert.match(background, /addTabHostAccessRequest\(chrome, tabId\)/,
+ 'failed injection must register Chrome host-access request');
+assert.match(background, /retryPendingTarget\(\)/,
+ 'pending target must resume after the user grants access');
+assert.match(background, /activationGeneration !== targetActivationGeneration/,
+ 'stale concurrent tab activations must not overwrite the newest selection');
+const activateTargetBody = background.slice(
+ background.indexOf('async function activateTargetTab'),
+ background.indexOf('async function retryPendingTarget')
+);
+assert.ok(
+ activateTargetBody.indexOf('await injectContentScript') < activateTargetBody.indexOf('currentTabId = selectedTabId'),
+ 'a tab must not become current until its content script injection succeeds'
+);
+assert.match(background, /removeTabHostAccessRequest\(chrome, pendingTabId\)/,
+ 'clearing a pending target must also clear Chrome toolbar access requests');
+assert.match(popup, /response\?\.status === 'host_permission_required'/,
+ 'popup must render the structured host-access failure');
+assert.match(popup, /chrome\.permissions\.request\(\{ origins: \[originPattern\] \}\)/,
+ 'retry button must request withheld host access directly');
+assert.match(popupHtml, /id="siteAccessNotice"/,
+ 'popup must contain a persistent site-access notice');
+
+console.log('host access recovery tests passed');
diff --git a/scripts/test-site-access-help.mjs b/scripts/test-site-access-help.mjs
new file mode 100644
index 0000000..cf5daa0
--- /dev/null
+++ b/scripts/test-site-access-help.mjs
@@ -0,0 +1,57 @@
+#!/usr/bin/env node
+
+import assert from 'node:assert/strict';
+import fs from 'node:fs';
+import path from 'node:path';
+import { fileURLToPath } from 'node:url';
+
+const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
+const read = relativePath => fs.readFileSync(path.join(repoRoot, relativePath), 'utf8');
+
+const template = read('website/template.html');
+const foundationCss = read('website/styles/foundation.css');
+const supportCss = read('website/styles/support.css');
+const helpPage = read('website/site-access-help.html');
+const build = read('website/build.cjs');
+const localesDir = path.join(repoRoot, 'website', 'locales');
+
+assert.equal((template.match(/class="site-access-banner"/g) || []).length, 1,
+ 'localized landing template must contain exactly one support banner');
+assert.match(template, /href="\/site-access-help\.html"/,
+ 'every compiled language must link to the English root help page');
+assert.match(template, /\{\{SUPPORT_BANNER_TEXT\}\}/);
+assert.match(template, /\{\{SUPPORT_BANNER_CTA\}\}/);
+assert.match(foundationCss, /\.site-access-banner\s*\{/,
+ 'landing bundle must style the support banner without deferred CSS');
+
+for (const file of fs.readdirSync(localesDir).filter(file => file.endsWith('.json'))) {
+ const locale = JSON.parse(fs.readFileSync(path.join(localesDir, file), 'utf8'));
+ assert.ok(locale.SUPPORT_BANNER_TEXT?.trim(), `${file} is missing SUPPORT_BANNER_TEXT`);
+ assert.ok(locale.SUPPORT_BANNER_CTA?.trim(), `${file} is missing SUPPORT_BANNER_CTA`);
+}
+
+assert.match(helpPage, /monthly
0.3
+
+ https://sync.koalastuff.net/site-access-help.html
+ ${today}
+ weekly
+ 0.8
+ https://sync.koalastuff.net/de/impressum${today}
diff --git a/website/locales/de.json b/website/locales/de.json
index 2b6fd3f..ee5eb3a 100644
--- a/website/locales/de.json
+++ b/website/locales/de.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Starte eine Watch Party auf Netflix, Emby, Jellyfin, YouTube, Twitch und fast jedem HTML5-Video. Open Source, datenschutzfreundlich und ohne Konto.",
"NAV_FEATURES": "Funktionen",
"NAV_HOW_IT_WORKS": "So funktioniert's",
+ "SUPPORT_BANNER_TEXT": "KoalaSync kann nicht auf deine Videoseite zugreifen?",
+ "SUPPORT_BANNER_CTA": "Websitezugriff reparieren",
"HERO_TITLE": "Mach jedes Video zur Watch Party.",
"HERO_SUBTITLE": "Dein Kino-Abend auf Distanz, ohne Lags. Kein Account, kein Tracking, keine Werbung. Einfach Link teilen und gemeinsam Play drücken.",
"HERO_MASCOT_ALT": "Ein niedlicher Koala steht da und schaut nach unten auf die Download-Buttons",
diff --git a/website/locales/en.json b/website/locales/en.json
index f8f64f1..1028902 100644
--- a/website/locales/en.json
+++ b/website/locales/en.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Host a watch party on Netflix, Emby, Jellyfin, YouTube, Twitch and almost any HTML5 video. Open source, privacy-first, and account-free.",
"NAV_FEATURES": "Features",
"NAV_HOW_IT_WORKS": "How it works",
+ "SUPPORT_BANNER_TEXT": "KoalaSync cannot access your video site?",
+ "SUPPORT_BANNER_CTA": "Fix website access",
"HERO_TITLE": "Turn any video into a watch party.",
"HERO_SUBTITLE": "Your remote movie night without lags. No account, no tracking, no ads. Just share a link and press play together.",
"HERO_MASCOT_ALT": "A cute koala standing and looking down at the download buttons",
diff --git a/website/locales/es.json b/website/locales/es.json
index ed53a60..13f70ba 100644
--- a/website/locales/es.json
+++ b/website/locales/es.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Organiza una watch party en Netflix, Emby, Jellyfin, YouTube, Twitch y casi cualquier vídeo HTML5. Open source, privada y sin cuenta.",
"NAV_FEATURES": "Características",
"NAV_HOW_IT_WORKS": "Cómo funciona",
+ "SUPPORT_BANNER_TEXT": "¿KoalaSync no puede acceder al sitio del vídeo?",
+ "SUPPORT_BANNER_CTA": "Reparar acceso al sitio",
"HERO_TITLE": "Convierte cualquier vídeo en una watch party.",
"HERO_SUBTITLE": "Tu noche de cine a distancia, sin retrasos. Sin cuenta, sin rastreo, sin anuncios. Comparte un enlace y dale al play juntos.",
"HERO_MASCOT_ALT": "Un lindo koala de pie mirando hacia abajo a los botones de descarga",
diff --git a/website/locales/fr.json b/website/locales/fr.json
index eec36dd..5a6aa01 100644
--- a/website/locales/fr.json
+++ b/website/locales/fr.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Organisez une watch party sur Netflix, Emby, Jellyfin, YouTube, Twitch et presque toute vidéo HTML5. Open source, privé et sans compte.",
"NAV_FEATURES": "Fonctionnalités",
"NAV_HOW_IT_WORKS": "Comment ça marche",
+ "SUPPORT_BANNER_TEXT": "KoalaSync n’accède pas à votre site vidéo ?",
+ "SUPPORT_BANNER_CTA": "Réparer l’accès au site",
"HERO_TITLE": "Transformez n'importe quelle vidéo en watch party.",
"HERO_SUBTITLE": "Votre soirée ciné à distance, sans décalage. Pas de compte, pas de tracking, pas de pub. Partagez un lien et lancez la lecture ensemble.",
"HERO_MASCOT_ALT": "Un koala mignon debout et regardant vers le bas les boutons de téléchargement",
diff --git a/website/locales/it.json b/website/locales/it.json
index bc37ac9..87424f2 100644
--- a/website/locales/it.json
+++ b/website/locales/it.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Avvia una watch party su Netflix, Emby, Jellyfin, YouTube, Twitch e quasi ogni video HTML5. Open source, privata e senza account.",
"NAV_FEATURES": "Funzionalità",
"NAV_HOW_IT_WORKS": "Come Funziona",
+ "SUPPORT_BANNER_TEXT": "KoalaSync non riesce ad accedere al sito video?",
+ "SUPPORT_BANNER_CTA": "Ripristina l’accesso al sito",
"HERO_TITLE": "Trasforma qualsiasi video in una watch party.",
"HERO_SUBTITLE": "La tua serata film a distanza, senza lag. Niente account, niente tracciamento, niente pubblicità. Condividi un link e premete play insieme.",
"HERO_MASCOT_ALT": "Un simpatico koala che guarda i pulsanti di download",
diff --git a/website/locales/ja.json b/website/locales/ja.json
index 1ff4522..19e7bea 100644
--- a/website/locales/ja.json
+++ b/website/locales/ja.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Netflix、Emby、Jellyfin、YouTube、Twitch、ほぼすべてのHTML5動画でウォッチパーティーを開催。オープンソース、プライバシー重視、アカウント不要。",
"NAV_FEATURES": "機能",
"NAV_HOW_IT_WORKS": "仕組み",
+ "SUPPORT_BANNER_TEXT": "KoalaSync が動画サイトにアクセスできませんか?",
+ "SUPPORT_BANNER_CTA": "サイトアクセスを修復",
"HERO_TITLE": "どんな動画もウォッチパーティーに。",
"HERO_SUBTITLE": "離れていても一緒に映画ナイト。アカウント不要、トラッキングなし、広告なし。リンクを共有して、一緒に再生するだけ。",
"HERO_MASCOT_ALT": "ダウンロードボタンを見下ろしているかわいいコアラ",
diff --git a/website/locales/ko.json b/website/locales/ko.json
index c3c1fc2..6434372 100644
--- a/website/locales/ko.json
+++ b/website/locales/ko.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Netflix, Emby, Jellyfin, YouTube, Twitch 및 거의 모든 HTML5 영상에서 워치 파티를 열어보세요. 오픈소스, 개인정보 보호 중심, 계정 불필요.",
"NAV_FEATURES": "특징",
"NAV_HOW_IT_WORKS": "작동 방식",
+ "SUPPORT_BANNER_TEXT": "KoalaSync가 동영상 사이트에 액세스할 수 없나요?",
+ "SUPPORT_BANNER_CTA": "사이트 액세스 복구",
"HERO_TITLE": "어떤 영상이든 워치 파티로.",
"HERO_SUBTITLE": "지연 없는 원격 영화의 밤. 계정 없음, 추적 없음, 광고 없음. 링크만 공유하고 함께 재생하세요.",
"HERO_MASCOT_ALT": "다운로드 버튼을 내려다보고 서 있는 귀여운 코알라",
diff --git a/website/locales/nl.json b/website/locales/nl.json
index f5edee4..41a8a6d 100644
--- a/website/locales/nl.json
+++ b/website/locales/nl.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Start een watch party op Netflix, Emby, Jellyfin, YouTube, Twitch en bijna elke HTML5-video. Open source, privacyvriendelijk en zonder account.",
"NAV_FEATURES": "Functies",
"NAV_HOW_IT_WORKS": "Hoe het werkt",
+ "SUPPORT_BANNER_TEXT": "Heeft KoalaSync geen toegang tot je videosite?",
+ "SUPPORT_BANNER_CTA": "Websitetoegang herstellen",
"HERO_TITLE": "Maak van elke video een watch party.",
"HERO_SUBTITLE": "Jouw filmavond op afstand, zonder vertraging. Geen account, geen tracking, geen advertenties. Deel een link en druk samen op play.",
"HERO_MASCOT_ALT": "Een schattige koala die staat en naar beneden kijkt naar de downloadknoppen",
diff --git a/website/locales/pl.json b/website/locales/pl.json
index ef3bcdb..2d2ab69 100644
--- a/website/locales/pl.json
+++ b/website/locales/pl.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Zorganizuj watch party na Netflix, Emby, Jellyfin, YouTube, Twitch i prawie każdym wideo HTML5. Open source, prywatnie i bez konta.",
"NAV_FEATURES": "Funkcje",
"NAV_HOW_IT_WORKS": "Jak to działa",
+ "SUPPORT_BANNER_TEXT": "KoalaSync nie ma dostępu do strony z filmem?",
+ "SUPPORT_BANNER_CTA": "Napraw dostęp do strony",
"HERO_TITLE": "Zamień dowolne wideo w watch party.",
"HERO_SUBTITLE": "Twój zdalny wieczór filmowy bez opóźnień. Bez konta, bez śledzenia, bez reklam. Udostępnij link i naciśnijcie play razem.",
"HERO_MASCOT_ALT": "Uroczy koala stojący i patrzący w dół na przyciski pobierania",
diff --git a/website/locales/pt-BR.json b/website/locales/pt-BR.json
index 3bd9c15..1906f5d 100644
--- a/website/locales/pt-BR.json
+++ b/website/locales/pt-BR.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Crie uma watch party na Netflix, Emby, Jellyfin, YouTube, Twitch e quase qualquer vídeo HTML5. Open source, privado e sem conta.",
"NAV_FEATURES": "Recursos",
"NAV_HOW_IT_WORKS": "Como Funciona",
+ "SUPPORT_BANNER_TEXT": "O KoalaSync não consegue acessar o site do vídeo?",
+ "SUPPORT_BANNER_CTA": "Corrigir acesso ao site",
"HERO_TITLE": "Transforme qualquer vídeo em uma watch party.",
"HERO_SUBTITLE": "Sua sessão de cinema à distância, sem atrasos. Sem conta, sem rastreamento, sem anúncios. Compartilhe um link e deem play juntos.",
"HERO_MASCOT_ALT": "Um coala fofo olhando para os botões de download",
diff --git a/website/locales/pt.json b/website/locales/pt.json
index a9be5f6..7567526 100644
--- a/website/locales/pt.json
+++ b/website/locales/pt.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Cria uma watch party na Netflix, Emby, Jellyfin, YouTube, Twitch e quase qualquer vídeo HTML5. Open source, privado e sem conta.",
"NAV_FEATURES": "Funcionalidades",
"NAV_HOW_IT_WORKS": "Como Funciona",
+ "SUPPORT_BANNER_TEXT": "O KoalaSync não consegue aceder ao site do vídeo?",
+ "SUPPORT_BANNER_CTA": "Corrigir acesso ao site",
"HERO_TITLE": "Transforma qualquer vídeo numa watch party.",
"HERO_SUBTITLE": "A tua noite de cinema à distância, sem atrasos. Sem conta, sem rastreio, sem anúncios. Partilha um link e carreguem no play juntos.",
"HERO_MASCOT_ALT": "Um coala fofo a olhar para os botões de download",
diff --git a/website/locales/ru.json b/website/locales/ru.json
index 33c5883..a8eb060 100644
--- a/website/locales/ru.json
+++ b/website/locales/ru.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Запускайте watch party в Netflix, Emby, Jellyfin, YouTube, Twitch и почти любом HTML5-видео. Open source, приватно и без аккаунта.",
"NAV_FEATURES": "Функции",
"NAV_HOW_IT_WORKS": "Как это работает",
+ "SUPPORT_BANNER_TEXT": "KoalaSync не может получить доступ к сайту с видео?",
+ "SUPPORT_BANNER_CTA": "Исправить доступ к сайту",
"HERO_TITLE": "Преврати любое видео в watch party.",
"HERO_SUBTITLE": "Ваш киновечер на расстоянии, без задержек. Без аккаунта, без слежки, без рекламы. Просто поделитесь ссылкой и нажмите play вместе.",
"HERO_MASCOT_ALT": "Милый коала стоит и смотрит вниз на кнопки загрузки",
diff --git a/website/locales/tr.json b/website/locales/tr.json
index 7fa52b2..55506c5 100644
--- a/website/locales/tr.json
+++ b/website/locales/tr.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Netflix, Emby, Jellyfin, YouTube, Twitch ve neredeyse tüm HTML5 videolarında watch party başlatın. Açık kaynak, gizlilik odaklı ve hesapsız.",
"NAV_FEATURES": "Özellikler",
"NAV_HOW_IT_WORKS": "Nasıl Çalışır",
+ "SUPPORT_BANNER_TEXT": "KoalaSync video sitesine erişemiyor mu?",
+ "SUPPORT_BANNER_CTA": "Site erişimini düzelt",
"HERO_TITLE": "Herhangi bir videoyu watch party'ye dönüştür.",
"HERO_SUBTITLE": "Gecikmesiz uzaktan film gecen. Hesap yok, takip yok, reklam yok. Sadece bir bağlantı paylaş ve birlikte oynatın.",
"HERO_MASCOT_ALT": "İndirme düğmelerine bakan sevimli bir koala",
diff --git a/website/locales/uk.json b/website/locales/uk.json
index a44ad85..4912b53 100644
--- a/website/locales/uk.json
+++ b/website/locales/uk.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "Запускайте watch party у Netflix, Emby, Jellyfin, YouTube, Twitch і майже будь-якому HTML5-відео. Open source, приватно й без акаунта.",
"NAV_FEATURES": "особливості",
"NAV_HOW_IT_WORKS": "Як це працює",
+ "SUPPORT_BANNER_TEXT": "KoalaSync не має доступу до сайту з відео?",
+ "SUPPORT_BANNER_CTA": "Виправити доступ до сайту",
"HERO_TITLE": "Перетвори будь-яке відео на watch party.",
"HERO_SUBTITLE": "Ваш кіновечір на відстані, без затримок. Без акаунта, без стеження, без реклами. Просто поділіться посиланням і натисніть play разом.",
"HERO_MASCOT_ALT": "Мила коала стоїть і дивиться вниз на кнопки завантаження",
diff --git a/website/locales/zh.json b/website/locales/zh.json
index 1a0fab4..cfe3e44 100644
--- a/website/locales/zh.json
+++ b/website/locales/zh.json
@@ -14,6 +14,8 @@
"TWITTER_DESCRIPTION": "在 Netflix、Emby、Jellyfin、YouTube、Twitch 和几乎任意 HTML5 视频上发起一起看派对。开源、重视隐私、无需账号。",
"NAV_FEATURES": "特征",
"NAV_HOW_IT_WORKS": "它是如何运作的",
+ "SUPPORT_BANNER_TEXT": "KoalaSync 无法访问视频网站?",
+ "SUPPORT_BANNER_CTA": "修复网站访问权限",
"HERO_TITLE": "把任意视频变成一起看派对。",
"HERO_SUBTITLE": "远程电影之夜,毫无延迟。无需账号、无跟踪、无广告。分享链接,一起播放。",
"HERO_MASCOT_ALT": "一只可爱的考拉站着,低头看着下载按钮",
diff --git a/website/site-access-help.html b/website/site-access-help.html
new file mode 100644
index 0000000..ccbbc0b
--- /dev/null
+++ b/website/site-access-help.html
@@ -0,0 +1,169 @@
+
+
+
+
+
+ KoalaSync Cannot Access Your Video Site? Fix Website Access
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to troubleshooting
+
+
+
+
+
+ Website access troubleshooting
+
Connected, but the video tab does nothing?
+
Your browser may be withholding KoalaSync’s access to that website. The room connection can still look healthy while KoalaSync cannot read or control the player.
+
+
+
+ Start here
+
Use the built-in one-click fix
+
+
Open the video website and then open the KoalaSync popup.
+
Select the video tab. If access is blocked, KoalaSync shows an access notice instead of silently pretending the tab is connected.
+
Select Allow access and approve the browser prompt. KoalaSync retries the tab automatically.
+
If the prompt does not appear, use the manual browser steps below and reload the video page once.
+
+
+
+
+ i
+
+ This is not a new KoalaSync permission.
+
Modern browsers let users, profiles, and administrators withhold extension access per website. Chrome’s newer extension menu makes that existing control much more visible. KoalaSync now detects the blocked state and asks for access only after you select a video tab.
+
+
+
+
+
+ Chrome, Edge, Brave, Opera
+
Allow KoalaSync on the current site
+
+
Keep the affected video tab open.
+
Open the browser’s extensions menu near the address bar.
+
Under Access requested, select KoalaSync and allow access.
+
If needed, open KoalaSync’s extension details and change site access to On this site or On all sites.
+
Reload the video tab and select it again in KoalaSync.
KoalaSync injects a local content script into the selected tab so it can find the HTML5 player, read its playback position, and apply play, pause, and seek actions. The video and audio stream never leave your browser. Only synchronization state is sent through the relay.
+
Access is requested for the website origin shown in the popup. Browser-internal pages such as chrome://, edge://, and about: cannot be controlled. Local files may also require the separate Allow access to file URLs switch in the extension details.
+
+
+
+ Still not working?
+
Run these checks in order
+
+
Update KoalaSync in both browsers. Friends using different releases should update before testing again.
+
Reload the video page after granting access. An already-open page may still have the old blocked state.
+
Open KoalaSync and reselect the exact tab containing the player.
+
Confirm the debug report says Video Found. A page without a standard player may need site-specific support.
+
Temporarily test without another extension that also modifies the player.
+
If it still fails, collect a debug report from each participant before leaving the room.
+
+
+
+
+ Separate issue
+
“Peers (1)” only shows yourself
+
Website access does not control the relay participant list. If both people see the same room name but each report lists only themselves, the relay has not placed both connections into the same live room state.
+
+
Open the same invite link again and verify the room name, password, and server URL match.
+
Update both extensions, leave the room, and reconnect once.
+
When self-hosting, use a single relay process unless room state is shared between instances; KoalaSync’s default relay state lives in process memory.
+
If the problem remains, save both debug reports and the relay logs from the same timestamp.
From a334605dd579dda3a985691398903aa538a9a7cc Mon Sep 17 00:00:00 2001
From: Timo <6156589+Shik3i@users.noreply.github.com>
Date: Wed, 15 Jul 2026 12:27:59 +0200
Subject: [PATCH 02/17] Remove unrelated relay troubleshooting from help page
---
scripts/test-site-access-help.mjs | 4 ++--
website/site-access-help.html | 12 ------------
website/styles/support.css | 10 ----------
3 files changed, 2 insertions(+), 24 deletions(-)
diff --git a/scripts/test-site-access-help.mjs b/scripts/test-site-access-help.mjs
index cf5daa0..e9c8424 100644
--- a/scripts/test-site-access-help.mjs
+++ b/scripts/test-site-access-help.mjs
@@ -38,8 +38,8 @@ assert.match(helpPage, /Access requested/,
'help page must explain the new Chromium access-request UI');
assert.match(helpPage, /Firefox/,
'help page must include Firefox-specific recovery instructions');
-assert.match(helpPage, /“Peers \(1\)” only shows yourself/,
- 'help page must distinguish relay peer visibility from website access');
+assert.doesNotMatch(helpPage, /Peers \(1\)|Separate issue/,
+ 'website-access help must not include unrelated relay troubleshooting');
assert.match(helpPage, /video and audio stream never leave your browser/,
'help page must explain the privacy boundary of the permission');
assert.match(helpPage, /support\.google\.com\/chrome/);
diff --git a/website/site-access-help.html b/website/site-access-help.html
index ccbbc0b..a2c0650 100644
--- a/website/site-access-help.html
+++ b/website/site-access-help.html
@@ -134,18 +134,6 @@
-
- Separate issue
-
“Peers (1)” only shows yourself
-
Website access does not control the relay participant list. If both people see the same room name but each report lists only themselves, the relay has not placed both connections into the same live room state.
-
-
Open the same invite link again and verify the room name, password, and server URL match.
-
Update both extensions, leave the room, and reconnect once.
-
When self-hosting, use a single relay process unless room state is shared between instances; KoalaSync’s default relay state lives in process memory.
-
If the problem remains, save both debug reports and the relay logs from the same timestamp.
KoalaSync is a lightweight Browser Extension and Relay Server for synchronized video playback on almost any website with a video element—YouTube, Twitch, Netflix, Emby, Jellyfin, and beyond. Built with a focus on Data Sovereignty and Performance.
+ Immediate workaround — no extension update required
+
Allow KoalaSync in your browser now
-
Open the video website and then open the KoalaSync popup.
-
Select the video tab. If access is blocked, KoalaSync shows an access notice instead of silently pretending the tab is connected.
-
Select Allow access and approve the browser prompt. KoalaSync retries the tab automatically.
-
If the prompt does not appear, use the manual browser steps below and reload the video page once.
+
Keep the affected video website open.
+
Open the browser’s extensions menu next to the address bar.
+
If KoalaSync appears under Access requested, select KoalaSync to grant access.
+
If that section is missing, open KoalaSync’s menu or extension details and set website access to On this site or On all sites.
+
Reload the video page once, open KoalaSync, and select the video tab again.
+
This manual workaround works even while KoalaSync 2.6.2 is still waiting for approval or rollout in your browser’s extension store.
i
This is not a new KoalaSync permission.
-
Modern browsers let users, profiles, and administrators withhold extension access per website. Chrome’s newer extension menu makes that existing control much more visible. KoalaSync now detects the blocked state and asks for access only after you select a video tab.
+
Modern browsers let users, profiles, and administrators withhold extension access per website. Chrome’s newer extension menu makes that existing control much more visible. KoalaSync 2.6.2 detects the blocked state and adds a guided recovery action after the store update reaches you; the manual steps above work immediately on older KoalaSync releases.
KoalaSync injects a local content script into the selected tab so it can find the HTML5 player, read its playback position, and apply play, pause, and seek actions. The video and audio stream never leave your browser. Only synchronization state is sent through the relay.
-
Access is requested for the website origin shown in the popup. Browser-internal pages such as chrome://, edge://, and about: cannot be controlled. Local files may also require the separate Allow access to file URLs switch in the extension details.
+ Why this suddenly happened
+
Your browser started withholding website access
+
Chrome is gradually rolling out new per-site controls for extensions. The rollout can reach individual browsers or profiles without a KoalaSync update, so KoalaSync may appear to stop working from one day to the next while another browser still works normally.
+
The room connection can remain online, but the browser blocks KoalaSync from reaching the video player. Granting KoalaSync access to the affected video website and reloading that tab restores playback synchronization.
From 285c04e00de180ffdad53ccf67f67d02a82f1bde Mon Sep 17 00:00:00 2001
From: Timo <6156589+Shik3i@users.noreply.github.com>
Date: Wed, 15 Jul 2026 13:09:50 +0200
Subject: [PATCH 07/17] Align browser help cards
---
website/styles/support.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/styles/support.css b/website/styles/support.css
index bb698e0..2d4fb7c 100644
--- a/website/styles/support.css
+++ b/website/styles/support.css
@@ -78,7 +78,7 @@
padding: clamp(1.35rem, 4vw, 2.25rem);
}
-.support-card + .support-card,
+.support-content > .support-card + .support-card,
.support-grid + .support-card,
.support-card + .support-grid,
.support-callout + .support-card {
From 03121477a8ad6551b4d2872e08a8cce1db047ebc Mon Sep 17 00:00:00 2001
From: Timo <6156589+Shik3i@users.noreply.github.com>
Date: Wed, 15 Jul 2026 13:20:00 +0200
Subject: [PATCH 08/17] Add dismissible localized access banner
---
website/app.js | 8 ++++++++
website/locales/de.json | 1 +
website/locales/en.json | 1 +
website/locales/es.json | 1 +
website/locales/fr.json | 1 +
website/locales/it.json | 1 +
website/locales/ja.json | 1 +
website/locales/ko.json | 1 +
website/locales/nl.json | 1 +
website/locales/pl.json | 1 +
website/locales/pt-BR.json | 1 +
website/locales/pt.json | 1 +
website/locales/ru.json | 1 +
website/locales/tr.json | 1 +
website/locales/uk.json | 1 +
website/locales/zh.json | 1 +
website/site-access-help.html | 3 ++-
website/styles/foundation.css | 32 +++++++++++++++++++++++++++++++-
website/template.html | 6 ++++++
19 files changed, 62 insertions(+), 2 deletions(-)
diff --git a/website/app.js b/website/app.js
index 3a5fa7e..31fd2a4 100644
--- a/website/app.js
+++ b/website/app.js
@@ -1,6 +1,14 @@
// KoalaSync Landing Page Logic
document.addEventListener('DOMContentLoaded', () => {
+ const siteAccessBanner = document.querySelector('.site-access-banner');
+ const siteAccessBannerDismiss = document.querySelector('.site-access-banner-dismiss');
+ if (siteAccessBanner && siteAccessBannerDismiss) {
+ siteAccessBannerDismiss.addEventListener('click', () => {
+ siteAccessBanner.hidden = true;
+ });
+ }
+
// Mockup Video Title Randomization on Load
const SERIES_NAMES = [
'Stranger Things',
diff --git a/website/locales/de.json b/website/locales/de.json
index ee5eb3a..be323ed 100644
--- a/website/locales/de.json
+++ b/website/locales/de.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "So funktioniert's",
"SUPPORT_BANNER_TEXT": "KoalaSync kann nicht auf deine Videoseite zugreifen?",
"SUPPORT_BANNER_CTA": "Websitezugriff reparieren",
+ "SUPPORT_BANNER_DISMISS": "Hinweis schließen",
"HERO_TITLE": "Mach jedes Video zur Watch Party.",
"HERO_SUBTITLE": "Dein Kino-Abend auf Distanz, ohne Lags. Kein Account, kein Tracking, keine Werbung. Einfach Link teilen und gemeinsam Play drücken.",
"HERO_MASCOT_ALT": "Ein niedlicher Koala steht da und schaut nach unten auf die Download-Buttons",
diff --git a/website/locales/en.json b/website/locales/en.json
index 1028902..818ac01 100644
--- a/website/locales/en.json
+++ b/website/locales/en.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "How it works",
"SUPPORT_BANNER_TEXT": "KoalaSync cannot access your video site?",
"SUPPORT_BANNER_CTA": "Fix website access",
+ "SUPPORT_BANNER_DISMISS": "Dismiss notification",
"HERO_TITLE": "Turn any video into a watch party.",
"HERO_SUBTITLE": "Your remote movie night without lags. No account, no tracking, no ads. Just share a link and press play together.",
"HERO_MASCOT_ALT": "A cute koala standing and looking down at the download buttons",
diff --git a/website/locales/es.json b/website/locales/es.json
index 13f70ba..607ec0b 100644
--- a/website/locales/es.json
+++ b/website/locales/es.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Cómo funciona",
"SUPPORT_BANNER_TEXT": "¿KoalaSync no puede acceder al sitio del vídeo?",
"SUPPORT_BANNER_CTA": "Reparar acceso al sitio",
+ "SUPPORT_BANNER_DISMISS": "Cerrar aviso",
"HERO_TITLE": "Convierte cualquier vídeo en una watch party.",
"HERO_SUBTITLE": "Tu noche de cine a distancia, sin retrasos. Sin cuenta, sin rastreo, sin anuncios. Comparte un enlace y dale al play juntos.",
"HERO_MASCOT_ALT": "Un lindo koala de pie mirando hacia abajo a los botones de descarga",
diff --git a/website/locales/fr.json b/website/locales/fr.json
index 5a6aa01..db2923a 100644
--- a/website/locales/fr.json
+++ b/website/locales/fr.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Comment ça marche",
"SUPPORT_BANNER_TEXT": "KoalaSync n’accède pas à votre site vidéo ?",
"SUPPORT_BANNER_CTA": "Réparer l’accès au site",
+ "SUPPORT_BANNER_DISMISS": "Fermer l’avertissement",
"HERO_TITLE": "Transformez n'importe quelle vidéo en watch party.",
"HERO_SUBTITLE": "Votre soirée ciné à distance, sans décalage. Pas de compte, pas de tracking, pas de pub. Partagez un lien et lancez la lecture ensemble.",
"HERO_MASCOT_ALT": "Un koala mignon debout et regardant vers le bas les boutons de téléchargement",
diff --git a/website/locales/it.json b/website/locales/it.json
index 87424f2..ed08769 100644
--- a/website/locales/it.json
+++ b/website/locales/it.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Come Funziona",
"SUPPORT_BANNER_TEXT": "KoalaSync non riesce ad accedere al sito video?",
"SUPPORT_BANNER_CTA": "Ripristina l’accesso al sito",
+ "SUPPORT_BANNER_DISMISS": "Chiudi avviso",
"HERO_TITLE": "Trasforma qualsiasi video in una watch party.",
"HERO_SUBTITLE": "La tua serata film a distanza, senza lag. Niente account, niente tracciamento, niente pubblicità. Condividi un link e premete play insieme.",
"HERO_MASCOT_ALT": "Un simpatico koala che guarda i pulsanti di download",
diff --git a/website/locales/ja.json b/website/locales/ja.json
index 19e7bea..9df4a0e 100644
--- a/website/locales/ja.json
+++ b/website/locales/ja.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "仕組み",
"SUPPORT_BANNER_TEXT": "KoalaSync が動画サイトにアクセスできませんか?",
"SUPPORT_BANNER_CTA": "サイトアクセスを修復",
+ "SUPPORT_BANNER_DISMISS": "通知を閉じる",
"HERO_TITLE": "どんな動画もウォッチパーティーに。",
"HERO_SUBTITLE": "離れていても一緒に映画ナイト。アカウント不要、トラッキングなし、広告なし。リンクを共有して、一緒に再生するだけ。",
"HERO_MASCOT_ALT": "ダウンロードボタンを見下ろしているかわいいコアラ",
diff --git a/website/locales/ko.json b/website/locales/ko.json
index 6434372..06bca60 100644
--- a/website/locales/ko.json
+++ b/website/locales/ko.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "작동 방식",
"SUPPORT_BANNER_TEXT": "KoalaSync가 동영상 사이트에 액세스할 수 없나요?",
"SUPPORT_BANNER_CTA": "사이트 액세스 복구",
+ "SUPPORT_BANNER_DISMISS": "알림 닫기",
"HERO_TITLE": "어떤 영상이든 워치 파티로.",
"HERO_SUBTITLE": "지연 없는 원격 영화의 밤. 계정 없음, 추적 없음, 광고 없음. 링크만 공유하고 함께 재생하세요.",
"HERO_MASCOT_ALT": "다운로드 버튼을 내려다보고 서 있는 귀여운 코알라",
diff --git a/website/locales/nl.json b/website/locales/nl.json
index 41a8a6d..ff21ac5 100644
--- a/website/locales/nl.json
+++ b/website/locales/nl.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Hoe het werkt",
"SUPPORT_BANNER_TEXT": "Heeft KoalaSync geen toegang tot je videosite?",
"SUPPORT_BANNER_CTA": "Websitetoegang herstellen",
+ "SUPPORT_BANNER_DISMISS": "Melding sluiten",
"HERO_TITLE": "Maak van elke video een watch party.",
"HERO_SUBTITLE": "Jouw filmavond op afstand, zonder vertraging. Geen account, geen tracking, geen advertenties. Deel een link en druk samen op play.",
"HERO_MASCOT_ALT": "Een schattige koala die staat en naar beneden kijkt naar de downloadknoppen",
diff --git a/website/locales/pl.json b/website/locales/pl.json
index 2d2ab69..06fef2b 100644
--- a/website/locales/pl.json
+++ b/website/locales/pl.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Jak to działa",
"SUPPORT_BANNER_TEXT": "KoalaSync nie ma dostępu do strony z filmem?",
"SUPPORT_BANNER_CTA": "Napraw dostęp do strony",
+ "SUPPORT_BANNER_DISMISS": "Zamknij powiadomienie",
"HERO_TITLE": "Zamień dowolne wideo w watch party.",
"HERO_SUBTITLE": "Twój zdalny wieczór filmowy bez opóźnień. Bez konta, bez śledzenia, bez reklam. Udostępnij link i naciśnijcie play razem.",
"HERO_MASCOT_ALT": "Uroczy koala stojący i patrzący w dół na przyciski pobierania",
diff --git a/website/locales/pt-BR.json b/website/locales/pt-BR.json
index 1906f5d..bd4b41d 100644
--- a/website/locales/pt-BR.json
+++ b/website/locales/pt-BR.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Como Funciona",
"SUPPORT_BANNER_TEXT": "O KoalaSync não consegue acessar o site do vídeo?",
"SUPPORT_BANNER_CTA": "Corrigir acesso ao site",
+ "SUPPORT_BANNER_DISMISS": "Fechar aviso",
"HERO_TITLE": "Transforme qualquer vídeo em uma watch party.",
"HERO_SUBTITLE": "Sua sessão de cinema à distância, sem atrasos. Sem conta, sem rastreamento, sem anúncios. Compartilhe um link e deem play juntos.",
"HERO_MASCOT_ALT": "Um coala fofo olhando para os botões de download",
diff --git a/website/locales/pt.json b/website/locales/pt.json
index 7567526..773cab9 100644
--- a/website/locales/pt.json
+++ b/website/locales/pt.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Como Funciona",
"SUPPORT_BANNER_TEXT": "O KoalaSync não consegue aceder ao site do vídeo?",
"SUPPORT_BANNER_CTA": "Corrigir acesso ao site",
+ "SUPPORT_BANNER_DISMISS": "Fechar aviso",
"HERO_TITLE": "Transforma qualquer vídeo numa watch party.",
"HERO_SUBTITLE": "A tua noite de cinema à distância, sem atrasos. Sem conta, sem rastreio, sem anúncios. Partilha um link e carreguem no play juntos.",
"HERO_MASCOT_ALT": "Um coala fofo a olhar para os botões de download",
diff --git a/website/locales/ru.json b/website/locales/ru.json
index a8eb060..50657a1 100644
--- a/website/locales/ru.json
+++ b/website/locales/ru.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Как это работает",
"SUPPORT_BANNER_TEXT": "KoalaSync не может получить доступ к сайту с видео?",
"SUPPORT_BANNER_CTA": "Исправить доступ к сайту",
+ "SUPPORT_BANNER_DISMISS": "Закрыть уведомление",
"HERO_TITLE": "Преврати любое видео в watch party.",
"HERO_SUBTITLE": "Ваш киновечер на расстоянии, без задержек. Без аккаунта, без слежки, без рекламы. Просто поделитесь ссылкой и нажмите play вместе.",
"HERO_MASCOT_ALT": "Милый коала стоит и смотрит вниз на кнопки загрузки",
diff --git a/website/locales/tr.json b/website/locales/tr.json
index 55506c5..7e515ec 100644
--- a/website/locales/tr.json
+++ b/website/locales/tr.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Nasıl Çalışır",
"SUPPORT_BANNER_TEXT": "KoalaSync video sitesine erişemiyor mu?",
"SUPPORT_BANNER_CTA": "Site erişimini düzelt",
+ "SUPPORT_BANNER_DISMISS": "Bildirimi kapat",
"HERO_TITLE": "Herhangi bir videoyu watch party'ye dönüştür.",
"HERO_SUBTITLE": "Gecikmesiz uzaktan film gecen. Hesap yok, takip yok, reklam yok. Sadece bir bağlantı paylaş ve birlikte oynatın.",
"HERO_MASCOT_ALT": "İndirme düğmelerine bakan sevimli bir koala",
diff --git a/website/locales/uk.json b/website/locales/uk.json
index 4912b53..f11f04a 100644
--- a/website/locales/uk.json
+++ b/website/locales/uk.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "Як це працює",
"SUPPORT_BANNER_TEXT": "KoalaSync не має доступу до сайту з відео?",
"SUPPORT_BANNER_CTA": "Виправити доступ до сайту",
+ "SUPPORT_BANNER_DISMISS": "Закрити сповіщення",
"HERO_TITLE": "Перетвори будь-яке відео на watch party.",
"HERO_SUBTITLE": "Ваш кіновечір на відстані, без затримок. Без акаунта, без стеження, без реклами. Просто поділіться посиланням і натисніть play разом.",
"HERO_MASCOT_ALT": "Мила коала стоїть і дивиться вниз на кнопки завантаження",
diff --git a/website/locales/zh.json b/website/locales/zh.json
index cfe3e44..6a06ec8 100644
--- a/website/locales/zh.json
+++ b/website/locales/zh.json
@@ -16,6 +16,7 @@
"NAV_HOW_IT_WORKS": "它是如何运作的",
"SUPPORT_BANNER_TEXT": "KoalaSync 无法访问视频网站?",
"SUPPORT_BANNER_CTA": "修复网站访问权限",
+ "SUPPORT_BANNER_DISMISS": "关闭提示",
"HERO_TITLE": "把任意视频变成一起看派对。",
"HERO_SUBTITLE": "远程电影之夜,毫无延迟。无需账号、无跟踪、无广告。分享链接,一起播放。",
"HERO_MASCOT_ALT": "一只可爱的考拉站着,低头看着下载按钮",
diff --git a/website/site-access-help.html b/website/site-access-help.html
index e799155..0518e90 100644
--- a/website/site-access-help.html
+++ b/website/site-access-help.html
@@ -101,12 +101,13 @@
If needed, open KoalaSync’s extension details and change site access to On this site or On all sites.
Reload the video tab and select it again in KoalaSync.
From abcb10a1c34708356716ca38bf39fc3bb4541f45 Mon Sep 17 00:00:00 2001
From: Timo <6156589+Shik3i@users.noreply.github.com>
Date: Wed, 15 Jul 2026 13:23:54 +0200
Subject: [PATCH 09/17] Scope access help to Chromium rollout
---
website/site-access-help.html | 45 ++++++++++++-----------------------
1 file changed, 15 insertions(+), 30 deletions(-)
diff --git a/website/site-access-help.html b/website/site-access-help.html
index 0518e90..3df0c5c 100644
--- a/website/site-access-help.html
+++ b/website/site-access-help.html
@@ -4,7 +4,7 @@
KoalaSync Cannot Access Your Video Site? Fix Website Access
-
+
@@ -85,38 +85,23 @@
i
This is not a new KoalaSync permission.
-
Modern browsers let users, profiles, and administrators withhold extension access per website. Chrome’s newer extension menu makes that existing control much more visible. KoalaSync 2.6.2 detects the blocked state and adds a guided recovery action after the store update reaches you; the manual steps above work immediately on older KoalaSync releases.
+
Chrome lets users, profiles, and administrators withhold extension access per website. Its newer extension menu makes that existing control much more visible. KoalaSync 2.6.2 detects the blocked state and adds a guided recovery action after the store update reaches you; the manual steps above work immediately on older KoalaSync releases.
-
-
- Chrome, Edge, Brave, Opera, Vivaldi
-
Allow KoalaSync on the current site
-
-
Keep the affected video tab open.
-
Open the browser’s extensions menu near the address bar.
-
Under Access requested, select KoalaSync and allow access.
-
In browsers with the older menu, right-click KoalaSync and choose This can read and change site data, then allow the current site.
-
If needed, open KoalaSync’s extension details and change site access to On this site or On all sites.
-
Reload the video tab and select it again in KoalaSync.
+ Why this suddenly happened
From 61d0d64c7d2ed01dbc7bcafdd5d9c95f5dc552e4 Mon Sep 17 00:00:00 2001
From: Timo <6156589+Shik3i@users.noreply.github.com>
Date: Wed, 15 Jul 2026 13:26:36 +0200
Subject: [PATCH 10/17] Remove developer link from user access guide
---
website/site-access-help.html | 47 +++++++++++++++++------------------
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/website/site-access-help.html b/website/site-access-help.html
index 3df0c5c..03b0b1e 100644
--- a/website/site-access-help.html
+++ b/website/site-access-help.html
@@ -63,51 +63,50 @@
- Website access troubleshooting
-
Connected, but the video tab does nothing?
-
Your browser may be withholding KoalaSync’s access to that website. The room connection can still look healthy while KoalaSync cannot read or control the player.
+ KoalaSync cannot see your video
+
KoalaSync opens, but your video does nothing?
+
Chrome may have switched off KoalaSync for that video website. You can still look connected to a room, but KoalaSync cannot see or control the video until you allow access again.
- Immediate workaround — no extension update required
-
Allow KoalaSync in your browser now
+ Fix it now — no update required
+
Turn KoalaSync back on for the video website
-
Keep the affected video website open.
-
Open the browser’s extensions menu next to the address bar.
-
If KoalaSync appears under Access requested, select KoalaSync to grant access.
-
If that section is missing, open KoalaSync’s menu or extension details and set website access to On this site or On all sites.
-
Reload the video page once, open KoalaSync, and select the video tab again.
+
Leave the video website open.
+
Look at the top-right of the browser, next to the long box that shows the website address. Click the Extensions button (usually a puzzle-piece icon). If you cannot see it, open the three-dot menu first and choose Extensions.
+
Look for Access requested. Click KoalaSync underneath it to allow access.
+
If you do not see Access requested, find KoalaSync in the same menu, open its three-dot menu, choose This can read and change site data, then choose On this site. You can also choose On all sites if you want KoalaSync to work automatically on every supported website.
+
Return to the video and click the browser’s reload button (the circular arrow).
+
Open KoalaSync and select the video tab again.
-
This manual workaround works even while KoalaSync 2.6.2 is still waiting for approval or rollout in your browser’s extension store.
+
You do not need to wait for a KoalaSync update. These steps work immediately.
i
- This is not a new KoalaSync permission.
-
Chrome lets users, profiles, and administrators withhold extension access per website. Its newer extension menu makes that existing control much more visible. KoalaSync 2.6.2 detects the blocked state and adds a guided recovery action after the store update reaches you; the manual steps above work immediately on older KoalaSync releases.
+ KoalaSync did not add a new kind of permission.
+
Chrome changed how it handles an extension’s existing access to websites. This change can switch KoalaSync off for a website even though KoalaSync itself was not updated. Allowing KoalaSync on the video website turns it back on.
Chrome, Edge, Brave, Opera, Vivaldi
-
Allow KoalaSync on the current site
+
Where to click
-
Keep the affected video tab open.
-
Open the browser’s extensions menu near the address bar.
-
Under Access requested, select KoalaSync and allow access.
-
In browsers with the older menu, right-click KoalaSync and choose This can read and change site data, then allow the current site.
-
If needed, open KoalaSync’s extension details and change site access to On this site or On all sites.
-
Reload the video tab and select it again in KoalaSync.
+
Keep the video tab open so the browser knows which website you want to allow.
+
Open the Extensions menu at the top-right of the browser.
+
Under Access requested, click KoalaSync.
+
If your browser shows the older menu, open KoalaSync’s three-dot menu and choose This can read and change site data → On this site.
+
Reload the video page, open KoalaSync, and select that tab again.
Chrome is gradually rolling out new per-site controls for extensions. The rollout can reach individual browsers or profiles without a KoalaSync update, so KoalaSync may appear to stop working from one day to the next while another browser still works normally.
-
The room connection can remain online, but the browser blocks KoalaSync from reaching the video player. Granting KoalaSync access to the affected video website and reloading that tab restores playback synchronization.
+
Chrome changed this without a KoalaSync update
+
Chrome is gradually giving people a new extensions menu. It can arrive on one computer today and on another computer later. That is why KoalaSync can suddenly stop working in one browser while it still works in another.
+
Your room can still show as connected because the room connection and access to the video are two separate things. KoalaSync cannot control the video until Chrome allows it on that website again.
KoalaSync is a lightweight Browser Extension and Relay Server for synchronized video playback on almost any website with a video element—YouTube, Twitch, Netflix, Emby, Jellyfin, and beyond. Built with a focus on Data Sovereignty and Performance.
diff --git a/website/styles/support.css b/website/styles/support.css
index 2d4fb7c..e9ff701 100644
--- a/website/styles/support.css
+++ b/website/styles/support.css
@@ -92,10 +92,16 @@
}
.support-card h2 {
- margin-bottom: 0.8rem;
+ margin: 0 0 0.8rem;
font-size: clamp(1.35rem, 3vw, 1.75rem);
}
+.support-card > .support-eyebrow {
+ display: flex;
+ width: fit-content;
+ margin: 0 0 1rem;
+}
+
.support-card h3 {
margin-bottom: 0.55rem;
font-size: 1.05rem;
From 6e625e3a386ea71f08b14d4407a6686346b2d407 Mon Sep 17 00:00:00 2001
From: GitHub Action
Date: Wed, 15 Jul 2026 11:37:32 +0000
Subject: [PATCH 14/17] chore(release): update versions to v2.6.3 [skip ci]
---
website/version.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/version.json b/website/version.json
index c4bcc3d..8580727 100644
--- a/website/version.json
+++ b/website/version.json
@@ -1,4 +1,4 @@
{
"version": "2.6.3",
- "date": "2026-07-15T11:31:00Z"
+ "date": "2026-07-15T11:37:32Z"
}
From d2d4f5f3ea1da32310c630857ac52d622ef3c869 Mon Sep 17 00:00:00 2001
From: Timo <6156589+Shik3i@users.noreply.github.com>
Date: Thu, 16 Jul 2026 11:50:21 +0200
Subject: [PATCH 15/17] Localize extension store metadata
---
extension/_locales/de/messages.json | 4 +-
extension/_locales/en/messages.json | 4 +-
extension/_locales/es/messages.json | 4 +-
extension/_locales/fr/messages.json | 4 +-
extension/_locales/it/messages.json | 4 +-
extension/_locales/ja/messages.json | 4 +-
extension/_locales/ko/messages.json | 4 +-
extension/_locales/nl/messages.json | 4 +-
extension/_locales/pl/messages.json | 4 +-
extension/_locales/pt_BR/messages.json | 4 +-
extension/_locales/pt_PT/messages.json | 4 +-
extension/_locales/ru/messages.json | 4 +-
extension/_locales/tr/messages.json | 4 +-
extension/_locales/uk/messages.json | 4 +-
extension/_locales/zh_CN/messages.json | 4 +-
extension/manifest.base.json | 5 ++-
scripts/build-extension.cjs | 53 ++++++++++++++++++++++++++
17 files changed, 86 insertions(+), 32 deletions(-)
diff --git a/extension/_locales/de/messages.json b/extension/_locales/de/messages.json
index 8b84354..f7bf757 100644
--- a/extension/_locales/de/messages.json
+++ b/extension/_locales/de/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Synchronisiere die Videowiedergabe auf YouTube, Netflix, Emby, Jellyfin und jeder HTML5-Seite in Echtzeit mit Freunden."
+ "message": "Erstelle private Watch Partys und synchronisiere Videos mit Freunden auf YouTube, Netflix, Jellyfin, Emby und fast jeder Website."
}
}
diff --git a/extension/_locales/en/messages.json b/extension/_locales/en/messages.json
index 3132906..8be2507 100644
--- a/extension/_locales/en/messages.json
+++ b/extension/_locales/en/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Synchronize video playback on YouTube, Netflix, Emby, Jellyfin, and any HTML5 site in real-time with friends."
+ "message": "Create private watch parties and sync videos with friends on YouTube, Netflix, Jellyfin, Emby, and almost any HTML5 website."
}
}
diff --git a/extension/_locales/es/messages.json b/extension/_locales/es/messages.json
index d716d3e..9125cab 100644
--- a/extension/_locales/es/messages.json
+++ b/extension/_locales/es/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Mira videos junto a tus amigos en perfecta sincronización. Compatible con Netflix, YouTube, Twitch, Prime Video, Disney+ y cualquier reproductor HTML5."
+ "message": "Crea fiestas privadas y sincroniza vídeos con amigos en YouTube, Netflix, Jellyfin, Emby y casi cualquier sitio HTML5."
}
}
diff --git a/extension/_locales/fr/messages.json b/extension/_locales/fr/messages.json
index 37cbe71..ce17b61 100644
--- a/extension/_locales/fr/messages.json
+++ b/extension/_locales/fr/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Synchronisez la lecture vidéo sur YouTube, Netflix, Emby, Jellyfin et tout site HTML5 en temps réel avec vos amis."
+ "message": "Créez des watch parties privées et regardez en synchro entre amis sur YouTube, Netflix, Jellyfin, Emby et presque tout site HTML5."
}
}
diff --git a/extension/_locales/it/messages.json b/extension/_locales/it/messages.json
index 118ff90..4f6aa8a 100644
--- a/extension/_locales/it/messages.json
+++ b/extension/_locales/it/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Sincronizza la riproduzione video su YouTube, Netflix, Emby, Jellyfin e qualsiasi sito HTML5 in tempo reale con gli amici."
+ "message": "Crea watch party private e sincronizza i video con gli amici su YouTube, Netflix, Jellyfin, Emby e quasi ogni sito HTML5."
}
}
diff --git a/extension/_locales/ja/messages.json b/extension/_locales/ja/messages.json
index 5833c2f..dc17ce0 100644
--- a/extension/_locales/ja/messages.json
+++ b/extension/_locales/ja/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "YouTube、Netflix、Emby、Jellyfin、その他HTML5サイトでの動画再生を友達とリアルタイムで同期します。"
+ "message": "プライベートなウォッチパーティーを作成し、YouTube、Netflix、Jellyfin、EmbyやほぼすべてのHTML5サイトで友達と動画を同期再生できます。"
}
}
diff --git a/extension/_locales/ko/messages.json b/extension/_locales/ko/messages.json
index 12f71e4..8ad21bb 100644
--- a/extension/_locales/ko/messages.json
+++ b/extension/_locales/ko/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "YouTube, Netflix, Emby, Jellyfin 및 모든 HTML5 사이트에서 친구들과 실시간으로 비디오 재생을 동기화하세요."
+ "message": "비공개 Watch Party를 만들고 YouTube, Netflix, Jellyfin, Emby 및 거의 모든 HTML5 사이트에서 친구들과 영상을 동기화하세요."
}
}
diff --git a/extension/_locales/nl/messages.json b/extension/_locales/nl/messages.json
index ab97481..feb4563 100644
--- a/extension/_locales/nl/messages.json
+++ b/extension/_locales/nl/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Synchroniseer video-afspelen op YouTube, Netflix, Emby, Jellyfin en elke HTML5-site in realtime met vrienden."
+ "message": "Maak privéwatchparty's en kijk synchroon met vrienden op YouTube, Netflix, Jellyfin, Emby en vrijwel elke HTML5-website."
}
}
diff --git a/extension/_locales/pl/messages.json b/extension/_locales/pl/messages.json
index e13b068..8f50d12 100644
--- a/extension/_locales/pl/messages.json
+++ b/extension/_locales/pl/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Synchronizuj odtwarzanie wideo na YouTube, Netflix, Emby, Jellyfin i dowolnej stronie HTML5 w czasie rzeczywistym ze znajomymi."
+ "message": "Twórz prywatne wspólne seanse i synchronizuj filmy ze znajomymi na YouTube, Netflix, Jellyfin, Emby i niemal każdej stronie HTML5."
}
}
diff --git a/extension/_locales/pt_BR/messages.json b/extension/_locales/pt_BR/messages.json
index 7c3103e..5c2cbee 100644
--- a/extension/_locales/pt_BR/messages.json
+++ b/extension/_locales/pt_BR/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Assista a vídeos junto com seus amigos em sincronia perfeita. Compatível com Netflix, YouTube, Twitch, Prime Video, Disney+ e qualquer player HTML5."
+ "message": "Crie watch parties privadas e sincronize vídeos com amigos no YouTube, Netflix, Jellyfin, Emby e em quase qualquer site HTML5."
}
}
diff --git a/extension/_locales/pt_PT/messages.json b/extension/_locales/pt_PT/messages.json
index 506b8a3..d4285a4 100644
--- a/extension/_locales/pt_PT/messages.json
+++ b/extension/_locales/pt_PT/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Veja vídeos em conjunto com os seus amigos em sincronia perfeita. Compatível com Netflix, YouTube, Twitch, Prime Video, Disney+ e qualquer leitor HTML5."
+ "message": "Crie sessões privadas e veja vídeos sincronizados com amigos no YouTube, Netflix, Jellyfin, Emby e em quase qualquer site HTML5."
}
}
diff --git a/extension/_locales/ru/messages.json b/extension/_locales/ru/messages.json
index ff73697..5360023 100644
--- a/extension/_locales/ru/messages.json
+++ b/extension/_locales/ru/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Синхронизируйте воспроизведение видео на YouTube, Netflix, Emby, Jellyfin и любых HTML5-сайтах в реальном времени с друзьями."
+ "message": "Создавайте закрытые Watch Party и смотрите синхронно с друзьями на YouTube, Netflix, Jellyfin, Emby и почти любом сайте HTML5."
}
}
diff --git a/extension/_locales/tr/messages.json b/extension/_locales/tr/messages.json
index 7641824..236642c 100644
--- a/extension/_locales/tr/messages.json
+++ b/extension/_locales/tr/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "YouTube, Netflix, Emby, Jellyfin ve herhangi bir HTML5 sitesinde video oynatmayı arkadaşlarınızla gerçek zamanlı olarak senkronize edin."
+ "message": "Özel izleme partileri kurun; YouTube, Netflix, Jellyfin, Emby ve çoğu HTML5 sitesinde arkadaşlarınızla senkron izleyin."
}
}
diff --git a/extension/_locales/uk/messages.json b/extension/_locales/uk/messages.json
index 4e1fea2..8aee6c0 100644
--- a/extension/_locales/uk/messages.json
+++ b/extension/_locales/uk/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "Синхронізуйте відтворення відео на YouTube, Netflix, Emby, Jellyfin і будь-якому сайті HTML5 у режимі реального часу з друзями."
+ "message": "Створюйте закриті Watch Party й дивіться синхронно з друзями на YouTube, Netflix, Jellyfin, Emby та майже будь-якому сайті HTML5."
}
}
diff --git a/extension/_locales/zh_CN/messages.json b/extension/_locales/zh_CN/messages.json
index 8b40486..6717048 100644
--- a/extension/_locales/zh_CN/messages.json
+++ b/extension/_locales/zh_CN/messages.json
@@ -1,8 +1,8 @@
{
"appName": {
- "message": "KoalaSync"
+ "message": "Watch Party - KoalaSync"
},
"appDesc": {
- "message": "与朋友实时同步YouTube、Netflix、Emby、Jellyfin和任何HTML5网站上的视频播放。"
+ "message": "创建私人观影派对,与好友在 YouTube、Netflix、Jellyfin、Emby 及几乎任何 HTML5 视频网站同步观看。"
}
}
diff --git a/extension/manifest.base.json b/extension/manifest.base.json
index aa61218..3948b08 100644
--- a/extension/manifest.base.json
+++ b/extension/manifest.base.json
@@ -1,9 +1,10 @@
{
"manifest_version": 3,
"default_locale": "en",
- "name": "KoalaSync",
+ "name": "__MSG_appName__",
+ "short_name": "KoalaSync",
"version": "2.6.3",
- "description": "Synchronize video playback on YouTube, Netflix, Emby, Jellyfin, and any HTML5 site in real-time with friends.",
+ "description": "__MSG_appDesc__",
"permissions": [
"storage",
"tabs",
diff --git a/scripts/build-extension.cjs b/scripts/build-extension.cjs
index b5d9ac6..2fa56ae 100644
--- a/scripts/build-extension.cjs
+++ b/scripts/build-extension.cjs
@@ -6,6 +6,59 @@ const rootDir = path.join(__dirname, '..');
const extDir = path.join(rootDir, 'extension');
const distDir = path.join(rootDir, 'dist');
const baseManifestPath = path.join(extDir, 'manifest.base.json');
+const localesDir = path.join(extDir, '_locales');
+const requiredAppName = 'Watch Party - KoalaSync';
+const maxAppNameLength = 75;
+const maxAppDescLength = 132;
+
+function countUnicodeCharacters(value) {
+ return Array.from(value).length;
+}
+
+function validateExtensionMetadata() {
+ const localeDirectories = fs.readdirSync(localesDir, { withFileTypes: true })
+ .filter((entry) => entry.isDirectory())
+ .map((entry) => entry.name)
+ .sort();
+
+ for (const locale of localeDirectories) {
+ const messagesPath = path.join(localesDir, locale, 'messages.json');
+ let messages;
+
+ try {
+ messages = JSON.parse(fs.readFileSync(messagesPath, 'utf8'));
+ } catch (error) {
+ throw new Error(`CRITICAL: Invalid locale JSON at _locales/${locale}/messages.json: ${error.message}`);
+ }
+
+ if (!messages || typeof messages !== 'object' || Array.isArray(messages)) {
+ throw new Error(`CRITICAL: _locales/${locale}/messages.json must contain a JSON object`);
+ }
+
+ for (const key of ['appName', 'appDesc']) {
+ if (!messages[key] || typeof messages[key].message !== 'string' || messages[key].message.trim().length === 0) {
+ throw new Error(`CRITICAL: _locales/${locale}/messages.json is missing a valid ${key}.message`);
+ }
+ }
+
+ const appNameLength = countUnicodeCharacters(messages.appName.message);
+ const appDescLength = countUnicodeCharacters(messages.appDesc.message);
+
+ if (appNameLength > maxAppNameLength) {
+ throw new Error(`CRITICAL: _locales/${locale}/messages.json appName.message is ${appNameLength} characters; maximum is ${maxAppNameLength}`);
+ }
+ if (messages.appName.message !== requiredAppName) {
+ throw new Error(`CRITICAL: _locales/${locale}/messages.json appName.message must exactly equal "${requiredAppName}"`);
+ }
+ if (appDescLength > maxAppDescLength) {
+ throw new Error(`CRITICAL: _locales/${locale}/messages.json appDesc.message is ${appDescLength} characters; maximum is ${maxAppDescLength}`);
+ }
+ }
+
+ console.log(`✓ Validated localized extension metadata for ${localeDirectories.length} locales`);
+}
+
+validateExtensionMetadata();
// Ensure dist directory exists
if (fs.existsSync(distDir)) {
From 7f898e6eb4c88b88fdc350d2e423eef383163d6b Mon Sep 17 00:00:00 2001
From: GitHub Action
Date: Thu, 16 Jul 2026 09:51:25 +0000
Subject: [PATCH 16/17] chore(release): update versions to v2.6.4 [skip ci]
---
README.md | 4 ++--
extension/manifest.base.json | 2 +-
package.json | 2 +-
shared/constants.js | 2 +-
website/template.html | 2 +-
website/version.json | 4 ++--
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 2b26478..7ca4bfe 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
-
+
@@ -14,7 +14,7 @@
KoalaSync is a lightweight Browser Extension and Relay Server for synchronized video playback on almost any website with a video element—YouTube, Twitch, Netflix, Emby, Jellyfin, and beyond. Built with a focus on Data Sovereignty and Performance.