Netflix intro skip

This script automatically skips intro on Netflix. And it's jQuery free!

  1. // ==UserScript==
  2. // @name Netflix intro skip
  3. // @namespace https://giuseppe.eletto.org
  4. // @description This script automatically skips intro on Netflix. And it's jQuery free!
  5. // @author Giuseppe Eletto
  6. // @version 1.1.5
  7. // @license MIT
  8. // @run-at document-end
  9. // @include https://www.netflix.com/*
  10. // ==/UserScript==
  11. (function () {
  12. "use strict";
  13.  
  14. // Declare observer callback
  15. const observerCallback = mutations => mutations
  16. .filter(m => "childList" === m.type)
  17. .flatMap(m => Array.from(m.addedNodes))
  18. .filter(n => Node.ELEMENT_NODE === n.nodeType)
  19. .map(e => e.querySelector("button[data-uia='player-skip-intro']"))
  20. .forEach(e => e?.click());
  21.  
  22. // Start MutationObserver
  23. new MutationObserver(observerCallback)
  24. .observe(document.body, {
  25. childList: true,
  26. subtree: true
  27. });
  28. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址