刘裕洪的Blog

  • 首页
  • 归档

  • 搜索
leetcode selenium docker 破解 mysql Spring Deepin 逆向 Android Smail 反编译 Linux ThinkPHP jQuery JavaScript html5 css python VMware Centos c# uwp 安朗 校园网 sofether 路由器 交叉编译

腾讯课堂自动送花

发表于 2020-05-07 | 0 | 阅读次数 233

直接po代码,只是基础的dom操作
GreasyFork (需安装油猴或者暴力猴

// ==UserScript==
// @name         腾讯课堂自动献花
// @namespace    https://liuyuhong.ml
// @version      0.1
// @description  try to take over the world!
// @author       LiuYuHong
// @match        https://ke.qq.com/webcourse/*
// @grant        none
// ==/UserScript==
(function() {
    var i =1;
    var p = document.createElement("button");
    setTimeout(()=>{document.querySelector("#toolbar").appendChild(p);document.querySelector("#toolbar > button:nth-child(6)").setAttribute('id','lyh');},3000);
    setInterval(function(){
        i++;
        /*document.querySelector("#toolbar > button:nth-child(4)").setAttribute('class','toolbar-icon')*/
        document.querySelector("#toolbar > button:nth-child(4)").click();
        document.getElementById("lyh").innerHTML = '已送:'+i;
    },3000)
})();
  • 本文作者: 刘裕洪
  • 本文链接: https://liuyuhong.ml/archives/腾讯课堂自动送花
  • 版权声明: 本博客所有文章除特别声明外,均采用CC BY-NC-SA 3.0 许可协议。转载请注明出处!
# leetcode # selenium # docker # 破解 # mysql # Spring # Deepin # 逆向 # Android # Smail # 反编译 # Linux # ThinkPHP # jQuery # JavaScript # html5 # css # python # VMware # Centos # c# # uwp # 安朗 # 校园网 # sofether # 路由器 交叉编译
博学谷密码签到分析
记破解某京东抢购软件
  • 文章目录
  • 站点概览
刘裕洪

刘裕洪

死宅一只 🎵爱听EDM 📷摄影萌新

27 日志
14 分类
26 标签
RSS
Github E-mail Twitter
Creative Commons
Links
  • Mystery0
  • 梧桐
© 2019 — 2021 刘裕洪
由 Halo 强力驱动
|
主题 - NexT.Mist v5.1.4