Greasy Fork镜像 支持简体中文。

Netflix play next episode

Automatically play the next Netflix episode.

  1. // ==UserScript==
  2. // @name Netflix play next episode
  3. // @namespace https://gf.qytechs.cn/en/users/90514
  4. // @version 0.2
  5. // @description Automatically play the next Netflix episode.
  6. // @author Tharaka De Silva
  7. // @match *://www.netflix.com/*
  8. // @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12.  
  13. (function() {
  14. 'use strict';
  15. var observer = new MutationObserver(function(mutations) {
  16. mutations.forEach(function(mutation) {
  17. if (mutation.addedNodes.length > 0 && mutation.addedNodes[0].className && mutation.addedNodes[0].className.toString().match(/ptrack-container/)) {
  18. var button = $(".WatchNext-still-hover-container").find(".PlayIcon");
  19. button.click();
  20. }
  21. });
  22. });
  23. observer.observe(document.querySelector('body'), { childList: true, subtree: true });
  24. })();

QingJ © 2025

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