A lightweight Chrome/Brave extension to control video playback speed on any website using keyboard shortcuts — no UI, no settings, just press and go. Your preferred speed is remembered across tabs and browser restarts.
- Works on any website with a
<video>element — YouTube, Netflix, Twitch, local files, etc. - Press
Shift + >to increase speed in 0.25× steps, up to 5× - Press
Shift + <to decrease speed in 0.25× steps, down to 0.25× - Speed is persisted — closing a tab and opening a new video elsewhere picks up where you left off
- Newly added videos (lazy-loaded players, SPA navigation) automatically get the saved speed applied
- On-screen toast shows current speed after every press
- Keypresses inside search bars and input fields are ignored
| Shortcut | Action |
|---|---|
Shift + > |
Increase speed by 0.25× (max 5×) |
Shift + < |
Decrease speed by 0.25× (min 0.25×) |
>isShift + .and<isShift + ,on a standard keyboard.
0.25× → 0.5× → 0.75× → 1× → 1.25× → 1.5× → … → 5×
-
Clone or download this repository:
git clone https://github.com/uditjain100/Youtube-Shorts-Accelerator.git
-
Open Chrome/Brave and go to
chrome://extensions -
Enable Developer mode (top-right toggle)
-
Click Load unpacked and select the project folder
-
Open any page with a video and press
Shift + >to start
- A content script (
content.js) is injected into every page at load time - On load it reads the last saved speed from
chrome.storage.localand applies it to any videos already on the page - A
MutationObserverwatches for dynamically added<video>elements and applies the saved speed immediately - Each video is hooked on
loadedmetadata,canplay,play, andplayingevents — usingsetTimeout(0)to run after the page's own handlers, preventing sites from resetting the speed back to 1× Shift + >/Shift + <keydown events are captured in the capture phase (before site handlers) and update both the active video and persistent storage