A script to control Netflix video playback with arrow keys using Tampermonkey.
- Open Google Chrome.
- Go to the Tampermonkey extension page on the Chrome Web Store.
- Click the "Add to Chrome" button.
- Confirm the installation by clicking "Add extension".
- Click the Tampermonkey icon in the Chrome toolbar.
- Select "Dashboard" from the dropdown menu.
- In the Tampermonkey Dashboard, click the "Create a new script" button.
- Copy the following code:
// ==UserScript== // @name Netflix Video Control // @namespace http://tampermonkey.net/ // @version 0.1 // @description Control Netflix video with arrow keys // @author You // @match *://*.netflix.com/* // @grant none // ==/UserScript== (function() { 'use strict'; document.addEventListener('keydown', function(event) { var video = document.querySelector('video'); if (!video) return; if (event.code === 'ArrowRight') { video.currentTime += 5; } else if (event.code === 'ArrowLeft') { video.currentTime -= 5; } }); })();
- Paste the copied code into the Tampermonkey editor.
- Click the "File" menu and select "Save" or press
Ctrl+S
(Windows) orCmd+S
(Mac).
- Open Netflix and play any video.
- Use the right arrow key to skip forward 5 seconds.
- Use the left arrow key to rewind 5 seconds.
If the script does not work, ensure that:
- Tampermonkey is enabled in your browser.
- The script is active and correctly installed in the Tampermonkey dashboard.
- You are on a Netflix video page when using the arrow keys.
For further assistance, visit the Tampermonkey documentation or check the issues on GitHub.