视翰自动弹幕 AutoClick

shihan AutoClick

目前為 2020-11-26 提交的版本,檢視 最新版本

// ==UserScript==
// @name               视翰自动弹幕 AutoClick
// @namespace          视翰自动弹幕 AutoClick
// @description        shihan AutoClick
// @description:zh-cn  视翰自动弹幕 AutoClick
// @copyright          feizei
// @version            0.2
// @include             http://mp.meeting.shine.com.cn/*
// @include            /chat/
// @require            https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @run-at             document-end
// @grant              window.close
// @grant              window.focus
// ==/UserScript==


try{
document.getElementById("loginBtn").click();
}catch(e){};

var time = 1000;
var textList = [

]

setTimeout(function() {
    textList.forEach(async (d,i)=>{
      await sleep(time*i);
      await $("#dope").val(d);
      await document.querySelector('button').click();
    });
}, 3000)

async function First(d) {
    document.getElementById("dope").innerHTML = d;
}


async function Second() {
     await document.querySelector('button').click();
}


function sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms));
}


QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址