rzh9b
rzh9b3y 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
NeTT3y ago
like?
NeTT
NeTT3y 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
rzh9bOP3y ago
that might work, thanks!