Augie (from intellectualcapitalreport.com ) presented a spam prevention method idea which we’ve been talking about under a previous post this past week: HowTo Eliminate Wordpress Trackback Comment And Pingback Spam . Augie (从intellectualcapitalreport.com )提出了防止垃圾邮件的方法想法,我们已经谈论根据以前的职位过去的这个星期: 如何消除WordPress的评论和引用Pingback垃圾邮件。The basic idea is to provide an extra input field which is hidden to a user when viewed normally from the browser.基本的思路是提供一个额外的输入栏位这是隐藏到用户观看时,通常从浏览器。This means if you check your form data when a submission is being processed, you can determine if the field is still empty.这就意味着,如果您检查表单数据时,提交正在处理中,您可以决定是否领域仍是空白。If it is filled out, then a bot must have auto filled the field.如果是填写,然后机器人必须具备自动填补了外地。
Spam Field Details垃圾场的细节
The naming convention used on a hidden field should be named “email” or “url” to trick the bot.在命名惯例上使用隐藏字段应该命名为“电子邮件”或“网址”欺骗僵尸。Your real email field will then of course need to be named something else.您的真实的电子邮件外地然后将当然需要命名为别的东西。A small price to pay for less house cleaning.一个很小的代价不到房子的清洁。
Another key to all of this is to wrap your trap (haha) in a DIV so that the a bot cant tell that the field is hidden.另一个关键,所有这一切都结束的陷阱(哈哈)在一个除法,使以BOT不能告诉外地是隐藏的。Marking it with type=”hidden” on the input tag itself is a bit of a giveaway.可塑与类型= “隐藏”的投入标记本身就是一个有点赠品。Assigning an id or class to the div and specifying display:none; would cause the bot a lot of extra work which most probably aren’t programmed for.分配一个ID或类别的专区,并指明显示:无;将导致僵尸了许多额外的工作,最有可能不是编程。You could also use a built in id or class directly on the div to specify it as a hidden field.您也可以使用内置的ID或类别直接在专区指定它作为一个隐藏的领域。
Hidden Input Field Code隐藏输入栏位代码
Here is an example of what your code would look like:下面是一个例子,您的代码将如下所示:
It isn’t too much of a stretch to add this to a custom solution or implement it into a Wordpress comments or form plugins because id’s and classes are assigned to input fields by default.这不是扯得太远了以新增此项目自订的解决办法或实施到WordPress的意见或形式的插件,因为识别码和班级被分配到输入栏位的预设值。If you’re not already using a form plugin check out:如果您尚未使用的一种形式插件检查:
If I get enough requests I’ll write a post which explains how to implement this into Wordpress comments in a similar manner in which I setup the Enhanced Numbered Equation CAPTCHA .如果我得到足够的要求我会撰写文章解释如何执行这一到WordPress的评论也以相同方式在我安装增强编号方程CAPTCHA 。
The More Spam Defense The Better在更多的垃圾邮件防御更好
I don’t have a lot of experience in using spam bots, but this is a promising way to enhance our line of defense against spam.我不拥有丰富的经验在使用防垃圾邮件程序,但是这是一种很有前途的方式加强我们的防线垃圾邮件。More importantly, its not intrusive on a users browsing experience.更重要的是,它没有侵入了用户的浏览体验。Unlike a CPATCHA, it requires a valid visitor to do nothing!不同CPATCHA ,它需要一个有效的访客做什么!
If you have any thoughts or comments, about this spam technique, leave them below.如果您有任何想法或意见,这个垃圾邮件技术,让他们下文。
Its amazing how much more money I made today from Adsense after deleting about 100 Placement Targeted ads.其惊人的多少更多的钱,我今天从AdSense后,删去约100 位置定位的广告。
Hidden Form Fields To Prevent Bot Spam http://tinyurl.com/56rvb3隐藏表单栏位,以防止垃圾邮件的僵尸http://tinyurl.com/56rvb3
The Matrix runs on Windows XP - http://tinyurl.com/5e7pam - Priceless矩阵运行在Windows XP -h ttp://tinyurl.com/5e7pam-无价
Paint program via web browser: http://www.pixlr.com/app/画图程序通过网络浏览器: http://www.pixlr.com/app/
Android phone can be used as a handheld remote for your PC or Mac - http://twurl.nl/nrg5fz.机器人的电话可以作为一个手持遥控器为您的PC或Mac -h ttp://twurl.nl/nrg5fz。Controls your cursor, media etc.控制您的光标移动,媒体等
9 New & Popular Wordpress Plugins In October 2008 http://tinyurl.com/5qmb4v 9日纽约和人民WordPress的插件在2008年10月http://tinyurl.com/5qmb4v
Google Android appears to be really taking off now.谷歌机器人似乎是真的走了。http://www.androidapps.com - Lots of cool apps already. http://www.androidapps.com -许多应用程序已经降温。Maybe I'll pick one up soon.也许我会选择一个很快。
发表评论: