YouTube Audio Sync Fix di Supreme Lobster
Forces a tiny double-seek after releasing a held Space key on a playing YouTube video to resync audio and video.
Metadati estensione
Informazioni sull’estensione
A small Manifest V3 Firefox extension that applies a targeted workaround for
audio/video drift in YouTube players.
When a ready YouTube video is playing, the extension records an eligible
Space press. If Space remains held for at least 400 ms, releasing it:
Firefox normally emits a
the extension restores the original timestamp after a 100 ms fallback timeout.
The two real seeks force Firefox's media pipeline to resynchronize audio and
video while leaving playback at effectively the same position.
The extension deliberately does nothing when:
If the original video is removed before resynchronization starts, the extension
looks for another playing video in the same YouTube document. It safely stops a
pending seek when its video is no longer playable or connected. There is no
toolbar UI, background script, settings page, or automatic drift detection.
The content script is only injected into:
The manifest sets
YouTube player frames embedded on other websites. Only the matching YouTube
frame receives the content script; the extension does not receive access to
the surrounding website.
audio/video drift in YouTube players.
When a ready YouTube video is playing, the extension records an eligible
Space press. If Space remains held for at least 400 ms, releasing it:
- lets YouTube finish handling the key release;
- seeks the video 0.10 seconds backward; and
- returns to the original timestamp as soon as the first seek completes.
Firefox normally emits a
seeked event after the backward seek. If it does not,the extension restores the original timestamp after a 100 ms fallback timeout.
The two real seeks force Firefox's media pipeline to resynchronize audio and
video while leaving playback at effectively the same position.
The extension deliberately does nothing when:
- Space is tapped for less than 400 ms;
- there is no playing, ready video;
- the key press is a repeat or uses Control, Alt, or Meta;
- focus is in an input, text area, editable element, or textbox; or
- the window loses focus before Space is released.
If the original video is removed before resynchronization starts, the extension
looks for another playing video in the same YouTube document. It safely stops a
pending seek when its video is no longer playable or connected. There is no
toolbar UI, background script, settings page, or automatic drift detection.
The content script is only injected into:
https://*.youtube.com/*https://*.youtube-nocookie.com/*
The manifest sets
all_frames: true, so the extension also works insideYouTube player frames embedded on other websites. Only the matching YouTube
frame receives the content script; the extension does not receive access to
the surrounding website.
Voto 0 da 0 revisori
Permessi e dati
Permessi obbligatori:
- Accedere ai dati utente dei siti inclusi nel dominio youtube.com
- Accedere ai dati utente dei siti inclusi nel dominio youtube-nocookie.com
Raccolta dati:
- Lo sviluppatore dichiara che questa estensione non richiede la raccolta di dati.
Ulteriori informazioni
- Link componente aggiuntivo
- Versione
- 1.0.2
- Dimensione
- 41,93 kB
- Ultimo aggiornamento
- 16 giorni fa (7 ago 2026)
- Categorie correlate
- Licenza
- Licenza MIT
- Informativa sulla privacy
- Consulta l’informativa sulla privacy per questo componente aggiuntivo
- Cronologia versioni
- Aggiungi alla raccolta