您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically skip and click nexts on hd.kinopoisk.ru
// ==UserScript== // @name Kinopoisk HD skip, next // @version 0.1 // @description Automatically skip and click nexts on hd.kinopoisk.ru // @author ran, auipga, lihachev9 // @match https://hd.kinopoisk.ru/* // @require http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js // @grant none // @license MIT // @namespace https://greasyfork.org/users/851484 // ==/UserScript== const jQueryTargets = [ {selector: "button:contains('Пропустить')", innerText: 'Пропустить'}, {selector: "button:contains('Следующая серия')", innerText: 'Следующая серия'}, ]; var count = 0; async function find() { if (count === 0) { jQueryTargets.forEach(target => { const badDivs = $(target.selector); for (let i = 0; i < badDivs.length; i++) { if (badDivs[i].innerText === target.innerText) { badDivs[i].click(); count = 5; } } }); } else { count--; } } var intervalId = window.setInterval(find, 300);