How to edit hidden field on iframe that has cross origin blocked
I am trying to submit a funcaptcha but I cannot edit the token inside the iframe because of cross origin reasons. What is the solution?
This is my error in chrome "VM457:1 Uncaught DOMException: Blocked a frame with origin "https://signup.hlt.com" from accessing a cross-origin frame.
BAS does not give any error but i assume it fails for the same reason
This works in my chrome browser but not in BAS: document.querySelector("#verification-token").value="blahblahblah"
Any idea why?
It only works if i open chrome dev tools and manually click "Copy-> Copy JS path" first....
It's like BAS webpage cache is wrong or something and doing this refreshes it.
But even after doing this cache issue fix, i still cannot edit the value using this Query in BAS. If I use BAS Chrome Console i can do document.querySelector("#verification-token").value="blahblahblah" and it sets the value
found a different way to do it but this still appears to be a bug anyway