// Device metadata (hidden fields on the Consent form). No microphone // permission logic here — the pretest is click-only. (function () { var w = document.getElementById('screen-width'); var h = document.getElementById('screen-height'); var t = document.getElementById('touch-capable'); if (w && window.screen) w.value = window.screen.width || ''; if (h && window.screen) h.value = window.screen.height || ''; if (t) t.value = (('ontouchstart' in window) || navigator.maxTouchPoints > 0) ? 1 : 0; })();