Plugin info

Total downloads: 46,464
Active installs: 2,000
Total reviews: 8
Average rating: 5
Support threads opened: 1
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 9/5/2023 (848 days ago)
Added to WordPress: 10/24/2008 (17 years old)
Minimum WordPress version: 2.3
Tested up to WordPress version: 6.3.5
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 848 days ago • Support resolved 0% • 8 reviews

12/100

Is PHPEnkoder abandoned?

Possibly abandoned (last update 848 days ago).

Compatibility

Requires WordPress: 2.3
Tested up to: 6.3.5
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Pixeline's Email Protector
Rating 4.3/5 (8 reviews)Active installs 900
Email JavaScript Cloak
Rating 5.0/5 (4 reviews)Active installs 500

Description

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]
.

Installation

  1. Either:
    • Go to ‘Plugins > Add New’ and search for PHPEnkoder
    • Download and extract phpenkoder.1.12.1.zip from the plugin
      directory and upload enkoder.php to the
      /wordpress/wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin through its menu in Settings

Frequently Asked Questions

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.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

See the webpage for more
information on changes.