PageSourceSearch

https://caimarad.com/wp-content/plugins/mypractis/popup/js/mypractis-popup.js?ver=3.0.17

js caimarad.com collected 2026-10-07 20:51:40 UTC 935 bytes, 35 lines download raw bytes

1window.onload = function(){ 
2
3  // Get the popup
4  var mypractis_popup = document.getElementById("mypractis-popup");
5
6  if ( mypractis_popup ) {
7
8    // Get the element that closes the popup
9    var mypractis_popup_close = document.getElementById("mypractis-popup-close");
10
11    // window is loaded, open the popup 
12    mypractis_popup.style.display = "block";
13
14    // When the user clicks on (x), close the popup
15    mypractis_popup_close.onclick = function() {
16      mypractis_popup.style.display = "none";
17    };
18
19    // When the user clicks anywhere outside of the popup, close it
20    window.onclick = function(event) {
21      if (event.target == mypractis_popup) {
22        mypractis_popup.style.display = "none";
23      }
24    };
25
26    document.addEventListener("keydown", function(event) {
27      event = event || window.event;
28      if (event.key == 'Escape') {
29        mypractis_popup.style.display = "none";
30      }
31    });
32
33  }
34
35};

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.