Created
October 18, 2019 09:26
-
-
Save iliran11/6c04e00587a073f3f53edb7140eaf7c8 to your computer and use it in GitHub Desktop.
okcupid
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
document.querySelectorAll('.match-results-card').forEach((node)=>{ | |
const hrefAttr = node.getAttribute('href'); | |
const window = window.open(hrefAttr); | |
console.log(window) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment