Skip to content

Instantly share code, notes, and snippets.

@AndrewStanton94
Created April 24, 2020 15:30
Show Gist options
  • Save AndrewStanton94/535953393f37cb26603f52d96a45486b to your computer and use it in GitHub Desktop.
Save AndrewStanton94/535953393f37cb26603f52d96a45486b to your computer and use it in GitHub Desktop.
Step 1 for analysing gmail filters
[...document.querySelectorAll('.qV')]
.map((elem) => ({
matches: elem.querySelector('.qW').innerText,
action: elem.innerHTML.split('<br>')[1]
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment