PageSourceSearch

https://www.woburnps.com/hurld-wyman/wp-content/plugins/super-simp…/admin/js/utilities.js?ver=1.3.1

js woburnps.com collected 2026-10-02 19:34:12 UTC 1,522 bytes, 66 lines download raw bytes

1function sssa_timestampToNumberedDateTimeUniversal(timestamp, stamp)
2{
3    if(typeof stamp == "undefined"){
4        stamp = "Y/m/d - h:i a";
5    }
6
7    if(timestamp != ""){
8        var t = new Date(timestamp * 1000);
9        var formatted = t.format(stamp);
10        return formatted;
11    }else{
12        return "";
13    }
14}
15
16function sssa_timestampToNumberedDateTime(timestamp, stamp)
17{
18    if(typeof stamp == "undefined"){
19        stamp = "m/d/Y - h:i a";
20    }
21
22    if(timestamp != ""){
23        var t = new Date(timestamp * 1000);
24        var formatted = t.format(stamp);
25        return formatted;
26    }else{
27        return "";
28    }
29}
30
31function sssa_getHost()
32{
33	return window.location.host;
34}
35
36function sssa_insertParam(key, value) {
37    var uri = window.location.href;
38    var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i");
39    var separator = uri.indexOf('?') !== -1 ? "&" : "?";
40    if (uri.match(re)) {
41        var newUrl = uri.replace(re, '$1' + key + "=" + value + '$2');
42    }else {
43        var newUrl = uri + separator + key + "=" + value;
44    }
45
46    //You can reload the url like so
47     window.history.pushState("", "Page Title Here", newUrl);
48}
49
50function sssa_removeFromArray(array, val) {
51    const index = array.indexOf(val);
52    if (index > -1) {
53      array.splice(index, 1);
54    }
55
56    return array;
57}
58
59function sssa_trim (s, c) {
60  if (c === "]") c = "\\]";
61  if (c === "^") c = "\\^";
62  if (c === "\\") c = "\\\\";
63  return s.replace(new RegExp(
64    "^[" + c + "]+|[" + c + "]+$", "g"
65  ), "");
66}

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.