You will need to install a user script manager extension to install this script.
A configurable userscript that automatically skips recaps, intros, credits, and ads, and clicks "next episode" prompts on Netflix, Amazon Prime Video, Hulu, HBO Max, Starz, Disney+, and Hotstar. Requires a userscript manager like Violentmonkey or Tampermonkey. Greasemonkey is fully supported too, but not recommended. If I get any requests I'll consider turning it into a webextension addon.
This script works by querying the document for elements that skip through the video. Normally it does this constantly, even when you might want to watch the credits or something. So I thought it'd be nice to add a toggle to disable/enable the searching, on the fly, without needing to reload the website. By default, the hotkey is Ctrl+F7. It pauses the interval, meaning it won't skip anything while paused. Hitting the hotkey again resumes the interval. It also adds 2 buttons to your addon's popup menu or context menu, depending on the addon you use.
The hotkey also displays a brief popup showing whether the interval is paused or resumed, so you won't lose track of whether it's on or off. You can configure the script settings by hitting Alt+N. (the settings hotkey can be changed or disabled) You can also click the "Open Settings" command in your userscript manager's menu to open the popup. You can change the hotkey, disable one of the websites, change the interval rate, change various aspects of the pause/resume popup, or disable the popup altogether. The settings update in real-time without needing to reload the page. If you forget what your hotkey is to open the settings, use the menu command from the Violentmonkey toolbar button.
If there's some website or skip element this script doesn't handle that you want it to, make a post on the issues page with some details, and if possible a valid CSS selector for the element you're thinking of. (right click > inspect source) If it doesn't have a static class or id then give me the tag name, text content, img src, screenshot, or anything else that could conceivably be used to identify it in the DOM. Thanks~
Forked from Netflix Marathon
Settings are permanently stored in your addon's local storage, to ensure they persist through script updates. You can change them by going to Netflix or Amazon and hitting Alt + N, or by clicking the menu command via your addon's toolbar button. These are the settings, and a brief description of their functionality:
|Interval Rate||300||integer||Interval rate in milliseconds — How often to check for the elements we want to click. Increase if you're running this on a mega-potato?|
|Autoplay promoted videos||false||boolean||After the final credits of a film or the last episode of a series, Netflix recommends a trending or similar movie/series. Enable this if you want it to automatically start.|
|Run on Amazon||true||boolean||Enable skipping on Amazon.|
|Run on Netflix||true||boolean||And so on...|
|Run on Disney+||true||boolean|
|Run on Hotstar||true||boolean|
|Run on Hulu||true||boolean|
|Run on HBO Max||true||boolean|
|Run on Starz||true||boolean|
|Hotkey code (pause/resume)||F7||string||Physical key, e.g.
|Enable toggle hotkey||true||boolean||Enable pausing/resuming with a hotkey.|
|Hotkey code (settings)||KeyN||string||Physical key, e.g.
|Enable settings hotkey||true||boolean||Enable opening the settings panel with a hotkey.|
|Ctrl key||true||boolean||The next four settings are for modifier keys. If you don't want to use a modifier key, uncheck all four of these. If you want to use multiple, check all the modifier keys you want.|
|Meta key||false||boolean||Depends on browser and OS.|
|Enable popup||true||boolean||Whether to show pause/resume popups.|
|Popup duration||3000||integer||How long to leave the popup open for.|
|Use Google Fonts||true||boolean||Whether to grab the font from Google Fonts.|
|Popup font||Source Sans Pro||string||Font to use for the popup. If it's not locally installed on your PC, then it must be available on Google Fonts and
|Font size (px)||24||integer||Font size in pixels.|
|Font weight||300||integer||Font weight, in multiples of 100 between 100 and 900. (bigger is thicker)|
|Italic||false||boolean||Whether the font should be italic or not.|
backdrop-filterto apply a blur effect behind them, similar to Windows 10's acrylic glass effect. This is purely aesthetic so you can simply ignore this, but if you use Firefox and want the full visual effect, there's an extra step:
about:configinto your url bar and hit enter. Search for
layout.css.backdrop-filter.enabledand toggle it to true.
about:supportfrom your url bar.
about:config, then search for
gfx.webrender.alland toggle it to true.
dom.webgpu.enabledand make sure it's set to false.