PageSourceSearch

http://www.melgardeabajo.com/yoxview/yoxview-init.js

js melgardeabajo.com collected 2026-10-03 18:31:08 UTC 1,152 bytes, 34 lines download raw bytes

1var yoxviewPath = getYoxviewPath();
2var cssLink = top.document.createElement("link");
3cssLink.setAttribute("rel", "Stylesheet");
4cssLink.setAttribute("type", "text/css");
5cssLink.setAttribute("href", yoxviewPath + "yoxview.css");
6top.document.getElementsByTagName("head")[0].appendChild(cssLink);
7
8function LoadScript(url)
9{
10	document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ;
11}
12
13var jQueryIsLoaded = typeof jQuery != "undefined";
14
15if (!jQueryIsLoaded)
16    LoadScript("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js");
17    
18LoadScript(yoxviewPath + "jquery.yoxview-2.21.min.js");
19
20function getYoxviewPath()
21{
22    var scripts = document.getElementsByTagName("script");
23    var regex = /(.*\/)yoxview-init/i;
24    for(var i=0; i<scripts.length; i++)
25    {
26        var currentScriptSrc = scripts[i].src;
27        if (currentScriptSrc.match(regex))
28            return currentScriptSrc.match(regex)[1];
29    }
30    
31    return null;
32}
33// Remove the next line's comment to apply yoxview without knowing jQuery to all containers with class 'yoxview':
34//LoadScript(yoxviewPath + "yoxview-nojquery.js"); 

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.