Site Notice

hello, world

超星弹幕助手

From Project-EPB Commons
Revision as of 14:23, 23 February 2020 by 机智的小鱼君 (talk | contribs) ([InPageEdit] 没有编辑摘要)

请适度恶作剧,尊重老师。学习是最重要的!

<html> <script src="https://common.wjghj.cn/js/ChaoXingDanMuZhuShou"></script> <pre id="msgArea" style="padding: 4px; height: 200px; overflow: auto; border: 1px solid #aaa;"><p class="comment">[<span style="color:#f48">管理员消息</span>]<b>老师:</b>同学们怎么想呢?</p></pre> <textarea id="RKLBChat_sendText"></textarea> <button id="RKLBChat_sendMsg" onclick="sendCommentByMe()">发送评论</button> <script> function sendComment(user, comment) {

 if (comment === '' || user === '') return;
 $('#msgArea').append('<p class="comment"><b>' + user + ':</b>' + comment + '<span style="color:#999">' + new Date().toTimeString() + '</span></p>');
 var msgArea = document.getElementById('msgArea');
 msgArea.scrollTop = msgArea.scrollHeight;

} function sendCommentByMe(){

 var toSent = $('#RKLBChat_sendText').val();
 $('#RKLBChat_sendText').val('');
 sendComment('您', toSent);

} setInterval(function(){

 var randomMsg = [
   '大概明白了!',
   '请问是不是还有另外一种解法?',
   '哇这题太难了我快晕了!🤯🤯🤯',
   '考试要是考这题我算是完了。。。',
   '大概…懂了…其实还是不太明白。',
   '啊…老师请问可以再讲一次嘛?',
   '送出🚀x1000<br/>[<span style="color:red">用户已被禁言</span>]',
 ],
 finalMsg = randomMsg[Math.floor(Math.random() * randomMsg.length)],
 randomUser = ['张三','李四','王五','赵六','周七','老八','司马缸','初濑伊纲','品如','坤坤'],
 finalUser = randomUser[Math.floor(Math.random() * randomUser.length)]
 sendComment(finalUser, finalMsg);

},3000); </script> </html>

简介

因为最近感受到了被直播网课支配的恐惧,所以写了这个jio本来报复社会恶作剧。jio本名叫“超星网课直播平台弹幕刷屏助手”,这是一个演示页面,这个插件可以让你快速的在超星直播间刷大量的乃至一口气数十条弹幕。

我在这里简单模拟了一个直播间评论区(内容都是随机的请不要较真),你可以在这里尝试刷弹幕的乐趣(脚本面板在左下角,因为UI都是中文,在此不讲解使用方法)

Q&A

在真正的超星直播间能用吗?
可以,在直播间页面调用本js即可,使用后果自负
两个方法,第一个是在直播间网页打开控制台(按F12),输入这段代码按回车:
$.getScript("https://common.wjghj.cn/js/ChaoXingDanMuZhuShou");
第二个是用浏览器插件在相关网页调用脚本,自行百度
手机能用吗?
APP不能,网页版🉑,但你的浏览器要支持插件功能,把上面这个代码拷贝进插件,在直播网页上运行一次即可
可以用做商业用途吗?
等着收律师函吧
为什么连发上限是50?
防止有人恶搞过头,影响上课秩序

更新日志

  • 01:20, 22 February 2020 (CST):模块以及UI的设计初步完成