PageSourceSearch

https://www.nitoms.com/assets/ss/ss_config.js

js nitoms.com collected 2026-10-02 17:02:05 UTC 1,120 bytes, 33 lines download raw bytes

1(function() {
2  // クッキーの値を取得する関数
3  function getCookieValue(name) {
4    const value = `; ${document.cookie}`;
5    const parts = value.split(`; ${name}=`);
6    if (parts.length === 2)
7      return parts
8        .pop()
9        .split(';')
10        .shift();
11    return null; // クッキーが存在しない場合はnullを返す
12  }
13  // スクリプトを動的に読み込む関数
14  function loadScripts() {
15    const script = document.createElement('script');
16    script.src = '/assets/ss/ss_exec.js';
17    document.body.appendChild(script);
18  }
19  // _ul_cookie_consent の値を取得
20  const cookieConsent = getCookieValue('_ul_cookie_consent');
21
22  // 初期チェック: クッキーがallowの場合、スクリプトを読み込む
23  if (cookieConsent === 'allow') {
24    loadScripts();
25  } else {
26    // allow_cookie イベントをリスンして、スクリプトを読み込む
27    function onAllowCookie() {
28      document.body.removeEventListener('allow_cookie', onAllowCookie);
29      loadScripts();
30    }
31    document.body.addEventListener('allow_cookie', onAllowCookie);
32  }
33})();

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.