An embedabble Captcha that asks your site visitors to prove that they are human by supporting Israel.
You can embed this Captcha anywhere on the web with just 2 lines of code.
<div id="captcha-container"></div>
<script
type="module"
src="https://support-israel-captcha.vercel.app/assets/embed.js?mount=1"
></script>
Simply add these 2 lines of code anywhere you would like to embed the Captcha.
If you prefer to embed the Captcha with JavaScript only, you can do so like this:
const script = document.createElement("script");
script.src = "https://support-israel-captcha.vercel.app/assets/embed.js";
script.type = "module";
script.onload = () => {
window.mountIsraelCaptcha("captcha-container");
};
document.head.appendChild(script);
By default the Captcha is mounted on the HTML element with the id of captcha-container
.
If you want to mount the Captcha on a different element, you can customize the mount point by configuring your id like so:
<div id="my-container"></div>
<script>
window.captchaContainerId = "my-container";
</script>
<script
type="module"
src="https://support-israel-captcha.vercel.app/assets/embed.js?mount=1"
></script>