PageSourceSearch

https://kurskcity.ru/media/js/browser.js?1672852454

js kurskcity.ru collected 2026-09-24 21:04:52 UTC 1,983 bytes, 62 lines download raw bytes

vendor: 1,983 bytes, lines 1-62
1(function() {
2
3    var matched, browser;
4
5// Èñïîëüçîâàòü jQuery.browser íå îäîáðÿåòñÿ.
6// Ïîäðîáíåå: http://api.jquery.com/jQuery.browser
7// jQuery.uaMatch ïîääåðæèâàåòñÿ äëÿ ñîâìåñòèìîñòè
8jQuery.uaMatch = function( ua ) {
9        ua = ua.toLowerCase();
10
11        var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||
12            /(webkit)[ \/]([\w.]+)/.exec( ua ) ||
13            /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) ||
14            /(msie) ([\w.]+)/.exec( ua ) ||
15            ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) ||
16            [];
17
18        return {
19            browser: match[ 1 ] || "",
20            version: match[ 2 ] || "0"
21        };
22    };
23
24    matched = jQuery.uaMatch( navigator.userAgent );
25    browser = {};
26
27    if ( matched.browser ) {
28        browser[ matched.browser ] = true;
29        browser.version = matched.version;
30    }
31
32// Chrome is Webkit, but Webkit is also Safari.
33    if ( browser.chrome ) {
34        browser.webkit = true;
35    } else if ( browser.webkit ) {
36        browser.safari = true;
37    }
38
39    jQuery.browser = browser;
40
41    jQuery.sub = function() {
42        function jQuerySub( selector, context ) {
43            return new jQuerySub.fn.init( selector, context );
44        }
45        jQuery.extend( true, jQuerySub, this );
46        jQuerySub.superclass = this;
47        jQuerySub.fn = jQuerySub.prototype = this();
48        jQuerySub.fn.constructor = jQuerySub;
49        jQuerySub.sub = this.sub;
50        jQuerySub.fn.init = function init( selector, context ) {
51            if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) {
52                context = jQuerySub( context );
53            }
54
55            return jQuery.fn.init.call( this, selector, context, rootjQuerySub );
56        };
57        jQuerySub.fn.init.prototype = jQuerySub.fn;
58        var rootjQuerySub = jQuerySub(document);
59        return jQuerySub;
60    };
61
62})();

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.