PageSourceSearch

https://www.modern-maturity.org/includes/dd-acceptjs.js

js modern-maturity.org collected 2026-09-29 15:47:37 UTC 818 bytes, 21 lines download raw bytes

1function processAcceptJSResponse(response) {
2    setTimeout(() => {
3        if ( response.messages.resultCode == 'Ok' ) {
4            document.getElementById('acceptjs-nonce').value = response.opaqueData.dataValue;
5            document.getElementById('acceptjs-desc').value = response.opaqueData.dataDescriptor;
6    
7            // Ok, now submit the form
8            document.getElementById('acceptJSForm').submit();
9        } else {
10            // An error occurred?! Handle it!
11            console.error(response);
12            let errMsg = '';
13            response.messages.message.forEach(msg => {
14                errMsg += msg.text + '<br>'
15            });
16    
17            // update container to show error to user
18            document.getElementById('acceptJSError').innerHtml = errMsg;
19        }
20    }, 1000)
21}

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.