Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective
November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of
FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the
iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:
CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
-
ChuloGB
- Posts: 2
- Joined: Thu Nov 09, 2017 12:15 am
Post
by ChuloGB » Mon Nov 13, 2017 1:13 pm
Hello, it turns out that I have a problem, and that is if the code else works perfectly, but the condition does not detect it and continues with Else, My version of Imacros is 8.9.7, I need to search by ID (id = "free_play_recaptcha") or by Class (class = "g-recaptcha"), I am trying the script with Javascript, and I already try with Document.getElementbyId and Document.ElementinnerHTML
Code: Select all
var G_Extract= iimGetLastExtract(1);
if (G_Extract="captchasnet_captcha_input_box")){
//EN LA PAGINA HAY CAPTCHA DE LETRAS
iimPlay(MiMACRO)
}else {
//EN LA PAGINA HAY RECAPTCHA
iimPlay(OTROMACRO)
}
-
thecoder2012
- Posts: 446
- Joined: Sat Aug 15, 2015 5:14 pm
- Location: Internet
-
Contact:
Post
by thecoder2012 » Mon Nov 20, 2017 2:01 am
ChuloGB wrote:Hello, it turns out that I have a problem, and that is if the code else works perfectly, but the condition does not detect it and continues with Else, My version of Imacros is 8.9.7, I need to search by ID (id = "free_play_recaptcha") or by Class (class = "g-recaptcha"), I am trying the script with Javascript, and I already try with Document.getElementbyId and Document.ElementinnerHTML
Code: Select all
var G_Extract= iimGetLastExtract(1);
if (G_Extract="captchasnet_captcha_input_box")){
//EN LA PAGINA HAY CAPTCHA DE LETRAS
iimPlay(MiMACRO)
}else {
//EN LA PAGINA HAY RECAPTCHA
iimPlay(OTROMACRO)
}
if (G_Extract
=="..."){...}else{...]
Full example possible?
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!