Linux 软件免费装

PHPEnkoder

开发者 michael_greenberg
更新时间 2023年9月5日 23:36
捐献地址: 去捐款
PHP版本: 2.3 及以上
WordPress版本: 6.3
版权: Modified BSD (BSDv3)
版权网址: 版权信息

标签

email mail spam javascript shortcode address bot link hidden hide js hider safe anti-spam e-mail addresses mailto spambot human robot encoder crawler encoding encrypt obfuscate obfuscator crawl harvest encode plaintext enkoder enkode hivelogic

下载

1.12 1.12.1 1.13 1.14.1 1.15 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.15.1 1.0 1.10 1.11 1.14

详情介绍:

PHPEnkoder is a port of the excellent Hivelogic Enkoder to PHP and, more specifically, to Wordpress. It is used to display text in a way that users can see and bots can't. The encoding system is directly and unabashedly stolen from the BSD-licensed source of Hivelogic Enkoder, which works by randomly encoding a piece of text and sending to the browser self-evaluating Javascript that will generate the original text. This works in two ways: first, a bot must first have a fairly complete Javascript implementation (in particular, it must have eval); second, the decoding process can be made arbitrarily computationally intensive. This is similar to the idea of charging computational payments to send e-mail, only this is actually implemented. By default, PHPEnkoder scrambles e-mails in plaintext and in mailto: links. It additionally provides a shortcode for manual scrambling, used like so: [enkode text="shown to non-JS browsers"]this will be scrambled[/enkode].

安装:

  1. Either:
  2. Go to 'Plugins > Add New' and search for PHPEnkoder
  3. Download and extract phpenkoder.1.12.1.zip from the plugin directory and upload enkoder.php to the /wordpress/wp-content/plugins/ directory
  4. 通过 WordPress 的“插件”菜单激活插件
  5. Configure the plugin through its menu in Settings

升级注意事项:

See the webpage for information on updates. 1.15 Thanks to zitrusblau for implementing programmatic control of when PHPEnkoder runs. 1.14.1 Improved API for enkode_mailto, allowing overriding of some defaults. Thanks to Martina Beil for the patch!

常见问题:

Why doesn't PHP Enkoder work in the excerpt?

WordPress creates excerpts by simply stripping tags from truncated content. This results in some Javascript-protecting comments appearing in the excerpt text, as there isn't a convenient way to determine if content being rendered is meant for an excerpt or the page. For now, a customizable message appears; by default, it will be rendered as / email hidden; JavaScript is required /. Any ideas for workarounds would be appreciated; please send them along.

I opened up the inspector and I saw my supposedly encoded text. What gives?

The inspector shows the current live state of the DOM---how the page looks right now. Once PHPEnkoder's generated JavaScript runs, then the DOM will include all of the secrets. If you check the source, you'll see that your secrets are safe from (naively) prying eyes.

Other questions?

See the webpage for more information.

更新日志:

See the webpage for more information on changes.