PageSourceSearch

https://www.harley-davidson-japan.jp/resources/js/affiliate/click.…796ea3e02e6aa78625c45aa01_1790834713_497552

js harley-davidson-japan.jp collected 2026-10-05 08:10:22 UTC 803 bytes, 26 lines download raw bytes

1;
2(function () {
3
4  var query = location.search.substring(1).split("&").reduce(function (acc, query) {
5    var parts = query.split('=');
6    if (parts[0] && 1 < parts.length) {
7      acc[decodeURIComponent(parts[0])] = decodeURIComponent(parts[1])
8    };
9    return acc;
10  }, {});
11
12  var ic = query["ic"];
13  if (ic) {
14    var sns = query["sns"] ? query["sns"] : "none";
15    var click = {
16      "affiliate_url": location.href,
17      "affiliate_introducer_code": ic,
18      "affiliate_sns": sns,
19      "click_datetime": Date.now(),
20      "click_client": navigator.userAgent.match(/iPhone|Android.+Mobile/) ? "sp" : "pc",
21      "click_referer": document.referrer
22    };
23    document.cookie = "click=" + encodeURIComponent(JSON.stringify(click)) + "; path=/; max-age=86400; Secure; SameSite=Lax";
24  }
25
26})();

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.