rzh9b
rzh9b2y ago

turn off js with fetch?

i'd like to fetch only the html version of a website, if there is one. any ideas on how to do so?
3 Replies
NeTT
NeTT2y ago
like?
NeTT
NeTT2y ago
if you mean something like fetching https://fresh.deno.dev as a website instead of as the JS script, you could set the Accept header to Accept: text/html
fresh - The next-gen web framework.
Just in time edge rendering, island based interactivity, and no configuration TypeScript support using Deno.
rzh9b
rzh9b2y ago
that might work, thanks!