PageSourceSearch

https://historicjamestowne.org/wp-content/plugins/anti-spam/assets/js/anti-spam.js?ver=7.4.0

js historicjamestowne.org collected 2026-09-24 09:04:57 UTC 1,117 bytes, 36 lines download raw bytes

1/*
2Anti-spam plugin
3No spam in comments. No captcha.
4wordpress.org/plugins/anti-spam/
5*/
6
7"use strict";
8(function() {
9	jQuery(document).ready(function($) {
10		var answer = $('.wantispam-control-a').val(),
11			current_year = new Date().getFullYear(),
12			dynamic_control = $('<input>');
13
14		dynamic_control.attr('type', 'hidden');
15		dynamic_control.attr('name', 'wantispam_d');
16		dynamic_control.addClass('wantispam-control').addClass('wantispam-control-d');
17		dynamic_control.val(current_year);
18
19		$('.wantispam-required-fields').each(function() {
20			if( !$(this).hasClass('wantispam-form-processed') ) {
21
22				// hide inputs from users
23				$('.wantispam-group', $(this)).hide();
24				// set js support marker
25				$('.wantispam-control-j', $(this)).val('on');
26				// set answer into other input instead of user
27				$('.wantispam-control-q', $(this)).val(answer);
28				// clear value of the empty input because some themes are adding some value for all inputs
29				$('.wantispam-control-e', $(this)).val('');
30
31				$(this).append(dynamic_control.clone());
32				$(this).addClass('wantispam-form-processed');
33			}
34		});
35	});
36})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.