PageSourceSearch

https://al.mitsubachi-note.com/js/r.js

js mitsubachi-note.com collected 2026-10-05 04:02:17 UTC 2,571 bytes, 88 lines download raw bytes

1var add = '';
2// futureshop
3if (typeof dataLayer !== 'undefined' && typeof dataLayer[0] !== 'undefined' && typeof dataLayer[0]['member_id'] !== 'undefined' && dataLayer[0]['member_id'] != '') {
4	add = '&member_id=' + dataLayer[0]['member_id'];
5}
6// w2
7else if (typeof $ != "undefined" && $('#member_id').length == 1 && typeof $('#member_id').data('member-id') !== 'undefined' && $('#member_id').data('member-id') != '') {
8	add = '&member_id=' + $('#member_id').data('member-id');
9}
10// officecom
11else if (typeof aclink_member_id !== 'undefined' && aclink_member_id != '') {
12	add = '&member_id=' + aclink_member_id;
13}
14// console.log(add);
15
16var myacurl = null;
17if (location.search.match(/aclink_param/)) {
18	myacurl = '//' + aclink_click_domain + '/r.php' + location.search + '&aclink_site=' + document.domain + add;
19}
20else if (location.search.match(/aclink_idk/)) {
21	myacurl = '//' + aclink_click_domain + '/c.php' + location.search + '&aclink_site=' + document.domain + add;
22}
23// console.log(myacurl);
24
25jQuery(function($) {
26	if (typeof FingerprintJS === 'undefined') {
27		if (myacurl != null) {
28			$.ajax({
29				type:"get",
30				async:true,
31				cache:false,
32				url:myacurl,
33				dataType:"json",
34				xhrFields: {
35					withCredentials: true
36				},
37				success:function(data) {
38					console.log(data);
39					var expire = new Date();
40					expire.setTime( expire.getTime() + 1000 * 3600 * 24 * 365 );
41					if (data.idk != '0000000000') {
42						document.cookie = 'aclinkidk=' + data.idk + '; path=/; expires=' + expire.toUTCString();
43						document.cookie = 'vIdentifyKey[' + data.clientcd + ']=' + data.idk + '; path=/; expires=' + expire.toUTCString();
44					}
45				},
46				error:function(error) {
47				}
48			});
49		}
50	}
51	else {
52		if (myacurl != null) {
53			initFingerprintJS_r();
54		}
55	}
56});
57
58function initFingerprintJS_r() {
59	const fpPromise = FingerprintJS.load()
60
61	fpPromise
62	.then(fp => fp.get())
63	.then(result => {
64		const visitorId = result.visitorId
65		if (myacurl != null) {
66			myacurl += '&fp=' + visitorId;
67			$.ajax({
68				type:"get",
69				async:true,
70				cache:false,
71				url:myacurl,
72				dataType:"json",
73				xhrFields: {
74					withCredentials: true
75				},
76				success:function(data) {
77					console.log(data);
78					var expire = new Date();
79					expire.setTime( expire.getTime() + 1000 * 3600 * 24 * 365 );
80					document.cookie = 'aclinkidk=' + data.idk + '; path=/; expires=' + expire.toUTCString();
81					document.cookie = 'vIdentifyKey[' + data.clientcd + ']=' + data.idk + '; path=/; expires=' + expire.toUTCString();
82				},
83				error:function(error) {
84				}
85			});
86		}
87	})
88}

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.