PageSourceSearch

https://albesoft.it/nine/scripts/js/scripts.js

js albesoft.it collected 2026-10-02 01:58:14 UTC 1,086 bytes, 34 lines download raw bytes

1/*!
2* Start Bootstrap - New Age v6.0.7 (https://startbootstrap.com/theme/new-age)
3* Copyright 2013-2023 Start Bootstrap
4* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-new-age/blob/master/LICENSE)
5*/
6//
7// Scripts
8// 
9
10window.addEventListener('DOMContentLoaded', event => {
11
12    // Activate Bootstrap scrollspy on the main nav element
13    const mainNav = document.body.querySelector('#mainNav');
14    if (mainNav) {
15        new bootstrap.ScrollSpy(document.body, {
16            target: '#mainNav',
17            offset: 74,
18        });
19    };
20
21    // Collapse responsive navbar when toggler is visible
22    const navbarToggler = document.body.querySelector('.navbar-toggler');
23    const responsiveNavItems = [].slice.call(
24        document.querySelectorAll('#navbarResponsive .nav-link')
25    );
26    responsiveNavItems.map(function (responsiveNavItem) {
27        responsiveNavItem.addEventListener('click', () => {
28            if (window.getComputedStyle(navbarToggler).display !== 'none') {
29                navbarToggler.click();
30            }
31        });
32    });
33
34});

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.