Created
January 28, 2013 06:07
-
-
Save ozero/4653378 to your computer and use it in GitHub Desktop.
List product page URLs from Amazon(jp) purchase history page with console.log(). Paste the code below to chrome's DevTools console, then hit enter.
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
var e = document.getElementsByTagName("a"); | |
for(i = 0; i < e.length; i++){ | |
var s = e[i].href; | |
if(s.match(/\/gp\/product\//)){console.log(s);} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment