I’m wondering if this sort of thing is feasible? The thing that prompted me to post this question was the desire to use wasm threads on a Github Pages website.
Someone has apparently come up with a workaround using service workers, so it seems that a feature like this would even be polyfill-able already? I’d assumed that there was some technical reason that this feature needed to be implemented with headers, but that workaround makes me think that a programmatic “switch” is possible?