Answer the question
In order to leave comments, you need to log in
YouTube search and click "on air" button script?
Good day. I will describe the essence of the idea. We need such a script, a clicker, anything (the main thing is that it would work in the background and not pull the mouse cursor) that would press the "On air - Skip and go to live broadcast" button in the YouTube player (such a button near the volume slider) in several windows browser, and he did it at a random interval (or, if possible, when the "Live" button turns gray.) The script is needed so that during the stream, it has at least 10 such "bots", in addition to live of people. If you just open the stream in several tabs, literally after 30 seconds a red dot flies off "On the air" and the viewer is not taken into account. I think it will be easy to write such a script, having basic knowledge in programming languages, but I just don’t have them. Please help.
Answer the question
In order to leave comments, you need to log in
Write a chrome extension. In fact, everything is very simple. The extension on the desired page finds a button with the ytp-live-badge class, then a click is made on the js. There are a lot of videos from articles about how to write an extension. In addition to this, you need to have minimal knowledge of js. In fact, the code there will be very simple.
setInterval(() => {
document.querySelector('.ytp-live-badge').click();
}, 30000);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question