PageSourceSearch

https://szabo.jp/public/js/script.js

js szabo.jp collected 2026-10-07 21:52:10 UTC 454 bytes, 15 lines download raw bytes

1(function(document) {
2  var toggle = document.querySelector('.sidebar-toggle');
3  var sidebar = document.querySelector('#sidebar');
4  var checkbox = document.querySelector('#sidebar-checkbox');
5
6  document.addEventListener('click', function(e) {
7    var target = e.target;
8
9    if(!checkbox.checked ||
10       sidebar.contains(target) ||
11       (target === checkbox || target === toggle)) return;
12
13    checkbox.checked = false;
14  }, false);
15})(document);

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.