Title: What is a Javascript Trap &amp; http referer
Last modified: August 20, 2016

---

# What is a Javascript Trap & http referer

 *  Resolved [Wansbrough](https://wordpress.org/support/users/wansbrough/)
 * (@wansbrough)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-a-javascript-trap-http-referer/)
 * These two have recently appeared in the log, what are they?
 * See highlighted areas on image link.
 * [http://i818.photobucket.com/albums/zz103/wansbrough/WPDashboardCapture_zps4b4df179.jpg&#8221](http://i818.photobucket.com/albums/zz103/wansbrough/WPDashboardCapture_zps4b4df179.jpg&#8221);
 * [http://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/](http://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Keith P. Graham](https://wordpress.org/support/users/kpgraham/)
 * (@kpgraham)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-a-javascript-trap-http-referer/#post-3377842)
 * A JavaScript trap is when I put some code on the page that updates a hidden field
   on the comments form. If the field is wrong it is because the user had JavaScript
   turned off or was running a robot. Only very paranoid users turn off JavaScript.
   So the user must be a badly written robot.
    The http_referer missing refers to
   a standard heading that all web browsers send out. If it is missing, or does 
   not match the website, then the referrer code in the browser is not working or
   else the user is robot trying to send you spam.
 * Keith
 *  Thread Starter [Wansbrough](https://wordpress.org/support/users/wansbrough/)
 * (@wansbrough)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-a-javascript-trap-http-referer/#post-3377901)
 * Thanks for clearing that up Keith

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘What is a Javascript Trap & http referer’ is closed to new replies.

 * ![](https://ps.w.org/stop-spammer-registrations-plugin/assets/icon-256x256.png?
   rev=3377746)
 * [Stop Spammers Classic](https://wordpress.org/plugins/stop-spammer-registrations-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stop-spammer-registrations-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stop-spammer-registrations-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/stop-spammer-registrations-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stop-spammer-registrations-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stop-spammer-registrations-plugin/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Wansbrough](https://wordpress.org/support/users/wansbrough/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-a-javascript-trap-http-referer/#post-3377901)
 * Status: resolved