PageSourceSearch

https://www.mfk.ch/typo3conf/ext/mfk/Resources/Public/JavaScript/fixSplashScreenHeight.js?1737473008

js mfk.ch collected 2026-10-02 05:00:33 UTC 517 bytes, 17 lines download raw bytes

1function setVhProperty() {
2    let vh = window.innerHeight * 0.01;
3    document.documentElement.style.setProperty('--vh', `${vh}px`);
4    const vhValue = getComputedStyle(document.documentElement).getPropertyValue('--vh');
5    //console.log(vhValue);
6  }
7  
8  // Run on load with a slight delay
9  document.addEventListener("DOMContentLoaded", () => {
10    requestAnimationFrame(() => {
11      setVhProperty();
12    });
13  });
14  
15  // Update on resize
16  window.addEventListener('resize', setVhProperty);
17  

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.