Skip to main content

form_leaves_the_site

Function form_leaves_the_site 

Source
fn form_leaves_the_site(ask: &Value, page_origin: &str) -> bool
Expand description

Does the form this click submits send its fields to a site other than the page’s? The person’s grant is for the site they gave, and a fake form on it can point action anywhere (now with a secret in its fields), so such a click always asks. A click with no form has no action.