acfun后退快进(鼠标)

自用云备份

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         acfun后退快进(鼠标)
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  自用云备份
// @author       You
// @match        https://www.acfun.cn/bangumi/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
var ttt=1
function rm(){
var videoElement = $('.no-cursor')[0]
videoElement.currentTime -= 5
}
function rmk(){
var videoElement = $('.no-cursor')[0]
videoElement.currentTime += 5
}
function rmkk(){
var videoElement = $('.no-cursor')[0]
if(ttt==1){videoElement.pause();ttt=0}else{videoElement.play();ttt=1}
}
function tt()
{var a=document.getElementsByTagName("body")[0];
var a22=document.createElement("li");
a.appendChild(a22)
var a2kk=document.createElement("a");
a22.appendChild(a2kk)
a2kk.innerHTML='&nbsp&nbsp↓↓'
a2kk.id='biliguna1';a2kk.style.position = "fixed";a2kk.style.left = "0px";a2kk.style.top = "340px";a2kk.style.opacity=0.30;a2kk.style.fontSize='40px'
a2kk.onclick=rmkk
var a2k=document.createElement("a");
a22.appendChild(a2k)
a2k.innerHTML='&nbsp&nbsp←'
a2k.id='biligunak2';a2k.style.position = "fixed";a2k.style.left = "0px";a2k.style.top = "390px";a2k.style.opacity=0.30;a2k.style.fontSize='40px'
a2k.onclick=rm
var a2=document.createElement("a");
a22.appendChild(a2)
a2.innerHTML='&nbsp&nbsp→'
a2.id='biliguna3';a2.style.position = "fixed";a2.style.left = "0px";a2.style.top = "440px";a2.style.opacity=0.30;a2.style.fontSize='40px'
a2.onclick=rmk
};

setTimeout(tt,3000)
    // Your code here...
})();