PageSourceSearch

https://www.cyclesprog.co.uk/wp-content/themes/cyclesprog2020/js/comment-form.js?ver=1636376734

js cyclesprog.co.uk collected 2026-10-03 22:04:41 UTC 584 bytes, 18 lines download raw bytes

1let wrapper = document.getElementById('comments');
2if (wrapper) {
3  let comments = wrapper.querySelectorAll('.comment');
4  if (comments.length) {
5    let form = document.getElementById('respond'),
6        toggleButton = document.createElement('button');
7
8    toggleButton.classList.add('has-cyclesprog-secondary-background-color');
9    toggleButton.innerText = 'Leave a Reply';
10    toggleButton.addEventListener('click', function() {
11      form.style.display = 'block';
12      this.remove();
13    });
14
15    wrapper.insertBefore(toggleButton, form);
16    form.style.display = 'none';
17  }
18}

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.