From: "Kevin Carhart" <kevin_carhart@fastmail.fm>
To: edbrowse-dev@edbrowse.org
Subject: possible root cause in gebcn for a recaptcha issue
Date: Wed, 20 Oct 2021 03:31:37 -0700 [thread overview]
Message-ID: <a4c374fd-2b48-4b44-9aad-3fd99865cc91@www.fastmail.com> (raw)
I may have found the root cause for the current issue with recaptcha/paypal
Sending to list so that I can include a block of innerHTML
In this sample session, I create a div, then make sure the childNodes are ready, and then echo the class for two of them. After that, I try to pick them up with getElementsByClassName. It seems like we return an element on "recaptcha-checkbox-border" but we don't return an element on ""recaptcha-checkbox-borderAnimation". Could there be a case issue?
Barring something I'm missing of course.
K
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test1 = document.createElement("DIV")
[object Object]
test1.innerHTML = '<SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN><DIV class="recaptcha-checkbox-border"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV><DIV class="recaptcha-checkbox-borderAnimation"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV><DIV class="recaptcha-checkbox-spinner"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN><DIV class="recaptcha-checkbox-spinner-overlay"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV></DIV><DIV class="recaptcha-checkbox-checkmark"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV>'
[...]
.
bye
jdb
cx2 jsrt.browse
test1
[object Object]
ok(test1)
childNodes,parentNode,tagName,nodeName,nodeType,class,ownerDocument,innerHTML,inner$HTML,name,id
test1.childNodes
[object Object],[object Object],[object Object],[object Object],[object Object]
test1.childNodes[0].class
recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox
test1.childNodes[1].class
recaptcha-checkbox-border
test1.childNodes[2].class
recaptcha-checkbox-borderAnimation
test2 = test1.getElementsByClassName("recaptcha-checkbox-border")
[object Object]
test3 = test1.getElementsByClassName("recaptcha-checkbox-borderAnimation")
next reply other threads:[~2021-10-20 10:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 10:31 Kevin Carhart [this message]
2021-10-20 11:33 ` Karl Dahlke
2021-10-20 12:31 ` Kevin Carhart
2021-10-20 12:59 ` Karl Dahlke
2021-10-20 12:00 ` root element Karl Dahlke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4c374fd-2b48-4b44-9aad-3fd99865cc91@www.fastmail.com \
--to=kevin_carhart@fastmail.fm \
--cc=edbrowse-dev@edbrowse.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).