该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

BetterAntiSpamBot

描述

BetterAntiSpamBot encrypts your email addresses with a dynamically generated JavaScript function.
We combine simplicity with obfuscation: Simplicity for you and complexity for bots.

Simply integrated

Protect yourself in just three steps:
1. First, select the text to link with your email address.
2. Then click the “@” button in the editor’s toolbar.
3. Finally, type your email address.
Alternatively, you may use the shortcode [bspam email="nospam@protected.com"]Email me[/bspam].

Dynamically generated

When encrypted email addresses are present on a page, BetterAntiSpamBot automatically adds a single, uniquely generated JavaScript function to the footer.
At first, it generates a key and splits it into variables. Secondly, it randomly generates all variable-, function- and parameter names using similar UTF-8 characters. The code finally gets compressed and reduced to one line.
That’s why BetterAntiSpamBot makes automated email harvesting very hard for spammers.

Developer friendly

BetterAntiSpamBot is a standalone php class with a WordPress framework.
In php, use the global variable $betterantispambot like this:
[…]href=”setmail(’email@addr.com’); ?>”[…]

屏幕截图

  • Usage in TinyMCE Editor
  • Usage in PHP code

安装

You can download and install BetterAntiSpamBot using the built in WordPress plugin installer. If you download BetterAntiSpamBot manually, make sure it is uploaded to “/wp-content/plugins/betterantispam/”.

Activate BetterAntiSpamBot in the “Plugins” admin panel using the “Activate” link.

常见问题

Spammers can’t reverse the decryption. Really?

No. No encryption is 100% safe, everything is crackable.
But the randomness, especially in variable names and order, makes it almost impossible to create automation for it.

I made a script to crack your encryption!

PM me the source. I’ll fix that.

What is compatibility mode for?

It removes certain characters from the list, so that the obfuscated variables get accepted by very old JS engines.

I have a suggestion! / I found a bug! / Can I help?

PM me about it, I greatly appreciate all constructive feedback and input.

评价

此插件暂无评价。

贡献者及开发者

“BetterAntiSpamBot” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“BetterAntiSpamBot”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Fixed “dirty” code (thanks pragmas for the hint)

1.0.0

  • Initial release