PageSourceSearch

https://meta.mk/wp-content/themes/metamk2025/js/header-shrink.js

js meta.mk collected 2026-10-02 04:25:40 UTC 300 bytes, 11 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2  const header = document.querySelector('.site-header');
3
4  window.addEventListener('scroll', () => {
5    if (window.scrollY > 50) {
6      header.classList.add('shrink');
7    } else {
8      header.classList.remove('shrink');
9    }
10  });
11});

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.