mcaptcha-glue
v0.1.0-alpha-3
Published
glue code to setup mCaptcha on your website
Downloads
10
Readme
JavaScript library to generate PoW for mCaptcha
Usage
Add this snippet to the form which requires to be protected using mCaptcha
<div style="width: 304px; height: 78px;">
<iframe
title="mCaptcha"
src="<LINK TO WIDGET>"
role="presentation"
name="mcaptcha-widget__iframe"
id="mcaptcha-widget__iframe"
scrolling="no"
sandbox="allow-same-origin allow-scripts"
width="304"
height="78"
data-mcaptcha_host="<mCaptcha HOST LOCATION>"
frameborder="0"
></iframe>
</div>
<script src="../dist/index.js"></script>
<script charset="utf-8">
mcaptchaGlue.init();
</script>
Example
See example form in ./static/embeded.html