PageSourceSearch

https://skranz.github.io/scripts/responsive.js

js skranz.github.io collected 2026-10-03 09:57:40 UTC 446 bytes, 14 lines download raw bytes

1window.onload = function() {
2  var sidebar = document.getElementById("sidebar");
3  var sidebarButton = document.getElementById("sidebar-button");
4
5  function openSidebar(e) {
6    if (sidebar.className.indexOf("slideIn") != -1) {
7      sidebar.className = sidebar.className.replace(" slideIn", "");
8    } else {
9     sidebar.className = sidebar.className + " slideIn"; 
10    }
11  }
12
13  sidebarButton.addEventListener("click", openSidebar, false);
14};

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.