斗鱼自动发弹幕

步骤:

1.进入斗鱼直播;

2.按下f12;

3.点击Console;

4.复制下方代码黏贴至Console下,回车就会自动输弹幕;

友情提醒:若想终止请在console下输入stop()–或–按f5;

代码如下:

const area = document.getElementsByClassName('ChatSend-txt')[0]
const btn = document.getElementsByClassName('ChatSend-button ')[0]
const danmu = '输入想发的弹幕内容'
let interval
function start()
{
interval = setInterval(function(){
area.value = danmu
btn.click()
},1000)
}弹幕
function stop()
{
clearInterval(interval)
}
start()

 

24人评论了“斗鱼自动发弹幕”

  1. Nice blog right here! Also your website loads up fast!

    What host are you using? Can I am getting your affiliate hyperlink for your host?

    I desire my website loaded up as quickly as yours lol

  2. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something.

    I think that you can do with a few pics to drive the message home a bit, but instead of that, this is wonderful blog.

    An excellent read. I’ll certainly be back.

  3. Hello! I know this is kind of off topic but I was wondering if you knew where I could find a captcha
    plugin for my comment form? I’m using the same blog platform as yours and I’m
    having trouble finding one? Thanks a lot!

  4. Howdy would you mind letting me know which web host you’re working with?
    I’ve loaded your blog in 3 completely different web browsers and I must
    say this blog loads a lot faster then most. Can you suggest a
    good hosting provider at a honest price? Thank you, I appreciate it!

  5. Der australische Paralympics-Tennismeister Dylan Alcott
    hat die Auslassung des Rollstuhlturniers bei den US Open als „ekelhafte
    Diskriminierung“ bezeichnet.
    Bangladesch hat seit der ersten Meldung der Infektion am
    8. März insgesamt 102.292 bestätigte Fälle des neuen Coronavirus verzeichnet.

发表评论

电子邮件地址不会被公开。