First., you need to enable the button by performing the actions in this event handler on that page: $(document).on('click', "#step-btn-1", function() { ... }); This enables the button and sets the href attribute (= download location).
Then, you can click the button using document.getElementById("step-btn-2").click() On Saturday, January 29, 2022 at 8:02:43 PM UTC+1 antep...@gmail.com wrote: > I was trying to automate button clicks on a website midnight 16x by Zuxt > | PVPRP <https://pvprp.com/pack?p=1132&or=popular> > so I don't have to click on the requirement and then hit download. Tho > everything I tried wouldn't unlock it. > > Anyone know a fix > -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to greasemonkey-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/greasemonkey-users/446897aa-a1e1-4339-898a-ea55bcc4f0ebn%40googlegroups.com.