Greasy Fork镜像 is available in English.

Netflix intro skip

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

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name         Netflix intro skip
// @namespace    https://giuseppe.eletto.org
// @description  This script automatically skips intro on Netflix. And it's jQuery free!
// @author       Giuseppe Eletto
// @version      1.1.5
// @license      MIT
// @run-at       document-end
// @include      https://www.netflix.com/*
// ==/UserScript==
(function () {
    "use strict";

    // Declare observer callback
    const observerCallback = mutations => mutations
        .filter(m => "childList" === m.type)
        .flatMap(m => Array.from(m.addedNodes))
        .filter(n => Node.ELEMENT_NODE === n.nodeType)
        .map(e => e.querySelector("button[data-uia='player-skip-intro']"))
        .forEach(e => e?.click());

    // Start MutationObserver
    new MutationObserver(observerCallback)
        .observe(document.body, {
            childList: true,
            subtree: true
        });
})();
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元