PageSourceSearch

https://www.jalan.net/js/set_impression_info.js

js jalan.net collected 2026-09-24 08:49:13 UTC 774 bytes, 35 lines download raw bytes

1var s_pers;
2var r_id;// s_fid
3var c_id; // s_cap_id ˆÃ†‰»‚³‚ꂽó‘Ô
4
5s_pers= decodeURIComponent(getCookie("s_pers"));
6
7r_id= getSpersString(s_pers, "s_fid");
8c_id= getSpersString(s_pers, "s_cap_id");
9
10function getCookie(name) {
11	if (!name || !document.cookie) return;
12	
13	var cookies = document.cookie.split("; ");
14	for (var i = 0; i < cookies.length; i++) {
15		var str = cookies[i].split("=");
16		if (str[0] != name) continue;
17		return unescape(str[1]);
18	}
19	return;
20};
21
22
23function getSpersString(s_persList, name){
24	if (!name || !s_persList) return;
25	
26	var spers = s_persList.split("; ");
27	for (var i = 0; i < spers.length; i++) {
28		var str = spers[i].split("=");
29		if (str[0] != name) continue;
30		return unescape(str[1]);
31	}
32	return;
33	
34};
35

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.