Claim Details

View detailed information about this claim and its related sources.

Back to Claims

Claim Information

Complete details about this extracted claim.

Claim Text
document.addEventListener("DOMContentLoaded", () => { // Initialize Tippy const isMobile = window.matchMedia("(max-width: 768px)").matches; document.querySelectorAll("[data-tippy-content]").forEach((el) => { if (isMobile) { el.setAttribute("data-tippy-placement", "top"); } tippy(el, { placement: el.getAttribute("data-tippy-placement") || "top", arrow: true, delay: [0, 0], duration: [250, 0], allowHTML: true, interactive: true, theme: "surfer", flip: !isMobile, popperOptions: { modifiers: [ { name: "preventOverflow", options: { boundary: "viewport", padding: 8 }, }, ], }, }); }); // Form inputs, canonical, details, marquee logic const pageTitleInputs = document.querySelectorAll('[data-form="input-source"]'); const pageURLInputs = document.querySelectorAll('[data-form="input-source-url"]'); const pageTitle = document.title; const pageURL = window.location.href; pageTitleInputs.forEach((input) => (input.value = pageTitle)); pageURLInputs.forEach((input) => (input.value = pageURL)); let currentUrl = location.protocol + "//" + location.host + location.pathname; if (!currentUrl.endsWith("/")) currentUrl += "/"; // Ensure canonical link is not added multiple times if script runs again if (!document.querySelector(`link[rel="canonical"][href="${currentUrl}"]`)) { document.head.insertAdjacentHTML("beforeend", `<link rel="canonical" href="${currentUrl}"/>`); } const firstDetails = document.querySelector("details"); if (firstDetails) firstDetails.open = true; const marquees = document.querySelectorAll("[marquee]"); marquees.forEach((marquee) => { const tracks = marquee.querySelectorAll("[marquee-track]"); if (tracks.length === 1) { // Only clone if exactly one track exists const clone = tracks[0].cloneNode(true); marquee.appendChild(clone); } }); });
Simplified Text
JavaScript initializes Tippy tooltips sets form inputs for page title and URL adds canonical link opens first details element and clones marquee tracks
Confidence Score
1.000
Claim Maker
The author
Context Type
Webpage Script
UUID
9fc88c3d-bc7a-491a-91ef-0cb588240967
Vector Index
✗ No vector
Created
September 2, 2025 at 6:15 PM (1 week ago)
Last Updated
September 2, 2025 at 6:15 PM (1 week ago)

Original Sources for this Claim (0)

All source submissions that originally contained this claim.

No sources found

This claim is not associated with any source submissions.

Similar Claims (0)

Other claims identified as semantically similar to this one.

No similar claims found

This claim appears to be unique in the system.

Claim Management System - MVP