PageSourceSearch

https://meme.am/static/js/base-5.js?v=20260901-ui-10

js meme.am collected 2026-10-02 02:35:24 UTC 850 bytes, 25 lines download raw bytes

1    // When the user scrolls down, collapse the banner ad.
2    document.addEventListener('scroll', function() {
3      const banner = document.getElementById('banner-ad');
4      if (banner) {
5        if (window.scrollY > 50) {
6          banner.style.maxHeight = '0';
7        } else {
8          banner.style.maxHeight = '100px';
9        }
10      }
11    });
12
13    // Toggle function for desktop More Tags button
14    function toggleTags() {
15      const tagsWrapper = document.getElementById('tags-wrapper');
16      const button = document.getElementById('more-tags-button');
17      if (tagsWrapper.classList.contains('expanded')) {
18        tagsWrapper.classList.remove('expanded');
19        button.textContent = '▼ MORE TAGS ▼';
20      } else {
21        tagsWrapper.classList.add('expanded');
22        button.textContent = '▲ LESS TAGS ▲';
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.