PageSourceSearch

https://hmarochos.kiev.ua/wp-content/plugins/login-with-google/assets/build/js/onetap.js?ver=1786196995

js hmarochos.kiev.ua collected 2026-09-24 17:45:24 UTC 1,283 bytes, 35 lines download raw bytes

1window.LoginWithGoogleDataCallBack = function( response ) {
2    var xhr = new XMLHttpRequest();
3    xhr.open('POST', TempAccessOneTap.ajaxurl, true);
4    xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
5    xhr.onreadystatechange = function() {
6        if(xhr.readyState === XMLHttpRequest.DONE) {
7            var status = xhr.status;
8            if ( status === 200 ) {
9                var response = JSON.parse( xhr.responseText );
10
11                if ( ! response.success ) {
12                    alert( response.data );
13                    return;
14                }
15
16                try {
17
18                    var redirect_to = new URL( response.data.redirect );
19                    var homeurl = new URL( TempAccessOneTap.homeurl );
20
21                    if ( redirect_to.host !== homeurl.host ) {
22                        throw new URIError( wp.i18n.__( 'Invalid URL for Redirection', 'login-with-google' ) );
23                    }
24
25                } catch ( e ) {
26                    alert( e.message );
27                    return;
28                }
29
30                window.location = response.data.redirect;
31            }
32        }
33    };
34    xhr.send( 'action=validate_id_token&token=' + response.credential + '&state=' + TempAccessOneTap.state );
35};

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.