6616680fc6
Free check (DeepSeek v4.1 Flash scorecard) and deep report (Opus 5.5) over a generalised evidence pack from the read-only chain tools; fact gate blocks any address, tx or number not in the evidence; MySQL store; hub sign-in, sponsor line recorder, vouchers, ad slots in iframes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
763 B
JavaScript
15 lines
763 B
JavaScript
// /c/<id>: one check, polled until it is done. No ads inside the report body.
|
|
(function () {
|
|
'use strict';
|
|
var id = location.pathname.split('/')[2], live = WWI.$('live'), t = null;
|
|
function poll() {
|
|
fetch('/api/check/' + id).then(function (r) { return r.json(); }).then(function (v) {
|
|
if (!v.id) { live.innerHTML = '<div class="notice">' + WWI.esc(v.error || 'Not found') + '</div>'; return; }
|
|
Render.draw(live, v);
|
|
live.querySelectorAll('[data-deep]').forEach(function (b) { b.addEventListener('click', function () { location.href = '/?c=' + id + '#reports'; }); });
|
|
if (v.status === 'queued' || v.status === 'running') t = setTimeout(poll, 2500);
|
|
}).catch(function () { t = setTimeout(poll, 5000); });
|
|
}
|
|
poll();
|
|
})();
|