untitled

Pasted Nov 26, 2026, 7:54 AM1 file18 lines

Scan to open on your phone

Point a camera at the QR code - it opens this exact paste, no app needed.

https://codepastes.com/zzgrwg32am8zg3dm
untitled
(() => {
  const t0 = performance.now(), ts = () => (performance.now() - t0).toFixed(0).padStart(6) + 'ms';
  const orig = ThSRAnnouncer.announce;
  ThSRAnnouncer.announce = function (msg, prio) {
    console.log(ts(), '[announce]', JSON.stringify(msg), prio || 'polite');
    if (/ view$/.test(msg) && !/\(delayed\)/.test(msg)) {
      setTimeout(() => orig.call(ThSRAnnouncer, msg + ' (delayed)', prio), 1500);
    }
    return orig.apply(this, arguments);
  };
  const live = document.getElementById('therap-sr-announcer-polite');
  new MutationObserver(() => console.log(ts(), '[live]', JSON.stringify(live.textContent)))
    .observe(live, {childList: true, characterData: true, subtree: true});
  document.addEventListener('focusin', e => console.log(ts(), '[focus]', e.target.tagName, e.target.id || '', e.target.className || '', e.target.getAttribute('aria-label') || ''), true);
  new MutationObserver(ms => ms.forEach(m => console.log(ts(), '[attr]', m.attributeName, '=', m.target.getAttribute(m.attributeName), 'on', m.target.tagName, m.target.id || m.target.className)))
    .observe(document.body, {attributes: true, attributeFilter: ['aria-hidden', 'aria-busy', 'inert'], subtree: true});
  console.log('ready');
})();

1,233 chars · codepastes.com