I have created the following JSfiddle to show you what I want to do.
It should be self-explanatory from that.
I want to reiterate that this is generated from an external 3rd party code that is intended to be embedded on your website, that I have no access to, so I cannot edit the original source and change it.
I need to programmatically modify the URL of that “increase score” button that is displayed after someone has submitted the form and the result has been generated.
This is beyond my own JS skills, but I’m sure some clever clogs here can tell me how to do it.
oh right. S’what i get for answering a post right before going to bed lol. I didnt even notice the iframe and the console defaulted to being in the context necessary when right clicked and inspected.
You’d be able to do it in that way (manually, or probably with something like Tampermonkey running on your browser). Doing it from the page itself however will run into the cross-origin issues mentioned.