Agentmonkey / Tweaks / YouTube /
Set a default playback speed on YouTube
“Start every YouTube video at 1.5x speed.”
Open YouTube in Chrome and say this to your AI. Agentmonkey lets it look at the page, write the JavaScript that sets the speed of the player each time a video starts, and save it as a tweak that is applied on every visit.
How it works
- Your AI reads the structure of the page you have open, so it uses the selectors YouTube has today.
- The change is saved in your browser as a tweak for youtube.com and applied each time you open the site.
- This one needs JavaScript, so Allow User Scripts must be switched on for the extension in Chrome.
- If YouTube changes its layout and the change stops working, ask again and the tweak is updated.
The code it writes
This is what the AI wrote for us on 25 November 2026, checked on the live site. Sites change their markup, so treat it as an example: when you ask, your AI reads the page as it is that day.
const SPEED = 1.5;
const apply = () => {
const video = document.querySelector('video.html5-main-video');
if (!video || video.dataset.amSpeed) return;
video.dataset.amSpeed = '1';
const set = () => { if (video.playbackRate !== SPEED) video.playbackRate = SPEED; };
video.addEventListener('loadeddata', set);
video.addEventListener('play', set);
set();
};
apply();
// YouTube changes videos without reloading the page
document.addEventListener('yt-navigate-finish', apply);Make it yours
The sentence above is a starting point. Say it in your own words and add what you care about. If the first result misses something, tell the AI what is still wrong and it updates the same tweak.
Related
More for YouTube
Questions
Can it go faster than 2x?
Yes. The video element accepts higher speeds than the YouTube menu offers; ask for the speed you want.
Do I need to write any code?
No. You describe the change; your AI writes the CSS and JavaScript.
Can I undo it?
Yes. Click the Agentmonkey icon on YouTube and switch the tweak off or delete it.