Last active
September 24, 2015 17:12
-
-
Save sbeckeriv/db1764ba4d51f85482ee to your computer and use it in GitHub Desktop.
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
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <title>Bookmakrlet</title> | |
| <body> | |
| <a href="javascript:(function()%20{$("#downloadFileCSV").remove();var%20scrub_csv=function(e){return'"'+$.trim(e.replace(/"/g,'""')+'"')},data=$.makeArray($(".destiny-icon-item").map(function(e,t){return%20scrub_csv($(t).find(".standardTitle").text())+","+scrub_csv($(t).find(".requirements").text())+","+scrub_csv($(t).find(".itemSubtitle%20.tierTypeName").text())+","+scrub_csv($(t).find(".vendorFailureReasons").text())})).join("\n");data=["name","requirements%20count","teir","requirements","\n"].join()+data,$("<a></a>").attr("id","downloadFileCSV").attr("href","data:text/csv;charset=utf8,"+encodeURIComponent(data)).attr("download","filename.csv").appendTo("body"),$("#downloadFileCSV").ready(function(){$("#downloadFileCSV").get(0).click()});})()">Export CSV from destiny vendors. Click and drag to bookmark bar<a/> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment