- Make the "checking your browser for robots" look more like cloudflare

- Reduce the default concurrency of the frontend script to 2 threads because any higher seems to crash firefox (and its quick enough even with 2 threads anyway)
- Remove the footerlogo from challenge and maintenance page, and update the link
This commit is contained in:
Thomas Lynch
2022-09-10 08:10:51 +10:00
parent 77518cee69
commit c9e007639e
3 changed files with 36 additions and 26 deletions

View File

@ -13,7 +13,7 @@ if (window.Worker && crypto.subtle) {
const challenge = document.querySelector('[data-pow]').dataset.pow;
const difficulty = 0;
const start = Date.now();
const threads = Math.min(4,Math.ceil(window.navigator.hardwareConcurrency/2));
const threads = Math.min(2,Math.ceil(window.navigator.hardwareConcurrency/2));
let finished = false;
const messageHandler = (e) => {
if (finished) { return; }