PageSourceSearch

https://versia.ru/i/v358/js/socnet.js

js versia.ru collected 2026-09-24 08:28:09 UTC 1,145 bytes, 39 lines download raw bytes

1
2function WRXopen(url, width, height) {
3    window.open(url, '', 'width=' + width + ',height=' + height + ',left=' + ((window.innerWidth - width) / 2) + ',top=' + ((window.innerHeight - height) / 2));
4}
5
6
7window.WRXOAuth = function () {
8
9    if (typeof(id_post) == "undefined") {
10        window.location.href = '/';
11    } else {
12        var params = {
13            url: '/oauth/socnet.json',
14            type: 'POST',
15            contentType: "application/json",
16            data: JSON.stringify({
17                post_id: id_post
18            }),
19            dataType: 'json',
20            success: function (responseJSON) {
21                JSONAnalyze(responseJSON);
22                if (responseJSON.close) {
23                    $.magnificPopup.close();
24                    $("#commclick").click();
25                }
26                if (responseJSON.set_post_ch) {
27                    $('#email').attr('checked', responseJSON.set_post_ch);
28                }
29            },
30            error: function () {
31                $.magnificPopup.close();
32            }
33        };
34        $.ajax(params);
35
36    }
37
38}
39

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.