Spamex

描述

Spamex provides a shortcode to obfuscate email addresses and phone numbers in HTML. This protects them from scraping bots while staying readable for users.

Examples:

How it works:

Email:
– The key is injected between domain and TLD.
– Example: name@domain<b>.secret</b>.tld (key is hidden via CSS)

Phone:
– Format must be: prefix!middle!suffix
– The middle part is replaced by random digits.
– Example: +49!123!456 +49123<b>XYZ</b>456

In both cases, the <b> part is hidden using CSS and only fools bots.

Usage

Email obfuscation:

[spamex email=”[email protected]” key=”protect”]
[email protected]

[spamex phone=”+49!123!456″]
+49123984456

Use exactly two ! to split number into three parts.

安装

  1. Upload the spamex folder to /wp-content/plugins/
  2. Activate the plugin via WordPress > Plugins

评价

此插件暂无评价。

贡献者及开发者

「Spamex」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Spamex」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.6.3

Public release

1.6.2

FIX: Shorten version number to 6.7
FIX: Prefix generate_random_number with spamex
FIX: Handle explode() false in PHP 8.x
FIX: wp_get_custom_css() null fix for PHP 8.1

1.0

Initial release