PageSourceSearch

https://www.kavoma.de/++webresource++6aa4c841-faf5-51e8-8109-90bd9…/plone-fullscreen/fullscreen.js

js kavoma.de collected 2026-10-02 18:53:29 UTC 686 bytes, 25 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function (event) {
2  let all = document.querySelectorAll(".zoomable");
3  if (all.length > 0) {
4    for (let i of all) {
5      i.addEventListener("click", (e) => {
6        if (
7          document.fullscreenElement != null ||
8          document.webkitFullscreenElement != null
9        ) {
10          if (document.exitFullscreen) {
11            document.exitFullscreen();
12          } else {
13            document.webkitCancelFullScreen();
14          }
15        } else {
16          if (i.requestFullscreen) {
17            i.requestFullscreen();
18          } else {
19            i.webkitRequestFullScreen();
20          }
21        }
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.