NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name AutoClick Box VKPlay
// @name:ru Автокликер Боксов VKPlay
// @namespace https://openuserjs.org/scripts/sx007/AutoClick_Box_VKPlay
// @version 0.1
// @author sx007 (Хлибец Иван)
// @description The script helps to automatically accept VKPlay Box
// @description:ru Скрипт помогает автоматически принимать (получать) VKPlay Бокс
// @homepage https://openuserjs.org/scripts/sx007/
// @icon https://static.vkplay.live/static/favicon.png?v=
// @updateURL https://openuserjs.org/meta/sx007/AutoClick_Box_VKPlay.meta.js
// @downloadURL https://openuserjs.org/install/sx007/AutoClick_Box_VKPlay.user.js
// @supportURL https://openuserjs.org/scripts/sx007/AutoClick_Box_VKPlay/issues
// @match https://vkplay.live/*
// @match *://*.vkplay.live/*
// @match *://vkplay.live/*
// @run-at document-end
// @grant none
// @license MIT
// @copyright 2024, sx007 (https://openuserjs.org/users/sx007)
// ==/UserScript==
(function () {
'use strict';
function pressButton() {
let dateN = new Date();
var AutoPoint = document.querySelectorAll('button[class*="DropBox_root_"]');
if (AutoPoint.length >= 1) {
AutoPoint[0].click();
console.log(dateN, "Box get!");
}
timeClick();
}
function timeClick() {
setTimeout(function () {
pressButton();
}, Math.random() * 1870 + 7600);
}
timeClick();
})();