Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


JSSpamBlock detects spam bots by sending a piece of JavaScript to the browser. This provides an effective and unobtrusive way to detect spam.

The following instructions are for a basic installation. If you are using WP-Cache or you want to use a log file, see further below for how to achieve this.

  1. Upload jsspamblock.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Try leaving a comment on one of your posts. If everything went properly, you won't even notice a difference. Search the page's source code for jsspamblock to make sure the code is included in the page. Please make sure you make a test comment to be sure it is working properly.
  4. If it didn't work (your comment was unexpectedly blocked when it should not have been), it is likely that your template does not have the comment form hook. If this is the case, you will have to manually call JS Spam Block in the template. To do this, find the "comments.php" template file and find the comment form - look for </form> and include the following just above it: <?php jsspamblock_doform(); ?>.
  5. Try to post a comment again. If it still doesn't work, I would like to know. You can contact me at <paulgb at gmail dot com>.


Replace the jsspamblock.php plugin file and update any settings you changed in the PHP file.

Requires: 2.0.2 or higher
Compatible up to: 2.1
Last Updated: 8 years ago
Active Installs: 200+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.