PageSourceSearch

https://www.minorityreport-project.eu/_catalogs/masterpage/Website/js/master/imageBackground.js

js minorityreport-project.eu collected 2026-10-05 22:10:58 UTC 1,100 bytes, 39 lines download raw bytes

1function CheckImages()
2{
3$(".doubleBlock .image").not(".dontconverttobackground").each(function(i, elem)
4{
5	/*Get the image itself*/
6	var block = $(elem);
7
8	/*Try to get the image selector*/
9	var selector = $(elem).find(".ms-formfieldvaluecontainer");
10	
11	/*If no image selector is found, only then convert it to a background image*/
12	if((selector.length == 0 || (selector.length == 1 && selector[0].height == 0)) && $(window).width() > 768)
13	{
14		var img = $(elem).find("img");
15		if(img.length > 0)
16		{
17			$(elem).css
18			(
19				{
20				"background": "url(" + img.attr("src") + ") no-repeat scroll 50% 50% / cover",
21				"background-size": "cover"
22				}
23			);
24			img.replaceWith(null);
25		}
26	}
27	else
28	{
29		if($(elem).find("img").length == 0 && $(elem).attr("style") != null)
30		{
31			var url = $(elem).attr("style").substring($(elem).attr("style").lastIndexOf("(") + 2,$(elem).attr("style").lastIndexOf(")") - 1);
32			$(elem).append('<img src="' + url + '"/>');
33		}
34	}
35});
36}
37
38$(document).ready(function () {CheckImages();});
39setInterval(function(){CheckImages();}, 1000);

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.