PageSourceSearch

https://www.360pano.eu/kandle/plugins/glinks/glinks.js

js 360pano.eu collected 2026-10-02 10:59:51 UTC 1,219 bytes, 30 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.split('/')[0];
14			starthlookat = hash.split('/')[1];
15			startvlookat = hash.split('/')[2];
16			startfov = hash.split('/')[3];
17		}
18		if (startscene && starthlookat && startvlookat && startfov)
19		{
20			krpano.call('set(startscene,'+startscene+');');
21			krpano.call('set(starthlookat,'+starthlookat+');');
22			krpano.call('set(startvlookat,'+startvlookat+');');
23			krpano.call('set(startfov,'+startfov+');');
24		}
25	}
26	
27	function copyURLToClipboard()
28	{
29		window.prompt("Copy URL to clipboard", window.top.location);
30	}

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.