您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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 }); })();