PageSourceSearch

https://www.nexteyes.co.jp/hp/wp-content/themes/nexteyes-corporate/assets/js/form.js?ver=2024091680302

js nexteyes.co.jp collected 2026-10-04 14:02:52 UTC 803 bytes, 23 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function () {
2  // URLからstaffnameパラメータを取得
3  const urlParams = new URLSearchParams(window.location.search);
4  const staffName = urlParams.get("staffname");
5
6  if (staffName) {
7    // デコードしてスペースを置換
8    const decodedStaffName = decodeURIComponent(staffName).replace(/\+/g, " ");
9
10    // セレクトボックスを取得
11    const selectElement = document.querySelector('select[name="staffname"]');
12
13    if (selectElement) {
14      // オプションを探してマッチするものを選択
15      for (let i = 0; i < selectElement.options.length; i++) {
16        if (selectElement.options[i].value === decodedStaffName) {
17          selectElement.selectedIndex = i;
18          break;
19        }
20      }
21    }
22  }
23});

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.