jordanreger
jordanreger3y 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.
jordanreger
jordanregerOP3y ago
that might work, thanks!

Did you find this page helpful?