PageSourceSearch

https://newcombandcompany.com/application/themes/new_comb/js/submit-button.js?v=1790437009

js newcombandcompany.com collected 2026-09-26 15:37:05 UTC 535 bytes, 17 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function() {
2    document.querySelectorAll('button[type="submit"]').forEach(function(btn) {
3        btn.addEventListener('click', function(e) {
4            if (!this.form) {
5                return;
6            }
7
8            e.preventDefault();
9            this.disabled = true;
10            if (this.form.requestSubmit) {
11                this.form.requestSubmit();
12            } else {
13                HTMLFormElement.prototype.submit.call(this.form);
14            }
15        });
16    });
17});

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.