Skip to content

Instantly share code, notes, and snippets.

@itspluxstahre
Created November 8, 2016 11:42
Show Gist options
  • Save itspluxstahre/05b0c1de4dcbc51dd503ef5591479649 to your computer and use it in GitHub Desktop.
Save itspluxstahre/05b0c1de4dcbc51dd503ef5591479649 to your computer and use it in GitHub Desktop.
Save extensions from magento connect
javascript:(function(){var e=jQuery(".extension-version li").first().contents().last().text().trim();jQuery("#button-purchase-input").click(),jQuery("#connect-version-id").val(2),jQuery("#licence-agreement-checkbox").click(),jQuery("#get-extension-button-free").click();var n=jQuery("#extension-key-input").val(),t=n.replace(/.*\/([^/]*)/,"$1");window.open(n+"/"+e+"/"+t+"-"+e+".tgz")})();
javascript: (function() {
var e = jQuery(".extension-version li")
.first()
.contents()
.last()
.text()
.trim();
jQuery("#button-purchase-input")
.click(),
jQuery("#connect-version-id").val(2),
jQuery("#licence-agreement-checkbox").click(),
jQuery("#get-extension-button-free").click();
var n = jQuery("#extension-key-input").val(),
t = n.replace(/.*\/([^/]*)/, "$1");
window.open(n + "/" + e + "/" + t + "-" + e + ".tgz")
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment