PageSourceSearch

https://patateend.nl/wordpress/wp-content/plugins/pirate-forms/public/js/custom-spam.js?ver=6.6.9

js patateend.nl collected 2026-09-24 15:07:51 UTC 1,276 bytes, 41 lines download raw bytes

1/* global pf */
2/* global jQuery */
3(function($, pf){
4
5    $(document).ready(function() {
6        onDocumentReady();
7    });
8
9    $(window).load(function() {
10        onWindowLoad();
11    });
12
13    function onDocumentReady() {
14        // fired when a form is changed from the inspector.
15        if(pf.spam.gutenberg === 1){
16            jQuery('body').delegate('.pirate-forms-maps-custom', 'addCustomSpam', function(){
17                var i = 0;
18                addCustomSpam(i++, jQuery(this));
19            });
20        }
21
22        // for the front end.
23        jQuery('.pirate-forms-maps-custom').each(function(i){
24            addCustomSpam(i, jQuery(this));
25        });
26    }
27
28    function onWindowLoad() {
29        // fired when a saved form is loaded in gutenberg.
30        if(pf.spam.gutenberg === 1){
31            jQuery('.pirate-forms-maps-custom').each(function(i){
32                addCustomSpam(i, jQuery(this));
33            });
34        }
35    }
36
37    function addCustomSpam(i, object){
38        var $id = 'xobkcehc-' + i;
39        object.empty().html(jQuery('<input id="' + $id + '" name="xobkcehc" type="' + 'xobkcehc'.split('').reverse().join('') + '" value="' + pf.spam.value + '"><label for="' + $id + '"><span>' + pf.spam.label + '</span></label>'));
40    }
41})(jQuery, pf);

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.