PageSourceSearch

https://liuff19.github.io/Spatial-TTT/static/js/index.js

js liuff19.github.io collected 2026-10-03 09:31:28 UTC 493 bytes, 13 lines download raw bytes

1// Spatial-TTT project page — minimal JS (no carousel/slider)
2document.addEventListener('DOMContentLoaded', function () {
3  // Optional: smooth scroll for anchor links
4  document.querySelectorAll('a[href^="#"]').forEach(function (anchor) {
5    anchor.addEventListener('click', function (e) {
6      var target = document.querySelector(this.getAttribute('href'));
7      if (target) {
8        e.preventDefault();
9        target.scrollIntoView({ behavior: 'smooth' });
10      }
11    });
12  });
13});

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.