PageSourceSearch

https://account.globalrailwayreview.com/Javascript/authToken.js?v=639258480040000000

js globalrailwayreview.com collected 2026-10-02 03:26:54 UTC 835 bytes, 23 lines download raw bytes

1(function(w, d) {
2	const getCookieValue = (name) => (
3		d.cookie.match('(^|;)\\s*' + name + '\\s*=\\s*([^;]+)')?.pop() || ''
4	);
5	/*
6	d.addEventListener('click', function(ev){
7		var t = ev.target;
8		while(t.parentElement != null){
9			if( t.nodeName == 'A' && t.className.includes('auth-token-link') ){
10				ev.preventDefault();
11				ev.stopPropagation();
12				var url = t.href, token = getCookieValue('authtoken');
13				url += ( url.includes('?') ? '&' : '?' ) + 'authtoken=' + token;
14				location.href = url;
15				//d.body.insertAdjacentHTML('beforeend', `<form method="POST" id="auth_token_form" action="${url}"><input type="hidden" name="authtoken" value="${token}" /></form>`);
16				//d.getElementById('auth_token_form').submit();
17				return false;
18			}
19			t = t.parentElement;
20		}
21	});
22	*/
23})(window, document);

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.