Skip to content

Instantly share code, notes, and snippets.

@tomnomnom
Created June 19, 2019 21:27
Show Gist options
  • Save tomnomnom/275c878b4ab82c8fadbd5ab7edab83c2 to your computer and use it in GitHub Desktop.
Save tomnomnom/275c878b4ab82c8fadbd5ab7edab83c2 to your computer and use it in GitHub Desktop.
Bookmarklet to copy URLs from a Google search results page
javascript:d=document;b=d.createElement`textarea`;c=d.getSelection();b.textContent=[...d.querySelectorAll`div.r>a:first-child`].map(n=>n.href).join`\n`;d.body.appendChild(b);c.removeAllRanges();b.select();d.execCommand`copy`;d.body.removeChild(b)
@dhanunjaybabu
Copy link

How to install it in kali linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment