PageSourceSearch

https://www.celticschronicle.com/assets/js/main.js?v=YDwDsDFBkXa24D6y

js celticschronicle.com collected 2026-10-02 13:33:47 UTC 1,093 bytes, 31 lines download raw bytes

1(function () {
2    'use strict';
3
4    var toggle = document.querySelector('.nav-toggle');
5    var nav = document.getElementById('site-nav');
6
7    if (!toggle || !nav) { return; }
8
9    toggle.addEventListener('click', function () {
10        var open = nav.classList.toggle('is-open');
11        toggle.setAttribute('aria-expanded', open ? 'true' : 'false');
12    });
13})();
14
15/* Remove Ghost's built-in paywall block if its class has changed and the CSS
16   above no longer catches it. The theme renders its own. */
17(function () {
18    'use strict';
19    var teaser = document.querySelector('.post-content-teaser');
20    if (!teaser) { return; }
21    var headings = teaser.querySelectorAll('h1, h2, h3');
22    for (var i = 0; i < headings.length; i++) {
23        var t = (headings[i].textContent || '').toLowerCase();
24        if (t.indexOf('paying subscribers') > -1 || t.indexOf('this post is for') > -1) {
25            var block = headings[i].parentElement;
26            if (block && block !== teaser) { block.remove(); }
27            else { headings[i].remove(); }
28            return;
29        }
30    }
31})();

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.