PageSourceSearch

http://www.limnologia.hu/limno_files/sleight_js.php

js limnologia.hu collected 2026-09-25 00:00:40 UTC 1,366 bytes, 43 lines download raw bytes

1if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
2	window.attachEvent("onload", fnLoadPngs);
3}
4
5function fnLoadPngs() {
6	var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
7	var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5 && Number(rslt[1]) < 7);
8
9	for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--) {
10		if (itsAllGood && img.src.match(/\.png$/i) != null) {
11			fnFixPng(img);
12			img.attachEvent("onpropertychange", fnPropertyChanged);
13		}
14	}
15
16	var nl = document.getElementsByTagName("input");
17	for (var i = nl.length - 1, e = null; (e = nl[i]); i--) {
18		if (e.type == 'image') {
19			if (e.src.match(/\.png$/i) != null) {
20				fnFixPng(e);
21				e.attachEvent("onpropertychange", fnPropertyChanged);
22			}
23		}
24	}
25}
26
27function fnPropertyChanged() {
28	if (window.event.propertyName == "src") {
29		var el = window.event.srcElement;
30		if (!el.src.match(/\/limno_files\/sleight_img\.gif$/i)) {
31			el.filters.item(0).src = el.src;
32			el.src = "/limno_files/sleight_img.gif";
33		}
34	}
35}
36
37function fnFixPng(img) {
38	var src = img.src;
39	img.style.width = img.width + "px";
40	img.style.height = img.height + "px";
41	img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')"
42	img.src = "/limno_files/sleight_img.gif";
43}

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.