0% found this document useful (0 votes)
129 views

EBonus - GG Script

The document is a userscript for the eBonus.gg website. It automates tasks like clicking popups, reloading video pages, and tracking video progress to earn coins. Key points: - The script clicks coins popups every second and reloads the page every 6 minutes (safeguard refresh). - When on a video watch page, it starts the video, gets the length, and periodically reports progress every 2 seconds until complete. - This allows the script to automate watching videos and earning coins without user interaction.

Uploaded by

Shadowcrusher
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views

EBonus - GG Script

The document is a userscript for the eBonus.gg website. It automates tasks like clicking popups, reloading video pages, and tracking video progress to earn coins. Key points: - The script clicks coins popups every second and reloads the page every 6 minutes (safeguard refresh). - When on a video watch page, it starts the video, gets the length, and periodically reports progress every 2 seconds until complete. - This allows the script to automate watching videos and earning coins without user interaction.

Uploaded by

Shadowcrusher
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

// ==UserScript==

// @name eBonus.gg Helper


// @namespace Royalgamer06
// @version 0.3
// @description Automate tasks on eBonus.gg
// @author Royalgamer06(repost)
// @include *://ebonus.gg*
// @grant none
// @run-at document-idle
// ==/UserScript==

const safeguard_refresh = 6; //minutes

setTimeout(function() {
console.log("reached");
//$(document).on("DOMSubtreeModified", function () {
var coinswatcher = setInterval(function() {
if ($(".coins_popup").length > 0) {
clearInterval(coinswatcher);
console.log("clicked");
$(".coins_popup").click();
}
}, 1000);
//});
if (location.href.indexOf("/earn-coins/watch") > -1) {
$.ajax({ type: "POST", url: "/earn-coins/watch/yt", data: { started: 'true'
} });
paused = false;
started = true;
var vidlength = $("div.col_video > script").text().split("time >= ")
[1].split(" ")[0];
var watcher = setInterval(function() {
$.ajax({ type: "POST", url: "/earn-coins/watch/yt", data: { paused:
'true', time: vidlength }, success: function(data) {
console.log(data.done);
if (data.done == "true") {
done = true;
clearInterval(watcher);
location.href = "https://ebonus.gg/earn-coins/watch";
}
}});
}, 2000);
}
}, 5000);

setTimeout(function() {
location.reload();
}, safeguard_refresh * 60000);

You might also like