Created
March 29, 2021 08:53
-
-
Save ssig33/e7644b15ff94a3691ac6bae3c005e19a to your computer and use it in GitHub Desktop.
sumo.user.js
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 Infinity Suumo | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://hnakai0909.github.io/works/suumo/ | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const button = document.createElement('button'); | |
button.textContent = '無限スモスモ'; | |
const f = ()=>{ | |
document.querySelector('#random').click(); | |
setTimeout(()=>{f();}, 10.9*1000); | |
}; | |
button.addEventListener('click', ()=>{ | |
f(); | |
}); | |
document.querySelector('body').append(button); | |
// Your code here... | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment