Last active
October 15, 2018 17:01
-
-
Save SansGuidon/85ce6c29a645a0fe676f938e4886a08b to your computer and use it in GitHub Desktop.
Export Google Inbox links
This file contains 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
console.table( | |
[] | |
.concat(Array.prototype.slice.call(document.getElementsByClassName('bX'))) | |
.concat(Array.prototype.slice.call(document.getElementsByClassName('bV dj'))) | |
.map( | |
function(i){ | |
if (i.href) | |
return decodeURIComponent(i.href.replace(/^.*url\?q=([^&]*)&.*$/,'$1')) | |
} | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment