<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged q2a-honeypot</title>
<link>https://www.question2answer.org/qa/tag/q2a-honeypot</link>
<description>Powered by Question2Answer</description>
<item>
<title>[Free Spam Prevention Plugin] Q2A Honeypot</title>
<link>https://www.question2answer.org/qa/104758/free-spam-prevention-plugin-q2a-honeypot</link>
<description>

&lt;p&gt;&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://github.com/rxchun/q2a-honeypot&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://raw.githubusercontent.com/heliochun/q2a-honeypot/main/q2a-honeypot.png&quot; style=&quot;width:100%&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;Q2A Honeypot&lt;/h1&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Free Spam Prevention Plugin.&lt;/p&gt;

&lt;p&gt;This plugin creates a simple Javascript honeypot&amp;nbsp;for spam bots on User Registration, preventing them from auto-filling fields and completing user registration.&lt;/p&gt;

&lt;p&gt;Github - &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://github.com/rxchun/q2a-honeypot&quot;&gt;Q2A-Honeypot&lt;/a&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;span style=&quot;color:#999999&quot;&gt;Few days ago I launched a brand new website&amp;nbsp;and&amp;nbsp;immediately started getting loads of Spam Bot&amp;nbsp;registrations. So I decided to write a JS&amp;nbsp;script to target those emails&amp;nbsp;in which spam bots were coming from, and preventing them from being used in the registration form.&amp;nbsp;But they were still getting through.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#999999&quot;&gt;Then I thought: &lt;em&gt;Oh &lt;/em&gt;w&lt;em&gt;ait... I'm doing this wrong...&amp;nbsp;I should be targeting the ones I want&amp;nbsp;to allow them&amp;nbsp;through instead (like @gmail, @hotmail etc.) &lt;/em&gt;to avoid having this&amp;nbsp;huge list of rejected emails. But somehow bots were still getting through.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#999999&quot;&gt;So I continued&amp;nbsp;coding,&amp;nbsp;and doing some more research, and&amp;nbsp;stumbled upon the &lt;/span&gt;&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://en.wikipedia.org/wiki/Honeypot_(computing)&quot;&gt;&lt;span style=&quot;color:#3498db&quot;&gt;honeypotting&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color:#999999&quot;&gt;&amp;nbsp;concept and put together the plugin above.&lt;/span&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;This could go up another level of&amp;nbsp;complexity and&amp;nbsp;gather&amp;nbsp;reports to study the blocked bots, but for now this simple code&amp;nbsp;does its job and has been blocking 100% of the spam on my website.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/104758/free-spam-prevention-plugin-q2a-honeypot</guid>
<pubDate>Wed, 16 Nov 2022 05:07:45 +0000</pubDate>
</item>
</channel>
</rss>