Skip to content

Instantly share code, notes, and snippets.

@QuartzWarrior
Last active January 9, 2026 22:54
Show Gist options
  • Select an option

  • Save QuartzWarrior/e62aaa782fa38153e30562aa9584082c to your computer and use it in GitHub Desktop.

Select an option

Save QuartzWarrior/e62aaa782fa38153e30562aa9584082c to your computer and use it in GitHub Desktop.
A script to automatically claim probot daily.
// ==UserScript==
// @name Probot daily script
// @namespace https://quartzwarrior.xyz/
// @version 0.1
// @description A script to automatically claim probot daily.
// @author QuartzWarrior
// @match http*://quartzwarrior.xyz/*
// @match http*://probot.io/daily
// @icon http://probot.io/favicon.ico
// @grant unsafeWindow
// @grant GM_openInTab
// ==/UserScript==
(function() {
'use strict';
unsafeWindow.addEventListener('load', function () {
if (location.host == "quartzwarrior.xyz") {
var hrefOpener = (new URL('https://probot.io/daily')).href;
var workingTab = GM_openInTab(hrefOpener, { active: true });
setInterval(() => {
var hrefOpener = (new URL('https://probot.io/daily')).href;
var workingTab = GM_openInTab(hrefOpener, { active: true });
}, 86400000)
} else {
setTimeout(() => {
if (document.getElementById("daily-time-left") == null) {
document.getElementsByClassName("fas fa-gift")[1].click();
} else {
unsafeWindow.close();
}
var e = setInterval(() => {
if (document.getElementById("daily-time-left") != null) {
clearInterval(e);
unsafeWindow.close();
}
}, 100)
}, 1000)
}
})
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment