PageSourceSearch

https://www.harrisoncountytexas.gov/runtime/scripts/ezalert.js

js harrisoncountytexas.gov collected 2026-10-02 17:30:15 UTC 1,473 bytes, 42 lines download raw bytes

1(function() {
2    var protocol = window.location.protocol;
3    var firstDiv = $("form > div:not(.aspNetHidden)").filter(function(index) {
4        return this.id != "";
5    }).eq(0).attr("id");
6    var url = protocol + "//" + window.location.hostname + "/page/alert.emergency";
7    var $alert = $('<div id ="emergency-alert"></div>');
8
9    function removeAlert() {
10        $alert.css({
11            "max-height": 0,
12            "opacity": 0
13        });
14    }
15
16    $alert.insertBefore($("#" + firstDiv));
17    $alert.load(url + " #emergencywrapper", function(responseTxt, statusTxt, jqXHR) {
18        if (statusTxt == "success") {
19            var eztext_area = $alert.find(".eztext_area");
20            if (eztext_area.length) {
21                var message = eztext_area[0].innerText.trim();
22                if (message) {
23                    $alert.find(".widgetitem").addClass("innercontainer");
24                    $alert.find(".ion-ios-close-empty").on("click", removeAlert);
25                    $alert.css({
26                        maxHeight: "0px"
27                    })
28                    setTimeout(function() {
29                        $alert.css({
30                            opacity: 1,
31                            maxHeight: "100000px"
32                        });
33                    }, 0);
34                }
35                else{
36                    $alert.remove();
37                }
38            }
39
40        }
41    });
42})();

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.