Last active
May 6, 2016 22:33
-
-
Save benjaminestes/477c4af94d12060b58b84f6d8996796b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| JSON.stringify(Array.prototype.map.call(document.querySelectorAll('.navbox-inner a'), v => { | |
| return {anchor: v.firstChild.wholeText, href: v.href}; | |
| })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment