Skip to content

Instantly share code, notes, and snippets.

@ankurparihar
Last active January 24, 2024 16:06
Show Gist options
  • Save ankurparihar/5b82717e6bea4c13ba861e22e854d035 to your computer and use it in GitHub Desktop.
Save ankurparihar/5b82717e6bea4c13ba861e22e854d035 to your computer and use it in GitHub Desktop.
ChromeDevTools: Filter url not matching with domain
performance
.getEntries()
.filter(({entryType}) => entryType === "resource")
.map(p => p.name)
.filter(domain => !domain.match(new RegExp(`^${window.location.origin}`)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment