PageSourceSearch

https://fotomtv.ru/files_sait/fixpng.js

js fotomtv.ru collected 2026-10-02 20:51:11 UTC 631 bytes, 27 lines download raw bytes

1// fixPNG(); http://www.tigir.com/js/fixpng.js (author Tigirlas Igor)
2function fixPNG(element)
3{
4	if (/MSIE (5\.5|6).+Win/.test(navigator.userAgent))
5	{
6		var src;		
7		if (element.tagName=='IMG')
8		{
9			if (/\.png$/.test(element.src))
10			{
11				src = element.src;
12				element.src = "/files/blank.gif";
13			}
14		}
15		else
16		{
17			src = element.currentStyle.backgroundImage.match(/url\("(.+\.png)"\)/i)
18			if (src)
19			{
20				src = src[1];
21				element.runtimeStyle.backgroundImage="none";
22			}
23		}
24		
25		if (src) element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
26	}
27}

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.