Skip to content

Instantly share code, notes, and snippets.

@0xcrypto
Last active March 17, 2021 12:23
Show Gist options
  • Save 0xcrypto/afec6472d03725035fa87161cea3915f to your computer and use it in GitHub Desktop.
Save 0xcrypto/afec6472d03725035fa87161cea3915f to your computer and use it in GitHub Desktop.
Google Links Extractor (Extracts links from the visible page. Drag to bookmark bar to create a bookmarklet
javascript:alert((function() {links=[];document.querySelectorAll('.yuRUbf').forEach(function (e) {e.childNodes.forEach(function (f) {links.push(f.getAttribute('href'));});});return links;})().join("\n"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment