PageSourceSearch

https://mossjp.co.jp/wp-content/themes/moss_official/js/getUrlQueries.js

js mossjp.co.jp collected 2026-10-02 16:39:59 UTC 611 bytes, 15 lines download raw bytes

1function getUrlQueries(){
2    var vars = [], max = 0, hash = "", array = "";
3    var url = window.location.search;
4
5        //?を取り除くため、1から始める。複数のクエリ文字列に対応するため、&で区切る
6    hash  = url.slice(1).split('&');
7    max = hash.length;
8    for (var i = 0; i < max; i++) {
9        array = hash[i].split('=');    //keyと値に分割。
10        vars.push(array[0]);    //末尾にクエリ文字列のkeyを挿入。
11        vars[array[0]] = array[1];    //先ほど確保したkeyに、値を代入。
12    }
13
14    return vars[array[0]];
15}

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.