Skip to main content

needs_javascript

Function needs_javascript 

Source
pub fn needs_javascript(page: &Page) -> bool
Expand 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”.