Skip to content

Instantly share code, notes, and snippets.

@saniul
Created February 12, 2015 21:45
Show Gist options
  • Save saniul/9f467d51859533006fd8 to your computer and use it in GitHub Desktop.
Save saniul/9f467d51859533006fd8 to your computer and use it in GitHub Desktop.
Apple Testflight User Export Bookmarklet
javascript: (function(){var t={eval:'"(function(){var t=artoo.scrape(\\".table-testers tbody tr\\",{name:function(t){return t(this).find(\\".tt-name span:first\\").text().trim()},email:function(t){return t(this).find(\\".tt-email span:first\\").text().trim()},status:function(t){return t(this).find(\\".tt-status span:first\\").text().trim()},latestBuild:function(t){return t(this).find(\\".tt-latest-build span:first\\").text().trim()}});artoo.saveCsv(t)}).call(this,artoo.$);"'},e=!0;if("object"==typeof this.artoo&&(artoo.settings.reload||(artoo.log.verbose("artoo already exists within this page. No need to inject him again."),artoo.loadSettings(t),artoo.hooks.trigger("exec"),e=!1)),e){var i=document.getElementsByTagName("body")[0];i||(i=document.createElement("body"),document.firstChild.appendChild(i));var a=document.createElement("script");console.log("artoo.js is loading..."),a.src="//medialab.github.io/artoo/public/dist/artoo-latest.min.js",a.type="text/javascript",a.id="artoo_injected_script",a.setAttribute("settings",JSON.stringify(t)),i.appendChild(a)}}).call(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment