Skip to content

Instantly share code, notes, and snippets.

@charliecm
Created June 16, 2013 18:38
Show Gist options
  • Save charliecm/5792960 to your computer and use it in GitHub Desktop.
Save charliecm/5792960 to your computer and use it in GitHub Desktop.
Anti-spam for Anchor CMS.
<!-- from http://forums.anchorcms.com/discussion/spam-prevention-for-comments#post-1882 -->
<script type="text/javascript">/* <![CDATA[ */ document.write('<input type="hidden" name="captcha" id="captcha" value="P' + 'R' + 'O' + 'T' + 'E' + 'C' + 'T" />'); /* ]]> */ </script> <noscript> <label for="captcha">Antispam: "<em>PROTECTED</em>"</label> <input id="captcha" name="captcha" value="" class="input"/> </noscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment