PageSourceSearch

https://app.turny.co/assets/js/modal.js?v=2

js turny.co collected 2026-09-28 06:07:32 UTC 681 bytes, 25 lines download raw bytes

1if(document.getElementById("myModal") != undefined){
2	//var btn = document.getElementById("myBtn");
3	//btn.onclick = function() {modal.style.display = "block";}
4
5	// Get the modal
6	var modal = document.getElementById('myModal');
7
8	// When the user clicks anywhere outside of the modal, close it
9	window.onclick = function(event) {
10		if (event.target == modal) {
11			modal.style.display = "none";
12		}
13	}
14}
15
16// CLOSES MODAL WITH ESCAPE KEY
17$(document).keyup(function(e) {
18	if (e.key === "Escape") { // escape key maps to keycode `27`
19		var modals = document.getElementsByClassName("modal");
20		for (var i = 0; i < modals.length; i++) {
21			modals[i].style.display = "none";
22		}
23	}
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.