PageSourceSearch

https://missy-magazine.de/wp-content/themes/missy/js/audioplayer.js

js missy-magazine.de collected 2026-09-24 09:08:39 UTC 670 bytes, 24 lines download raw bytes

1( function() {
2  window.addEventListener('DOMContentLoaded', (event) => {
3
4    const rootElem = document.querySelector('#article-audio-player');
5    if (rootElem) {
6      const audio = rootElem.querySelector('audio');
7      const btn = rootElem.querySelector('button');
8      const label = btn.querySelector('span');
9
10      audio.classList.add('hidden');
11      btn.addEventListener('click', (evt) => {
12        audio.classList.toggle('hidden');
13        audio.pause();
14        if (audio.classList.contains('hidden')) {
15          label.innerHTML = 'Artikel hören';
16
17        } else {
18          label.innerHTML = 'Player schließen';
19        }
20      });
21    }
22
23  });
24}() );

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.