Created
May 5, 2022 17:38
-
-
Save johnmurch/238ab472a5899226a11b3fe36e5421d9 to your computer and use it in GitHub Desktop.
Find String in ALL the links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.from(document.getElementsByTagName('a')).map((a) => a.href).map((l) => l.includes("keyword") ? l : '').filter(Boolean) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment