defer actx until needed (audioplayer, uploads) and

try to be less reliant on the actx speedhack for upload performance
This commit is contained in:
ed
2022-09-07 21:08:09 +02:00
parent 590c763659
commit 8fcb2d1554
3 changed files with 59 additions and 17 deletions

View File

@@ -134,7 +134,7 @@ function vis_exh(msg, url, lineNo, columnNo, error) {
'<h1>you hit a bug!</h1>',
'<p style="font-size:1.3em;margin:0">try to <a href="#" onclick="localStorage.clear();location.reload();">reset copyparty settings</a> if you are stuck here, or <a href="#" onclick="ignex();">ignore this</a> / <a href="#" onclick="ignex(true);">ignore all</a></p>',
'<p style="color:#fff">please send me a screenshot arigathanks gozaimuch: <a href="<ghi>" target="_blank">github issue</a> or <code>ed#2644</code></p>',
'<p class="b">' + esc(url + ' @' + lineNo + ':' + columnNo), '<br />' + esc(String(msg)) + '</p>',
'<p class="b">' + esc(url + ' @' + lineNo + ':' + columnNo), '<br />' + esc(String(msg)).replace(/\n/g, '<br />') + '</p>',
'<p><b>UA:</b> ' + esc(navigator.userAgent + '')
];