INNER CODE UNIT · Python

sample

yaojingang/GEOFlow · scripts/audit-admin-ui-v3-flicker.py:52

    const sample = () => {
        window.__gfFlickerAudit.frames.push({
            time: performance.now(),
            ready: document.readyState,
            state: document.documentElement.getAttribute('data-gf-sidebar-state'),
            booting: document.documentElement.hasAttribute('data-gf-ui-booting'),
            sidebar: rect('.gf-sidebar'),
            shellBody: rect('.gf-shell__body'),
            heading: rect('.gf-content h1'),
            aiStart: rect('.gf-ai-start'),
            aiHeading: rect('.gf-ai-heading'),
            aiSuggestions: rect('.gf-ai-suggestions'),
            aiComposer: rect('.gf-ai-composer'),
            aiRuntimeNotice: rect('.gf-ai-runtime-notice'),
            pendingIcons: document.querySelectorAll('i[data-lucide]').length,
        });
        frame += 1;
        if (frame < 50) requestAnimationFrame(sample);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…