Last active
August 2, 2022 03:35
-
-
Save luhaoming/2ed295b2d7b3b310a7ed1ae8f91aecab to your computer and use it in GitHub Desktop.
yahoo checkin
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 yahoo checkin | |
// @namespace http://tampermonkey.net/ | |
// @version 0.6 | |
// @description try to take over the world! | |
// @author haoming | |
// @match https://*.yahoo.com/points/checkin?id=* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=yahoo.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
var st=new Date() | |
document.title=st.getTime() | |
var go=setInterval(()=>{ | |
Array.from(document.querySelectorAll("button")).pop().click() | |
},1000) | |
setTimeout(()=>{clearInterval(go)},10000) | |
setTimeout(()=>{location.reload()},5*60*1000) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment