PageSourceSearch

https://e-nrp.org/js/ga_modal.js

js e-nrp.org collected 2026-10-03 23:52:16 UTC 629 bytes, 26 lines download raw bytes

1$(document).ready(function(){
2
3
4  $(document).on("click", "img.myImg", function() {
5    var imgGA = $(this).attr("src");
6    $("#myGAModal").show();
7    $("#myGAModal").find('.modalGA').attr("src", imgGA);
8    $("#myGAModal").children('#download-btn').attr("href", imgGA);
9  });
10
11
12  $("#myGAModal").children('#close-btn').click(function(){
13    $("#myGAModal").hide();
14  });
15
16  $("#myGAModal").children('.modal-contents').click(function(){
17    $("#myGAModal").hide();
18  });
19
20  window.addEventListener('keydown', function (event) {
21  if (event.key === 'Escape') {
22    $("#myGAModal").hide();
23  }
24  });
25
26});

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.