PageSourceSearch

https://www.hepcat.se/ScriptResource.axd?d=9YZSCV9UrxfRh4SqfbO8FKJ…a3fuiOAgjj3fEjiLPqV6EnE1&t=ffffffff80a8734d

js hepcat.se collected 2026-09-25 00:29:40 UTC 2,116 bytes, 83 lines download raw bytes

1Type.registerNamespace('JetShop.StoreControls.SearchBox'); 
2
3JetShop.StoreControls.SearchBox = function(element)
4{
5    JetShop.StoreControls.SearchBox.initializeBase(this, [element]); 
6    
7    this._searchBoxID = null;
8    this._isNonFramed = null;
9    this._searchPage = null;
10    this._onKeyPressHandler = null;
11}
12
13JetShop.StoreControls.SearchBox.prototype =
14{
15    initialize: function () {
16        // initialize the base
17        JetShop.StoreControls.SearchBox.callBaseMethod(this, 'initialize');
18
19        this._onKeyPressHandler = Function.createDelegate(this, this._keyPressed);
20
21
22        $addHandler(this.get_element(), 'keypress', this._onKeyPressHandler);
23    },
24
25    set_SearchBoxID: function (value) {
26        this._searchBoxID = value;
27    },
28
29    get_SearchBoxID: function () {
30        return this._searchBoxID;
31    },
32
33    set_IsNonFramed: function (value) {
34        this._isNonFramed = value;
35    },
36
37    get_IsNonFramed: function () {
38        return this._isNonFramed;
39    },
40
41    set_SearchPage: function (value) {
42        this._searchPage = value;
43    },
44
45    get_SearchPage: function () {
46        return this._searchPage;
47    },
48
49    _keyPressed: function (e) {
50        if (e.charCode == Sys.UI.Key.enter) {
51            e.stopPropagation();
52            e.preventDefault();
53
54            //this._sendEmail();
55
56            var attr = $("[id$='searchBox_SearchBoxButton']").attr("href");
57            location.href = attr;
58
59            return false;
60        }
61        else if (e.charCode == Sys.UI.Key.esc) {
62            e.stopPropagation();
63            e.preventDefault();
64
65            //this._showLink();
66
67            return false;
68        }
69        else {
70            return true;
71        }
72    },
73
74    dispose: function () {
75        $clearHandlers(this.get_element());
76        this._onKeyPressHandler = null;
77        JetShop.StoreControls.SearchBox.callBaseMethod(this, 'dispose');
78    }
79}
80
81// register the class
82JetShop.StoreControls.SearchBox.registerClass('JetShop.StoreControls.SearchBox', Sys.UI.Control);
83

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.