Hum-hum..., Post/Thread approved, but very mixed "Feelings", ah-ah...!:WilliamTi wrote: ↑Thu Mar 07, 2019 2:59 amI have a situation where I need to use 2Captcha to solve recaptcha for the site , but the recaptcha is unusually in its own frame. My normal .js I use in imacros for firefox fails to expose the "text area" to paste the token result into. How can this be overcome ?Presumably I just need to reference the frame but I am unsure how to do this as I am just starting with javascript and use a script that I paid a coder for . I have asked him but I dont think he is sure , or too busy perhaps !
The code below normally works to expose the text area to input the recaptcha token..Code: Select all
macro += "URL GOTO=javascript:((function(){var<SP>k=document.querySelector('[src^=\"https://www.google.com/recaptcha/api2/anchor?\"]').src.split('k=')[1].split('&')[0];document.getElementById('g-recaptcha-response').style.display='';document.getElementById('g-recaptcha-response').textContent=k;}))();" + "\n";
This Thread is a "parallel" Thread to 2 other fairly recent Threads on the 'SOF' + 'Reddit' Forums from a few weeks ago, or possibly just a "fake" Copy&Paste as @OP seems to be a very notorious Spammer from behind some "very dirty" Vietnamese Proxy...

[=> Thread will be monitored and I will ask the User on SOF if they "really" posted themselves on our Forum...]
Parallel Threads:
- On SOF by User @FadeToBlack, no Replies:
- On Reddit by User @DanJM2019 , no Replies:
(What a "stupid" Site btw and completely "User Unfriendly" this 'Reddit' Forum, complete hassle to do a simple Select&Copy Content from the Page...!
