Last active
November 23, 2015 20:19
-
-
Save joelcardinal/38bd1391cda4f2a292ed to your computer and use it in GitHub Desktop.
I have a habit of opening a gazillion tabs of links I want to keep. One quick way I've discovered other than bookmarking is to open chrome://inspect and you can collect all the links (except if more than 100 characters, Chrome truncates with "...") in the console by running this:
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
/* run in console on chrome://inspect..., select and copy output. Doesn't work with if URL more than 100 characters, Chrome truncates with "..." */ | |
(function(){var arr=[],urls=document.querySelectorAll('.url');for (i=0,len=urls.length; len > i; i++){arr.push(urls[i].innerHTML)}return arr.join('\n\r');}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment