PageSourceSearch

https://halliwellsurgery.co.uk/Scripts/NHS/header.js

js halliwellsurgery.co.uk collected 2026-10-05 22:51:39 UTC 561 bytes, 18 lines download raw bytes

1$(document).ready(function () {
2    const heroSection = document.querySelector('.nhsuk-hero-content');
3    const taskMenu = document.querySelector('.tasks-menu');
4
5
6    if (heroSection && taskMenu) {
7        const heroRect = heroSection.getBoundingClientRect();
8        const taskRect = taskMenu.getBoundingClientRect();
9
10        if (heroRect.top < taskRect.bottom) {
11            const px = taskRect.bottom - heroRect.top;
12            if (px > 16) {
13                taskMenu.style.marginBottom = px + "px";
14            }
15        }
16
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.