PageSourceSearch

https://rosneft.com/media/rosneft/js/web-rn-api.js?2025-04-25

js rosneft.com collected 2026-09-24 08:27:43 UTC 1,102 bytes, 38 lines download raw bytes

1var WebRN = (function() {
2    var consts = {
3        'URL': WEBRNURL
4    };
5
6    return {
7        config: function(name) { return consts[name]; },
8        get_url: function(path) { return this.config('URL') + path; },
9        make_jsonp_call: function(path, params, callback) {
10            var url = this.get_url(path);
11
12            var has_callback = (callback != undefined && this.is_function(callback));
13
14            if(has_callback)
15            {
16                if(url.indexOf('?') !== -1)
17                    url += '&';
18                else
19                    url += '?';
20
21                url+='callback=?';
22            }
23
24            if(params == undefined || params == null)
25                params = {};
26
27            var JSONObject = $.getJSON( url, params);
28            if(has_callback)
29                JSONObject.done(callback);
30        },
31
32        is_function: function(function_to_check) {
33            var getType = {};
34            return function_to_check && getType.toString.call(function_to_check) === '[object Function]';
35        }
36    };
37})();
38

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.