Skip to content

Instantly share code, notes, and snippets.

@ssig33
Created March 29, 2021 08:53
Show Gist options
  • Save ssig33/e7644b15ff94a3691ac6bae3c005e19a to your computer and use it in GitHub Desktop.
Save ssig33/e7644b15ff94a3691ac6bae3c005e19a to your computer and use it in GitHub Desktop.
sumo.user.js
// ==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