PageSourceSearch

https://indianacapitalchronicle.com/wp-content/themes/genesis-child/js/main.js?ver=v1.139.0

js indianacapitalchronicle.com collected 2026-10-02 03:15:10 UTC 1,166 bytes, 30 lines download raw bytes

1    // Clicking magnifiying class triggers header search bar
2
3    document
4      .querySelectorAll('.headerSearchToggle')
5      .forEach((el) => {
6        el.addEventListener('click', (e) => {
7          e.preventDefault();
8          const topNavContainer = document.querySelector('.topNavContainer');
9          el.setAttribute('aria-expanded', true);
10          if (topNavContainer !== undefined) {
11            topNavContainer.classList.add('searchActive');
12          }
13          const targetInputId = el.id === 'mobileHeaderSearchToggle' ? 'mobileHeaderSearchInput' : 'headerSearchInput';
14          const targetInput = document.getElementById(targetInputId);
15          if (targetInput) {
16            targetInput.focus();
17          }
18        });
19      });
20
21    function copyLinkShare(value) {
22        var tempInput = document.createElement("input");
23        tempInput.style = "position: absolute; left: -1000px; top: -1000px";
24        tempInput.value = value;
25        document.body.appendChild(tempInput);
26        tempInput.select();
27        document.execCommand("copy");
28        document.body.removeChild(tempInput);
29        alert("Link Copied To Clipboard");
30    }

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.