pub fn needs_javascript(page: &Page) -> boolExpand description
Does this response look like an empty shell waiting for JavaScript?
Deliberately conservative. Rendering a page costs ~100x a fetch, so the bar is “there is markup but essentially no text”, not “the page mentions JavaScript”.