Skip to content

Instantly share code, notes, and snippets.

@extratone
Forked from ttscoff/grab links.bookmarklet
Last active May 2, 2021 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save extratone/e6020e5687da19cd613b1a3cb60983e7 to your computer and use it in GitHub Desktop.
Save extratone/e6020e5687da19cd613b1a3cb60983e7 to your computer and use it in GitHub Desktop.
Create a bookmark and paste the code from `grab links.bookmarklet` into the url. Trigger it on a page containing links you want to save and then click the section of the page containing the links. A Markdown list of all links will be generated, and clicking the resulting list will select all for copying.
javascript:(function(){var p=document.createElement("p");p.innerHTML="<strong>Loading&hellip;</strong>";p.id="loadingp";p.style.padding="20px";p.style.background="#fff";p.style.left="20px";p.style.top=0;p.style.position="fixed";p.style.zIndex="9999999";p.style.opacity=".85";document.body.appendChild(p);document.body.appendChild(document.createElement("script")).src="https://gist.github.com/ttscoff/5834741/raw/grablinks.js?x="+(Math.random());})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment