Last active
May 24, 2022 20:12
-
-
Save TheDutchCoder/1d0c153099b42cb3fe3f842bd3cef8b8 to your computer and use it in GitHub Desktop.
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
javascript:(function(){ | |
let a = document.querySelector('.styles__StyledLink-sc-l6elh8-0.ekTmzq.Blockreact__Block-sc-1xf18x6-0.Buttonreact__StyledButton-sc-glfma3-0.fuGyEk.fzwDgL.OrderManager--second-button'); | |
a.click(); setTimeout(function() { let b = document.querySelector('input[name=price]'); b.value = 0.15; | |
let c = document.querySelector('#duration'); | |
c.click(); | |
setTimeout(function() { | |
let d = document.querySelectorAll('.UnstyledButtonreact__UnstyledButton-sc-ty1bh0-0.Monthreact__Day-sc-rehiga-1.btgkrL'); | |
let i = -1; | |
d.forEach((node, index) => node.ariaSelected ? i = index : i = -1); | |
d[i + 2].click(); | |
}, 500); | |
}, 500); })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment