Closed gmcheems closed 1 year ago
+1 for this. COOP and COEP headers break ads on my site, I can't use them
I know that COOP and COEP headers suck.
Browser vendors are preparing workarounds. Checkout credentialless/anonymous iframes. It's in origin trials now. This will likely be the way to fix this issue going forward.
You can fallback to an older Stockfish version for browsers that are unsupported.
I think it is unlikely that there will be another Stockfish.js that does not use SharedArrayBuffer. But I'm open to suggestions/contributions.
I'm aware of the COOP and COEP headers needed to run newer stockfish versions (in order for SharedArrayBuffer to be enabled) but I'm in a situation where that's not possible.
So my question is: are there workarounds for SharedArrayBuffer or will stockfish.js always require that going fowards?