iqiyi快轉
当前为
// ==UserScript==
// @name iqiyi tools
// @version 0.1
// @description iqiyi快轉
// @author Vanisoul
// @match https://www.iq.com/*
// @license MIT
// @namespace https://gf.qytechs.cn/users/429936
// ==/UserScript==
(function () {
'use strict';
const iqiyiSkipKey = "j";
const iqiyiOPTime = 90;
let iqiyiVideo = undefined;
const iqiyiInterval = setInterval(() => {
var playerContainer = document.querySelector('.iqp-player-g.iqp-player.iqp-player-pc');
var selectorVideo = playerContainer ? playerContainer.querySelector('video') : null;
if (selectorVideo) {
iqiyiVideo = selectorVideo;
clearInterval(iqiyiInterval);
}
}, 1000);
document.addEventListener('keydown', function (event) {
if (event.key.toLocaleLowerCase() === iqiyiSkipKey && iqiyiVideo) {
iqiyiVideo.currentTime += iqiyiOPTime;
}
});
})();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址