PageSourceSearch

http://www.anpfiff.info/JScript/JS_Shared.js?v=5

js anpfiff.info collected 2026-10-02 07:20:14 UTC 1,163 bytes, 41 lines download raw bytes

1
2function getQuerystring(key, default_) {
3    if (default_ == null) {
4        default_ = "";
5        key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
6        var regex = new RegExp("[\\?&]" + key + "=([^&#]*)");
7        var qs = regex.exec(window.location.href);
8        if (qs == null) {
9            return default_;
10        }
11        else {
12            return qs[1];
13        }
14    }
15}
16
17function getQuerystringByReferrer(key, default_) {
18    if (default_ == null) default_ = "";
19    key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
20    var regex = new RegExp("[\\?&]" + key + "=([^&#]*)");
21    var qs = regex.exec(document.referrer);
22    if (qs == null)
23        return default_;
24    else
25        return qs[1];
26}
27
28function replaceQueryString(url, param, value) {
29    var re = new RegExp("([?|&])" + param + "=.*?(&|$)", "i");
30    if (url.match(re)) {
31        return url.replace(re, '$1' + param + "=" + value + '$2');
32    }
33    else {
34        return url + '&' + param + "=" + value;
35    }
36}
37
38function GetURL(ziel) {
39   window.location.href = replaceQueryString(ziel, "SK", getQuerystring("SK"));
40}
41

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.