You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0764266
Browse filesBrowse the repository at this point in the historyBrowse files
fix: a tab that only saves skips the check for a player it does not need; a frame with no origin and a tab off https get words of their own; no name placeholders beside the way on (#116)
? 'This chat’s page is not on a secure connection, and the player starts only on one. In a tab of its own it plays, still built in your browser.'
260
-
: 'Your browser does not let the player start inside this chat’s reply, as where it blocks third-party cookies. In a tab of its own it plays, still built in your browser.'
265
+
elsewhereText.textContent={
266
+
insecure: 'This chat’s page is not on a secure connection, and the player starts only on one. In a tab of its own it plays, still built in your browser.',
267
+
sandboxed: 'This chat does not let the player start inside its reply. In a tab of its own it plays, still built in your browser.',
268
+
kept: 'Your browser does not let the player start inside this chat’s reply, as where it blocks third-party cookies. In a tab of its own it plays, still built in your browser.'
269
+
}[why]
261
270
elsewhereNote.textContent='If no tab opens, copy this address into your browser.'
271
+
}elseif(why==='insecure'){
272
+
elsewhereTitle.textContent='Open it on a secure connection'
273
+
elsewhereText.textContent='This page is not on a secure connection, and the player starts only on one. Its https address is below.'
274
+
elsewhereNote.textContent='Copy this address into your browser.'
262
275
}else{
263
276
elsewhereTitle.textContent='Open it in another browser'
264
277
elsewhereText.textContent='The player needs a Service Worker, which this browser does not give, as an app’s built-in browser often does not. Chrome, Edge, Firefox and Safari give one.'
@@ -781,8 +794,9 @@ async function start(): Promise<void> {
0 commit comments