djangosnippets.org: Latest snippets tagged with 'antispam'http://djangosnippets.org/tags/antispam/2010-02-14T11:47:39.052847-06:00AntiSpamForm
2010-02-14T11:47:39.052847-06:00zenxhttp://djangosnippets.org/snippets/1925/<p>A general AntiSpamForm using some tricks to prevent spam based on current <a href="http://code.djangoproject.com/browser/django/trunk/django/contrib/comments/forms.py">django.contrib.comments.forms</a>. It uses a timestamp, a security hash and a honeypot field. See <a href="http://www.djangosnippets.org/snippets/1856/">AntiSpamModelForm</a> too.</p>
Freely redistributableAntiSpamModelForm
2010-01-07T19:31:40.568628-06:00zenxhttp://djangosnippets.org/snippets/1856/<p>A general AntiSpamModelForm using some tricks to prevent spam based on current <a href="http://code.djangoproject.com/browser/django/trunk/django/contrib/comments/forms.py">django.contrib.comments.forms</a>. It uses a timestamp, a security hash and a honeypot field. See <a href="http://www.djangosnippets.org/snippets/1925/">AntiSpamForm</a> too.
</p>
Freely redistributablePrevent Django newcomments spam with Akismet (reloaded)
2009-07-17T02:20:04.313759-05:00sciyoshihttp://djangosnippets.org/snippets/1638/<p>This is a rewrite of <a href="http://www.djangosnippets.org/snippets/1006/">snippet #1006</a> to use the moderation features available in Django's comments framework. This is more customizable than the signals approach and works well if other moderation features are being used. If you want to make comments that are flagged as spam become hidden instead of …</p>
Freely redistributableAlternative to Captchas (Without Human Interaction)
2008-09-28T15:08:46.743873-05:00Archatashttp://djangosnippets.org/snippets/1092/<p>This security field is based on the perception that spambots post data to forms in very short or very long regular intervals of time, where it takes reasonable time to fill in a form and to submit it for human beings.</p>
<p>Instead of captcha images or Ajax-based security interaction, the …</p>
Freely redistributablehide_email
2008-05-06T00:19:13.648441-05:00rukebahttp://djangosnippets.org/snippets/740/<p>This templatetag obsfucate mailto link and hide it while not happen onmouseover event.</p>
<p>Usage:</p>
<pre><code>{% hide_email object.author object.author.email %}
</code></pre>
<p>Output:</p>
<pre><code><a href="mailto:noreply@spammer.net"
onmouseover="var a=String.fromCharCode(79+35,14+103,66+41,30+71,49+49,16+81);
var b=String.fromCharCode(14+50,9+105,61+56,81+26,92+9,2+96,20+77,13+33,75+24,32+79,31+78);
this.href=['mail','to:',a,b].join('');">rukeba</a>
</code></pre>
<p>Based on <a href="http://www.djangosnippets.org/snippets/536/">Email Obsfucator</a> and <a href="http://market.yandex.ru/forums/">forums at Yandex.Market</a>.</p>
<p>Example at <a href="http://rukeba.com/ra/2008/01/15/oasis-wonderwall/">my guitar blog</a></p>
Freely redistributable