Greasy Fork

Greasy Fork is available in English.

大卡学习钉钉加速!!

大卡学习钉钉每年一次刷刷刷

当前为 2022-08-23 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         大卡学习钉钉加速!!
// @namespace    JuanJuanWang
// @version      0.2
// @description  大卡学习钉钉每年一次刷刷刷
// @author       JuanJuanWang

// @match        https://im.dingtalk.com/
// @match        https://dinglearning.cn/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
 
var func = () => {

 if((!window.location.href.includes("VideoPlay")&& document.getElementById("ifrm")!=null))
 {
  document.getElementById("ifrm").remove();
 //document.body.remove(ifr)
 }
 if ( window.location.href.includes("VideoPlay")&&document.getElementById("ifrm")==null)
{
 let ifrm = document.createElement("button");
ifrm.innerText="点这里!!!!!!!!!!!!!!前进四!!!!!!!!!!!!!!!加速!!!!!!!!!!!!!!";
ifrm.id="ifrm";
 ifrm.style.width = "340px";
 ifrm.style.height = "100px";
    ifrm.style.position="absolute";
    ifrm.style.zIndex=9999;
    ifrm.style.backgroundColor="pink";

   ifrm.onclick=function(){
    //code
  //  alert("点击了按钮");
      let pl=document.getElementById('my-player');
       pl.player.off("pause");
  pl.player.off("timeupdate")

  pl.player.on("pause", (function() {
                                                console.log("videox");
                                               pl.player.currentTime(pl.player.duration()-5);
                                            }
                                            ))
pl.player.play();
pl.player.pause() ;
  pl.player.play();
}

document.body.append(ifrm);}}

setInterval(func, 1000);

    // Your code here...
})();