Skip to content

Instantly share code, notes, and snippets.

@szmeku
Created June 29, 2019 12:42
Show Gist options
  • Save szmeku/0c1f6d998110880e2dd0a34cc35dcaa5 to your computer and use it in GitHub Desktop.
Save szmeku/0c1f6d998110880e2dd0a34cc35dcaa5 to your computer and use it in GitHub Desktop.
Array.from(document.querySelectorAll('.result'))
.filter(e => e.querySelector('.totalPrice').textContent.split(' ')[0] > 100)
.forEach(e => e.remove())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment