PageSourceSearch

https://epilepsyontario.org/wp-content/plugins/kl-alerts/js/kl-alerts-front.js?ver=6.7.9

js epilepsyontario.org collected 2026-09-24 19:34:51 UTC 932 bytes, 25 lines download raw bytes

1jQuery(document).ready(function($){
2    var fadeInterval;
3    $(".hide-alert a").on("click", function(e){
4        e.preventDefault();
5        if ($("#alertcontainer").is(":visible")){
6            $(this).hide();
7            $("#alertcontainer").slideUp();
8            clearInterval(fadeInterval);
9        }
10    });
11    if ($(".alert-message li").length > 1){
12        fadeInterval = window.setInterval(function(){
13            var currentIndex = 0;
14            $(".alert-message li").each(function(){
15                if ($(this).is(":visible")){
16                    currentIndex = $(this).index();
17                }
18            });
19            var nextIndex = ((1 + currentIndex) == $(".alert-message li").length) ? 0 : (1 + currentIndex);
20            $(".alert-message li:eq("+currentIndex+")").fadeOut("fast", function(){
21                $(".alert-message li:eq("+nextIndex+")").fadeIn();
22            });
23        }, 5000);
24    }
25});

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.