Created
March 10, 2025 11:05
-
-
Save pookdeveloper/d878526c87a3b8f1a79a3cfdf07b4c8b to your computer and use it in GitHub Desktop.
Strava auto kudos
This file contains hidden or 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 New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-01-06 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.strava.com/dashboard* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=strava.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
console.log('Auto kudoss PRE') | |
window.onload = () => { | |
console.log('Auto kudoss') | |
setTimeout(() => { | |
[...document.querySelectorAll('button[title]')].filter(btn => btn.title.toLowerCase().includes('otorgar')).forEach((node, i) => { | |
console.log(i); | |
const randomDelay = Math.random() * 2000; // Random delay between 0-2000ms | |
setTimeout(() => { | |
node.click(); | |
}, randomDelay); | |
}); | |
// window.scrollBy(0,1024); | |
}, 2000); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment