Skip to main content

page_url

Function page_url 

Source
pub(crate) async fn page_url(
    state: &AppState,
    target: &str,
) -> Result<String, String>
Expand description

The address target (a pane or popup window) shows, as the host reports it from the browser’s own record of the page: never block meta, which a client can write. Not the agent’s eval: that scans the whole page for secrets first, which on a large page outlasts the person’s button.