diff --git a/.agents/skills/impeccable/scripts/live-browser.js b/.agents/skills/impeccable/scripts/live-browser.js index bc71d8e5a..bd4d56e36 100644 --- a/.agents/skills/impeccable/scripts/live-browser.js +++ b/.agents/skills/impeccable/scripts/live-browser.js @@ -57,7 +57,7 @@ const Z = { highlight: 100001, bar: 100005, picker: 100007, toast: 100010 }; const EASE = 'cubic-bezier(0.22, 1, 0.36, 1)'; // ease-out-quint const PREFIX = 'impeccable-live'; - const PICK_CURSOR_CLASS = PREFIX + '-pick-cursor'; + const PICK_CURSOR_STYLE_ID = PREFIX + '-pick-cursor-style'; const MANUAL_APPLY_STATE_TTL_MS = 15 * 60 * 1000; const sessionState = window.__IMPECCABLE_LIVE_SESSION__?.createLiveBrowserSessionState({ prefix: PREFIX, @@ -1916,45 +1916,45 @@ syncPageInteractionCursor(); } - let pageInteractionCursorActive = false; - - function ensurePickCursorStyle() { - if (document.getElementById(PREFIX + '-pick-cursor-style')) return; - const style = document.createElement('style'); - style.id = PREFIX + '-pick-cursor-style'; + /** + * Drive the page-level pick / insert cursor through the textContent of one + * injected