Skip to content

Instantly share code, notes, and snippets.

@TheDutchCoder
Last active May 24, 2022 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheDutchCoder/1d0c153099b42cb3fe3f842bd3cef8b8 to your computer and use it in GitHub Desktop.
Save TheDutchCoder/1d0c153099b42cb3fe3f842bd3cef8b8 to your computer and use it in GitHub Desktop.
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