Last active
October 24, 2022 21:20
-
-
Save ElnuDev/a8ce2204d4cbb04a4e7229383e48c75a to your computer and use it in GitHub Desktop.
Habitica Due Default Tampermonkey script. Make sure to run on `document-idle` in settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Habitica Due Default | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Automatically switch to Due tab in Dailies section | |
// @author ElnuDev | |
// @match https://habitica.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=habitica.com | |
// @grant none | |
// ==/UserScript== | |
document.onreadystatechange = () => { | |
if (document.readyState == "complete") { | |
document.querySelector(".daily .filters :nth-child(2)").click(); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment