1
0
Fork 0
firefox/toolkit/components/captchadetection/tests/mochitest/hcaptcha_checkbox.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

19 lines
462 B
HTML

<!DOCTYPE html>
<html>
<body>
<div id="captchaType" data-captcha-type="hCaptcha"></div>
<div id="checkbox" aria-checked="false"></div>
<script>
window.onmessage = function (event) {
if (event.data === "display-checkmark") {
document
.getElementById("checkbox")
.setAttribute("aria-checked", "true");
}
};
window.parent.postMessage("ready", "*");
</script>
</body>
</html>