th-live: neutralise console-ban.js via uBlock Origin scriptlets; override screen/outer dimensions to match DevTools Device Toolbar#2
Conversation
Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
… Thai number Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…wing models Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…for login bypass Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…0.8) Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
Fixed in 6e50cc7 (v0.8). Root cause: Fix: Each element touched by the scan is now tagged with |
… on mode toggle (v0.9) Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…ve stream (v0.10) Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…ht:auto (v0.11) Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…popup height Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…tent stream blocking Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…-only streams Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…hone column width Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…ript injection + postMessage bridge Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
….js loadtimeout (CODE:14) Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
… to fix manifestLoadTimeOut (CODE:14) Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…t overrides to match Device Toolbar Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
…alise console-ban.js Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>


Two independent fixes for QTM Live platform sites (
th-live.online,qqlive.online).th-live-desktop-width.user.js→ v0.14Chrome DevTools Device Toolbar also overrides
screen.width/height,screen.availWidth/availHeight,outerWidth, andouterHeight. The userscript skipped all six, so code paths reading those properties (someflexible.jsvariants, certain Vant internals) still saw real desktop dimensions despite all other overrides being in place.Changes:
realAvailWidth,realAvailHeight,realOuterWidth,realOuterHeightbefore any overridephoneModeatdocument-startapplyMode()phone branch: re-establish all six on toggle backapplyMode()full-width branch:deleteall six to restore native valuesavailWidth/availHeightfall back to their own captured values (notscreen.width/height) — correct on systems with a taskbar/dockth-live-console-ban.txt(new)Documents how
console-ban.jsis bundled into the app and how to neutralise its three effects (clear,debug,bfcache) with uBlock Origin scriptlets. Includes a ready-to-paste filter block and a Tampermonkey equivalent.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.