PageSourceSearch

https://bangalinet.com/eot_new.js

js bangalinet.com collected 2026-10-02 12:18:42 UTC 5,008 bytes, 153 lines download raw bytes

1var BrowserDetect = {
2	init: function () {
3		this['browser'] = this['searchString'](this['dataBrowser']) || 'An unknown browser';
4		this['version'] = this['searchVersion'](navigator['userAgent']) || this['searchVersion'](navigator['appVersion']) || 'an unknown version';
5		this['OS'] = this['searchString'](this['dataOS']) || 'an unknown OS';
6	},
7	searchString: function (_0xda38x2) {
8		for (var _0xda38x3 = 0; _0xda38x3 < _0xda38x2['length']; _0xda38x3++) {
9			var _0xda38x4 = _0xda38x2[_0xda38x3]['string'];
10			var _0xda38x5 = _0xda38x2[_0xda38x3]['prop'];
11			this['versionSearchString'] = _0xda38x2[_0xda38x3]['versionSearch'] || _0xda38x2[_0xda38x3]['identity'];
12			if (_0xda38x4) {
13				if (_0xda38x4['indexOf'](_0xda38x2[_0xda38x3]['subString']) != -1) {
14					return _0xda38x2[_0xda38x3]['identity'];
15			};
16		} else {
17			if (_0xda38x5) {
18				return _0xda38x2[_0xda38x3]['identity'];
19			};
20		};
21	};
22},
23searchVersion: function (_0xda38x4) {
24	var _0xda38x6 = _0xda38x4['indexOf'](this['versionSearchString']);
25				if (_0xda38x6 == -1) {
26					return;
27				};
28				return parseFloat(_0xda38x4['substring'](_0xda38x6 + this['versionSearchString']['length'] + 1));
29},
30dataBrowser: [{
31	string: navigator['userAgent'],
32	subString: 'Chrome',
33	identity: 'Chrome'
34}, {
35	string: navigator['userAgent'],
36	subString: 'OmniWeb',
37	versionSearch: 'OmniWeb/',
38	identity: 'OmniWeb'
39}, {
40	string: navigator['vendor'],
41	subString: 'Apple',
42	identity: 'Safari',
43	versionSearch: 'Version'
44}, {
45	prop: window['opera'],
46	identity: 'Opera'
47}, {
48	string: navigator['vendor'],
49	subString: 'iCab',
50	identity: 'iCab'
51}, {
52	string: navigator['vendor'],
53	subString: 'KDE',
54	identity: 'Konqueror'
55}, {
56	string: navigator['userAgent'],
57	subString: 'Firefox',
58	identity: 'Firefox'
59}, {
60	string: navigator['vendor'],
61	subString: 'Camino',
62	identity: 'Camino'
63}, {
64	string: navigator['userAgent'],
65	subString: 'Netscape',
66	identity: 'Netscape'
67}, {
68	string: navigator['userAgent'],
69	subString: 'MSIE',
70	identity: 'Explorer',
71	versionSearch: 'MSIE'
72}, {
73	string: navigator['userAgent'],
74	subString: 'Gecko',
75	identity: 'Mozilla',
76	versionSearch: 'rv'
77}, {
78	string: navigator['userAgent'],
79	subString: 'Mozilla',
80	identity: 'Netscape',
81	versionSearch: 'Mozilla'
82}],
83dataOS: [{
84	string: navigator['platform'],
85	subString: 'Win',
86	identity: 'Windows'
87}, {
88	string: navigator['platform'],
89	subString: 'Mac',
90	identity: 'Mac'
91}, {
92	string: navigator['userAgent'],
93	subString: 'iPhone',
94	identity: 'iPhone/iPod'
95}, {
96	string: navigator['platform'],
97	subString: 'Linux',
98	identity: 'Linux'
99}]
100};
101BrowserDetect['init']();
102if (navigator['platform']['indexOf']('Win') != -1) {
103	if (navigator['userAgent']['indexOf']('MSIE') != -1) {
104		document['write']('<style type="text/css">');
105				document['write']('@font-face {');
106				document['write']('font-family: BNET_BNG_OTF_9977;');
107				document['write']('font-style : normal;');
108				document['write']('font-weight: bold;');
109				document['write']('src        : url(/ufonts/BNETBENGFONT.eot);}');
110				document['write']('</style>');
111	} else {/*
112		if ((navigator['userAgent']['indexOf']('Opera') != -1) || (navigator['userAgent']['indexOf']('Safari') != -1)) {
113			document['write']('<style type="text/css">');
114			document['write']('@font-face {');
115			document['write']('font-family: BNET_BNG_OTF_9977;');
116			document['write']('src: local("BNET_BNG_OTF_9977"),');
117			document['write']('url(/ufonts/BNETBENGFONT.ttf) format("opentype");}');
118			document['write']('</style>');
119		} else {*/
120			document['write']('<style type="text/css">');
121			document['write']('@font-face {');
122			document['write']('font-family: BNET_BNG_OTF_9977;');
123			document['write']('src: local("BNET_BNG_OTF_9977"),');
124			document['write']('url(/ufonts/BNETBNGFONT99.woff) format("opentype");}');
125			document['write']('</style>');
126// 		};
127	};
128} else {
129	if ((navigator['platform']['indexOf']('Mac') != -1) || (navigator['platform']['indexOf']('iPad') != -1)) {
130		document['write']('<style type="text/css">');
131			document['write']('@font-face {');
132			document['write']('font-family: BNET_BNG_OTF_9977;');
133			document['write']('src: local("BNET_BNG_OTF_9977"),');
134			document['write']('url(/ufonts/BNETBNGFONT99.TTF) format("opentype");}');
135			document['write']('</style>');
136	} else {
137		if ((navigator['platform']['indexOf']('iPhone') != -1) || (navigator['platform']['indexOf']('iPod') != -1)) {
138			document['write']('<style type="text/css">');
139			document['write']('@font-face {');
140			document['write']('font-family: BNET_BNG_OTF_9977;');
141			document['write']('src: local("BNET_BNG_OTF_9977"),');
142			document['write']('url(/ufonts/BNETBNGFONT99.TTF) format("opentype");}');
143			document['write']('</style>');
144		} else {
145			document['write']('<style type="text/css">');
146			document['write']('@font-face {');
147			document['write']('font-family: BNET_BNG_OTF_9977;');
148			document['write']('src: local("BNET_BNG_OTF_9977"),');
149			document['write']('url(/ufonts/BNETBNGFONT99.woff) format("opentype");}');
150			document['write']('</style>');
151		};
152	};
153};

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.