このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Email JavaScript Cloak

説明

This plugin lets you use a shortcode to automatically generate ‘cloaked’ email addresses in your content.

What is cloaking?
Take an email address like barack@whitehouse.gov. If that was to appear on one of your posts/pages, it could easily be ‘scraped’ or ‘harvested’ automatically to add that email address to a spam list of some sort. Cloaking is all about making that harder to do.

How does this plugin do its cloaking?
For any email address you include in your content, using the custom shortcode of [email barack@whitehouse.gov], that email address will appear as “barack -at- whitehouse -dot- gov” in your content initially. JavaScript running in the browser will then convert that email address to a regular, clickable, email link. Whilst it may seem pointless to convert a regular email address to a strange format only to convert it back again, the idea is that most automated ‘scrapers’, or ‘harvesters’, do not run JavaScript and hence won’t be able to pick up on the non-standard email address. The vast majority of users visiting your site will have JavaScript, and will see regular email addresses (not the strange format).

What about users who have no JavaScript, or have it disabled?
They will see the strange format (“barack -at- whitehouse -dot- gov”). You can include a footnote using a custom short code [emailnojs] which will explain the strange format, if you wish to cater for that tiny minority of visitors.

ライセンス

This plugin uses the GPLv3 license.

スクリーンショット

  • Sample use of the [email] custom shortcode.
  • How use of the [email] custom shortcode appears on a regular JavaScript-enabled browser.
  • How use of the [email] custom shortcode appears on a browser with JavaScript disabled.

インストール

There are 2 ways of installation. If your setup supports it, you can search for the plugin, by name, within your WordPress control panel, and install it from there.
Alternatively, you download the .zip file, unzip it, and copy the resultant email-js-cloak folder to the wp-content/plugins/ folder of your WordPress instaltion folder.

FAQ

There are no FAQs at this time. Feel free to suggest some!

評価

2016年9月3日
Joomla has its own email cloaking, time for wordpress to have it too! Good job!
4件のレビューをすべて表示

貢献者と開発者

Email JavaScript Cloak はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Email JavaScript Cloak” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

  • Version 1.03 – Fix PHP callback warning (thanks to Simon Schaller).
  • Version 1.02 – Confirm compatibility with WordPress v4.0.
  • Version 1.01 – Remove debug code (affects earlier MSIE versions).
  • Version 1.00 – Initial release.