@kangsicj/nexussync 1.6.16 → 1.6.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NexusSync.meta.js +1 -1
- package/dist/NexusSync.user.js +40 -12
- package/package.json +1 -1
package/dist/NexusSync.meta.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// @icon https://cdn.jsdelivr.net/npm/@kangsicj/nexussync@latest/assets/icon.svg
|
|
9
9
|
// @updateURL https://cdn.jsdelivr.net/npm/@kangsicj/nexussync@latest/dist/NexusSync.meta.js
|
|
10
10
|
// @downloadURL https://cdn.jsdelivr.net/npm/@kangsicj/nexussync@latest/dist/NexusSync.user.js
|
|
11
|
-
// @version 1.6.
|
|
11
|
+
// @version 1.6.17
|
|
12
12
|
// @description Watch any web video together in perfect sync: cinema mode, live AI subtitles & translation, chat bubbles with auto-translation, quick ink, cover, go-together to the next episode.
|
|
13
13
|
// @description:ko 어떤 웹 영상이든 완벽한 싱크로 함께 보기: 시네마 모드, 실시간 AI 자막·번역, 자동 번역 말풍선 채팅, 잠깐 그리기, 가리기, 다음 화도 함께.
|
|
14
14
|
// @match *://*/*
|
package/dist/NexusSync.user.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// @icon https://cdn.jsdelivr.net/npm/@kangsicj/nexussync@latest/assets/icon.svg
|
|
9
9
|
// @updateURL https://cdn.jsdelivr.net/npm/@kangsicj/nexussync@latest/dist/NexusSync.meta.js
|
|
10
10
|
// @downloadURL https://cdn.jsdelivr.net/npm/@kangsicj/nexussync@latest/dist/NexusSync.user.js
|
|
11
|
-
// @version 1.6.
|
|
11
|
+
// @version 1.6.17
|
|
12
12
|
// @description Watch any web video together in perfect sync: cinema mode, live AI subtitles & translation, chat bubbles with auto-translation, quick ink, cover, go-together to the next episode.
|
|
13
13
|
// @description:ko 어떤 웹 영상이든 완벽한 싱크로 함께 보기: 시네마 모드, 실시간 AI 자막·번역, 자동 번역 말풍선 채팅, 잠깐 그리기, 가리기, 다음 화도 함께.
|
|
14
14
|
// @match *://*/*
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
|
|
47
47
|
// The version of the code that is actually running (the manager's metadata can lag
|
|
48
48
|
// behind when an old copy is still installed).
|
|
49
|
-
const NXU_VERSION = '1.6.
|
|
49
|
+
const NXU_VERSION = '1.6.17';
|
|
50
50
|
// Rank used by the one-instance guard below and to tell newer builds apart in a room.
|
|
51
51
|
// It is independent of the public version (1.0.0 is the first public release, after
|
|
52
52
|
// private builds that reached ranks up to 10.2.0), so every older copy still installed
|
|
53
53
|
// steps aside instead of this release.
|
|
54
|
-
const NXU_RANK = '11.6.
|
|
54
|
+
const NXU_RANK = '11.6.17';
|
|
55
55
|
const NXU_SESSION = Math.random().toString(36).slice(2, 10); // this page load // raise with every release
|
|
56
56
|
// App icon (same artwork as assets/icon.svg / @icon), inlined so it shows offline too.
|
|
57
57
|
const NXU_ICON = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiByb2xlPSJpbWciIGFyaWEtbGFiZWw9Ik5leHVzU3luYyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJueGJnIiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjNWIyZWZmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmY0ZmEzIi8+PC9saW5lYXJHcmFkaWVudD48cmFkaWFsR3JhZGllbnQgaWQ9Im54Z2xvdyIgY3g9IjAuODIiIGN5PSIwLjE0IiByPSIwLjciPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzdjZjlmZiIgc3RvcC1vcGFjaXR5PSIwLjU1Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjN2NmOWZmIiBzdG9wLW9wYWNpdHk9IjAiLz48L3JhZGlhbEdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibnhwbGF5IiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjZmZmZmZmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmZlM2YxIi8+PC9saW5lYXJHcmFkaWVudD48Y2xpcFBhdGggaWQ9Im54ciI+PHJlY3Qgd2lkdGg9IjI1NiIgaGVpZ2h0PSIyNTYiIHJ4PSI1OCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNueHIpIj48cmVjdCB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgZmlsbD0idXJsKCNueGJnKSIvPjxyZWN0IHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2IiBmaWxsPSJ1cmwoI254Z2xvdykiLz48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTYwIDExNiBBNzAgNzAgMCAwIDEgMTc4IDcyIi8+PHBhdGggZD0iTTE5NiAxNDAgQTcwIDcwIDAgMCAxIDc4IDE4NCIvPjwvZz48cGF0aCBkPSJNMTg2IDUwIEwyMDAgOTIgTDE1NyA4NiBaIiBmaWxsPSIjZmZmZmZmIi8+PHBhdGggZD0iTTcwIDIwNiBMNTYgMTY0IEw5OSAxNzAgWiIgZmlsbD0iI2ZmZmZmZiIvPjxwYXRoIGQ9Ik0xMTAgOTIgUTEwNCA4OCAxMDQgOTYgTDEwNCAxNjAgUTEwNCAxNjggMTEwIDE2NCBMMTYyIDEzMiBRMTY4IDEyOCAxNjIgMTI0IFoiIGZpbGw9InVybCgjbnhwbGF5KSIvPjwvZz48L3N2Zz4=';
|
|
@@ -249,7 +249,7 @@ async function handle(m) {
|
|
|
249
249
|
'nxu_idle_timeout', 'nxu_sub_size', 'nxu_sub_opacity', 'nxu_sub_position', 'nxu_speaker_language',
|
|
250
250
|
'nxu_subtitle_language', 'nxu_audio_mode', 'nxu_translation_provider', 'nxu_stt_local_first',
|
|
251
251
|
'nxu_smart_speech_locale', 'nxu_fab_pos', 'nxu_asr_provider', 'nxu_key_openai', 'nxu_key_anthropic', 'nxu_key_groq', 'nxu_key_deepl',
|
|
252
|
-
'nxu_model_openai', 'nxu_model_anthropic', 'nxu_cinema_ambient', 'nxu_cinema_fit', 'nxu_cc_remaining', 'nxu_cinema_controls', 'nxu_nickname', 'nxu_color', 'nxu_quick_replies', 'nxu_chat_translate', 'nxu_sync_offset', 'nxu_cover_band', 'nxu_cover_marks', 'nxu_travel', 'nxu_auto_next', 'nxu_auto_cinema_sites', 'nxu_ad_guard', 'nxu_glossary', 'nxu_panel_size_chat-panel', 'nxu_panel_size_sub-log-panel', 'nxu_panel_size_debug-panel', 'nxu_panel_size_trans-modal', 'nxu_cinema_rotate', 'nxu_rotate_denied_' + HOST, 'nxu_resume', 'nxu_resume_on', 'nxu_sub_pick_' + HOST
|
|
252
|
+
'nxu_model_openai', 'nxu_model_anthropic', 'nxu_cinema_ambient', 'nxu_cinema_fit', 'nxu_cc_remaining', 'nxu_cinema_controls', 'nxu_nickname', 'nxu_color', 'nxu_quick_replies', 'nxu_chat_translate', 'nxu_sync_offset', 'nxu_cover_band', 'nxu_cover_marks', 'nxu_travel', 'nxu_auto_next', 'nxu_auto_cinema_sites', 'nxu_ad_guard', 'nxu_glossary', 'nxu_panel_size_chat-panel', 'nxu_panel_size_sub-log-panel', 'nxu_panel_size_debug-panel', 'nxu_panel_size_trans-modal', 'nxu_cinema_rotate', 'nxu_rotate_denied_' + HOST, 'nxu_resume', 'nxu_resume_on', 'nxu_sub_pick_' + HOST, 'nxu_rate_' + HOST
|
|
253
253
|
]);
|
|
254
254
|
|
|
255
255
|
// ───────────────────────── Cross-origin HTTP (GM xhr first, fetch fallback)
|
|
@@ -766,7 +766,7 @@ async function handle(m) {
|
|
|
766
766
|
tuneSrcSame: '🟢 Same video on every device — kept in step automatically, frame by frame.', tuneSrcDiff: '🟠 Different versions (length differs by {s}) — the timing is found automatically after a little playing, or set it here.', tuneSrcUnknown: 'Waiting for the others’ video…', tuneSrcShifted: '🟠 Same length, but the scenes differ — the timing is lined up automatically while you play, or set it here.', tuneDiffPicture: 'Same time, but the pictures differ', tuneShiftFound: 'Same length but different scenes: timing set to {s} automatically (tap to undo).',
|
|
767
767
|
tuneSameReset: '⏱ Same video as the others: timing correction removed.', tuneAutoApplied: 'Different version: timing set to {s} automatically (tap to undo).', tuneSuggest: 'Your videos differ by {s}. Tap to line them up.',
|
|
768
768
|
subMenu: 'Subtitles', xsubOff: 'Off', subTrack: 'From the video', subSearch: '🔎 Find subtitles (OpenSubtitles)', subFile: '📂 Open a subtitle file…', subAi: '🧠 AI live subtitles', subDelay: 'Timing', subLater: 'later', subEarlier: 'earlier', xsubSize: 'Size',
|
|
769
|
-
subLoaded: '💬 Subtitles: {name}', subMulti: 'Several subtitles at once — each dot is the colour of its lines on screen; tap one to take it away.', subNone: 'No subtitles found in this video.', subMoreLangs: '🌐 {n} more languages', subRestored: '💬 Subtitles picked again: {name}', resumeFrom: 'Continue from {time}', setResume: 'Offer to continue where I stopped', subSiteOnly: 'This site loads that subtitle only from its own menu — switch to the site controls (top right) and pick it there.', subSuggest: '💬 No subtitles? Find them', subLoadFail: 'Could not load these subtitles.',
|
|
769
|
+
subLoaded: '💬 Subtitles: {name}', subMulti: 'Several subtitles at once — each dot is the colour of its lines on screen; tap one to take it away.', subNone: 'No subtitles found in this video.', subMoreLangs: '🌐 {n} more languages', subRestored: '💬 Subtitles picked again: {name}', resumeFrom: 'Continue from {time}', rateRestored: '⏩ {rate}x — the speed you last used on this site (pick 1x to forget it)', setResume: 'Offer to continue where I stopped', subSiteOnly: 'This site loads that subtitle only from its own menu — switch to the site controls (top right) and pick it there.', subSuggest: '💬 No subtitles? Find them', subLoadFail: 'Could not load these subtitles.',
|
|
770
770
|
osTitle: 'Find subtitles', osTmdbLooking: 'Looking up the English title on TMDB…', osTmdbNone: 'No English title found on TMDB — type it yourself if you know it.', osQuery: 'Title (English titles work best)', osSeason: 'Season', osEpisode: 'Episode', osLang: 'Language', osSearch: 'Search', osSearching: 'Searching…', osNone: 'Nothing found. Try the English title, or remove the year.', osError: 'OpenSubtitles did not answer. Try again in a moment.', osDownloads: '{n} downloads', osLoading: 'Loading…', osHint: 'Subtitles come from OpenSubtitles.org and are shown in NexusSync’s own style; use “Timing” in the subtitle menu if they are early or late.',
|
|
771
771
|
viewMenu: 'Picture', viewAudio: 'Soundtrack', viewBright: 'Brightness', viewBoost: 'Volume boost', viewReset: 'Reset', boostBlocked: 'This video’s sound cannot be boosted here (it comes from another site).',
|
|
772
772
|
settings: 'Settings', setProfile: 'Profile', setAvatar: 'Avatar', setStatus: 'Status message', setStatusPh: 'e.g. Popcorn ready 🍿', setReactions: 'My reactions',
|
|
@@ -893,7 +893,7 @@ async function handle(m) {
|
|
|
893
893
|
tuneSrcSame: '🟢 모두 같은 영상이에요 — 프레임 단위로 자동으로 맞추고 있어요.', tuneSrcDiff: '🟠 서로 다른 버전이에요 (길이 차이 {s}) — 잠시 재생하면 자동으로 맞추고, 여기서 직접 맞출 수도 있어요.', tuneSrcUnknown: '다른 사람의 영상 정보를 기다리는 중…', tuneSrcShifted: '🟠 길이는 같지만 장면이 달라요 — 재생하는 동안 자동으로 맞추고, 여기서 직접 맞출 수도 있어요.', tuneDiffPicture: '시간은 같지만 화면이 달라요', tuneShiftFound: '길이는 같지만 장면이 달라서 타이밍을 {s} 자동 보정했어요 (누르면 되돌리기).',
|
|
894
894
|
tuneSameReset: '⏱ 상대와 같은 영상이라 타이밍 보정을 해제했어요.', tuneAutoApplied: '다른 버전이라 타이밍을 {s} 자동 보정했어요 (누르면 되돌리기).', tuneSuggest: '서로 영상 길이가 {s} 달라요. 눌러서 맞춰 보세요.',
|
|
895
895
|
subMenu: '자막', xsubOff: '끄기', subTrack: '영상에 포함된 자막', subSearch: '🔎 자막 찾기 (OpenSubtitles)', subFile: '📂 자막 파일 열기…', subAi: '🧠 AI 실시간 자막', subDelay: '싱크', subLater: '늦게', subEarlier: '빠르게', xsubSize: '크기',
|
|
896
|
-
subLoaded: '💬 자막: {name}', subMulti: '자막 여러 개를 함께 보는 중 — 점 색이 화면 자막 색이에요. 누르면 그 자막만 꺼져요.', subNone: '이 영상에는 포함된 자막이 없어요.', subMoreLangs: '🌐 다른 언어 {n}개 더 보기', subRestored: '💬 지난번 자막을 다시 켰어요: {name}', resumeFrom: '{time}부터 이어보기', setResume: '보던 곳부터 이어보기 제안', subSiteOnly: '이 사이트는 자기 메뉴에서만 이 자막을 불러와요. 오른쪽 위에서 사이트 컨트롤로 바꾼 뒤 거기서 골라 주세요.', subSuggest: '💬 자막이 없나요? 찾아보기', subLoadFail: '자막을 불러오지 못했어요.',
|
|
896
|
+
subLoaded: '💬 자막: {name}', subMulti: '자막 여러 개를 함께 보는 중 — 점 색이 화면 자막 색이에요. 누르면 그 자막만 꺼져요.', subNone: '이 영상에는 포함된 자막이 없어요.', subMoreLangs: '🌐 다른 언어 {n}개 더 보기', subRestored: '💬 지난번 자막을 다시 켰어요: {name}', resumeFrom: '{time}부터 이어보기', rateRestored: '⏩ {rate}x — 이 사이트에서 마지막으로 쓴 속도예요 (1x를 고르면 잊어요)', setResume: '보던 곳부터 이어보기 제안', subSiteOnly: '이 사이트는 자기 메뉴에서만 이 자막을 불러와요. 오른쪽 위에서 사이트 컨트롤로 바꾼 뒤 거기서 골라 주세요.', subSuggest: '💬 자막이 없나요? 찾아보기', subLoadFail: '자막을 불러오지 못했어요.',
|
|
897
897
|
osTitle: '자막 찾기', osTmdbLooking: 'TMDB에서 영어 제목을 찾는 중…', osTmdbNone: 'TMDB에서 영어 제목을 찾지 못했어요 — 알고 있다면 직접 입력하세요.', osQuery: '제목 (영어 제목이 가장 잘 찾아져요)', osSeason: '시즌', osEpisode: '회차', osLang: '언어', osSearch: '검색', osSearching: '찾는 중…', osNone: '찾지 못했어요. 영어 제목으로 바꾸거나 연도를 빼 보세요.', osError: 'OpenSubtitles가 응답하지 않아요. 잠시 후 다시 시도하세요.', osDownloads: '다운로드 {n}회', osLoading: '불러오는 중…', osHint: '자막은 OpenSubtitles.org에서 가져와 NexusSync 스타일로 보여 줘요. 빠르거나 늦으면 자막 메뉴의 “싱크”로 맞추세요.',
|
|
898
898
|
viewMenu: '화면', viewAudio: '오디오 트랙', viewBright: '밝기', viewBoost: '볼륨 부스트', viewReset: '초기화', boostBlocked: '이 영상은 다른 사이트에서 오는 소리라 여기서 키울 수 없어요.',
|
|
899
899
|
settings: '설정', setProfile: '프로필', setAvatar: '아바타', setStatus: '상태 메시지', setStatusPh: '예: 팝콘 준비 완료 🍿', setReactions: '내 리액션',
|
|
@@ -5142,7 +5142,7 @@ async function handle(m) {
|
|
|
5142
5142
|
f.setAttribute('aria-hidden', 'true');
|
|
5143
5143
|
f.tabIndex = -1;
|
|
5144
5144
|
f.style.cssText = 'position:fixed;width:1px;height:1px;left:-10px;top:-10px;border:0;opacity:0;pointer-events:none;';
|
|
5145
|
-
const timer = setTimeout(() => { this._ready = null; f.remove(); reject(Object.assign(new Error('helper frame did not answer'), { code: 'helper' })); }, 12000);
|
|
5145
|
+
const timer = setTimeout(() => { this._ready = null; window.removeEventListener('message', onMsg); f.remove(); this._frame = null; reject(Object.assign(new Error('helper frame did not answer'), { code: 'helper' })); }, 12000);
|
|
5146
5146
|
const onMsg = (e) => {
|
|
5147
5147
|
const m = e.data;
|
|
5148
5148
|
if (!m || m.nxuWhisper !== this._token || e.source !== f.contentWindow) return;
|
|
@@ -11440,6 +11440,29 @@ async function handle(m) {
|
|
|
11440
11440
|
} catch (_) { }
|
|
11441
11441
|
}, 1200);
|
|
11442
11442
|
|
|
11443
|
+
// ───────────────────────── Speed per site
|
|
11444
|
+
// The speed you pick in the speed menu is kept per site and used again for the next video
|
|
11445
|
+
// there when you watch on your own (in a room the room's speed rules). 1x forgets it.
|
|
11446
|
+
const RATE_MEMORY = {
|
|
11447
|
+
key() { return 'nxu_rate_' + HOST; },
|
|
11448
|
+
save(rate) { STORE.set(this.key(), Math.abs(rate - 1) < 0.01 ? 0 : +rate.toFixed(2)); },
|
|
11449
|
+
_seen: new WeakSet(),
|
|
11450
|
+
watch(v) {
|
|
11451
|
+
if (!IS_TOP || !v || this._seen.has(v)) return;
|
|
11452
|
+
this._seen.add(v);
|
|
11453
|
+
const apply = () => {
|
|
11454
|
+
const r = Number(STORE.get(this.key(), 0));
|
|
11455
|
+
if (!(r >= 0.25 && r <= 4) || Math.abs(r - 1) < 0.01 || STATE.handshakeVerified || v !== STATE.video) return;
|
|
11456
|
+
if (Math.abs((v.playbackRate || 1) - 1) > 0.01) return; // the site set its own speed
|
|
11457
|
+
RATE.apply(v, r);
|
|
11458
|
+
updateRateButton();
|
|
11459
|
+
showToast(t('rateRestored', { rate: r }));
|
|
11460
|
+
logDebug(`Speed ${r}x used again on this site.`, 'info');
|
|
11461
|
+
};
|
|
11462
|
+
if (v.readyState >= 1) setTimeout(apply, 300); else v.addEventListener('loadedmetadata', () => setTimeout(apply, 300), { once: true });
|
|
11463
|
+
}
|
|
11464
|
+
};
|
|
11465
|
+
|
|
11443
11466
|
// ───────────────────────── Continue watching
|
|
11444
11467
|
// Where you stopped in a long video (5 min+) is kept per page, and when you open that page
|
|
11445
11468
|
// again on your own (not in a room) a small card offers to continue from there — only an
|
|
@@ -11507,8 +11530,10 @@ async function handle(m) {
|
|
|
11507
11530
|
v.addEventListener('timeupdate', watch);
|
|
11508
11531
|
}
|
|
11509
11532
|
};
|
|
11510
|
-
|
|
11511
|
-
|
|
11533
|
+
if (IS_TOP) {
|
|
11534
|
+
window.addEventListener('pagehide', () => { try { if (STATE.video) RESUME.save(STATE.video); } catch (_) { } });
|
|
11535
|
+
document.addEventListener('visibilitychange', () => { try { if (document.hidden && STATE.video) RESUME.save(STATE.video); } catch (_) { } });
|
|
11536
|
+
}
|
|
11512
11537
|
|
|
11513
11538
|
// ───────────────────────── Next episode
|
|
11514
11539
|
// On series pages (drama/anime sites) the page usually has a "next episode" link or
|
|
@@ -13375,7 +13400,7 @@ async function handle(m) {
|
|
|
13375
13400
|
};
|
|
13376
13401
|
menu.replaceChildren(createEl('div', 'cc-menu-title', t('ccSpeed')), ...[0.5, 0.75, 1, 1.25, 1.5, 1.75, 2].map(r => {
|
|
13377
13402
|
const item = createEl('button', Math.abs(r - current) < 0.01 ? 'sel' : '', r === 1 ? t('ccNormal') : `${r}x`, { type: 'button', role: 'menuitemradio' });
|
|
13378
|
-
item.onclick = () => { setSharedRate(r); this.toggleRateMenu(false); this._poke(); };
|
|
13403
|
+
item.onclick = () => { setSharedRate(r); if (!STATE.handshakeVerified) RATE_MEMORY.save(r); this.toggleRateMenu(false); this._poke(); };
|
|
13379
13404
|
return item;
|
|
13380
13405
|
}), createEl('div', 'cc-menu-title', '😴 ' + t('sleepTitle') + (SLEEP.active() ? ' · ' + SLEEP.label() : '')),
|
|
13381
13406
|
sleepItem(t('sleepNone'), 0, !SLEEP.active()), sleepItem(t('sleepMin', { n: 15 }), 15, false), sleepItem(t('sleepMin', { n: 30 }), 30, false),
|
|
@@ -13546,8 +13571,11 @@ async function handle(m) {
|
|
|
13546
13571
|
if (!top) return;
|
|
13547
13572
|
if (!STATE.isCinema || this.controlsMode() === 'nexus') { top.style.top = ''; return; }
|
|
13548
13573
|
const now = Date.now();
|
|
13549
|
-
|
|
13574
|
+
const sizeKey = innerWidth + 'x' + innerHeight;
|
|
13575
|
+
// ~150 hit tests: redone when the window changes size, otherwise at most every 3 s.
|
|
13576
|
+
if (now - (this._barAt || 0) < (sizeKey === this._barSize ? 3000 : 250)) return;
|
|
13550
13577
|
this._barAt = now;
|
|
13578
|
+
this._barSize = sizeKey;
|
|
13551
13579
|
const boxes = [this.els.modeBtn, this.els.exitBtn].filter(b => b.getClientRects().length).map(b => b.getBoundingClientRect());
|
|
13552
13580
|
if (!boxes.length) return;
|
|
13553
13581
|
const host = document.getElementById('nxu-host');
|
|
@@ -14190,7 +14218,7 @@ async function handle(m) {
|
|
|
14190
14218
|
if (!IS_TOP) this._hookBridgeVideo(nextVideo);
|
|
14191
14219
|
if (STATE.isCinema) keepInline(nextVideo);
|
|
14192
14220
|
if (STATE.handshakeVerified) attachVideoHooks();
|
|
14193
|
-
if (IS_TOP) { try { SUB_MEMORY.watch(nextVideo); } catch (_) { } try { RESUME.watch(nextVideo); } catch (_) { } }
|
|
14221
|
+
if (IS_TOP) { try { SUB_MEMORY.watch(nextVideo); } catch (_) { } try { RESUME.watch(nextVideo); } catch (_) { } try { RATE_MEMORY.watch(nextVideo); } catch (_) { } }
|
|
14194
14222
|
} else if (nextFrame) {
|
|
14195
14223
|
logDebug('Media: player inside embedded frame ' + String(nextFrame.src || '').slice(0, 60), 'success');
|
|
14196
14224
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kangsicj/nexussync",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.17",
|
|
4
4
|
"description": "Watch-together userscript: media sync, cinema mode, live AI subtitles, chat bubbles and quick ink for Violentmonkey, Tampermonkey and iOS Userscripts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"userscript",
|