PageSourceSearch

https://matsumoto.ed.jp/wp-content/themes/insp_para/framework/js/p…pixelentity.utils.browser.js?ver=1561346632

js matsumoto.ed.jp collected 2026-10-05 09:39:23 UTC 1,659 bytes, 71 lines download raw bytes

1(function ($) {
2	/*jslint undef: false, browser: true, devel: false, eqeqeq: false, bitwise: false, white: false, plusplus: false, regexp: false */ 
3	/*global jQuery,Image */
4	
5	// jquery 1.9.x fix start 
6	var browser,matched;
7	
8	function uaMatch(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
25	if ( !jQuery.browser ) {
26		matched = uaMatch( navigator.userAgent );
27		browser = {};
28
29		if ( matched.browser ) {
30			browser[ matched.browser ] = true;
31			browser.version = matched.version;
32		}
33
34		// Chrome is Webkit, but Webkit is also Safari.
35		if ( browser.chrome ) {
36			browser.webkit = true;
37		} else if ( browser.webkit ) {
38			browser.safari = true;
39		}
40
41		jQuery.browser = browser;
42	}
43	// fix end
44	
45	$.pixelentity = $.pixelentity || {version: '1.0.0'};
46	
47	var ua = navigator.userAgent.toLowerCase();
48	var iDev = ua.match(/(iphone|ipod|ipad)/) !== null;
49	var android = !iDev && ua.match(/android ([^;]+)/);
50	var webkit = ua.match("webkit") !== null;
51	if (android) {
52		android = android[1].split(/\./);
53		android = parseFloat(android.shift() + "." + android.join(""));
54	} else {
55		android = false;
56	}
57	var mobile = (iDev || android || ua.match(/(android|blackberry|webOS|opera mobi)/) !== null);
58
59	
60	$.pixelentity.browser = {
61		iDev: iDev,
62		android: android,
63		mobile: mobile,
64		webkit: webkit
65	};
66	
67	
68}(jQuery));
69
70		
71

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.