PageSourceSearch

https://www.360pano.eu/estonian-nature/plugins/glinks/glinks.js

js 360pano.eu collected 2026-10-02 10:59:42 UTC 1,372 bytes, 34 lines download raw bytes

1	function sethash(h) { window.top.history.replaceState(undefined, undefined, "#" + h); }
2	var myHashchangeHandler = function() { location.reload(); }
3	if("addEventListener" in window) { window.addEventListener("hashchange", myHashchangeHandler, false); } else if ("attachEvent" in window) { window.attachEvent( "onhashchange", myHashchangeHandler); } 
4	var krpano; var startscene; var starthlookat; var startvlookat; var startfov;
5	var hash = window.top.location.href.split('#')[1];
6	if (typeof hash == 'undefined') { hash = window.location.href.split('#')[1]; }
7	
8	function createvars()
9	{
10		var krpano=document.getElementById('krpanoSWFObject');
11		if (typeof hash != 'undefined')
12		{
13			startscene = hash;
14			if (hash.split('/')[0]) { startscene = hash.split('/')[0] };
15			if (hash.split('/')[0]) { starthlookat = hash.split('/')[1] };
16			if (hash.split('/')[0]) { startvlookat = hash.split('/')[2] };
17			if (hash.split('/')[0]) { startfov = hash.split('/')[3] };
18		}
19		if (startscene)
20		{
21			krpano.call('set(startscene,'+startscene+');');
22			if (starthlookat && startvlookat && startfov)
23			{
24				krpano.call('set(starthlookat,'+starthlookat+');');
25				krpano.call('set(startvlookat,'+startvlookat+');');
26				krpano.call('set(startfov,'+startfov+');');
27			};
28		}
29	}
30	
31	function copyURLToClipboard()
32	{
33		window.prompt("Copy URL to clipboard", window.top.location);
34	}

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.