Skip to content

shouldStartLoadWithRequest called multiple times when main page has iframe #2

@yagitoshiro

Description

@yagitoshiro

You can suppress shouldStartLoadWithRequest be called even when the main page has iframe.

if ([request.URL.absoluteString isEqualToString:request.mainDocumentURL.absoluteString]) {
  // do something nice to main page
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions