Skip to content

Instantly share code, notes, and snippets.

@jpillora
Created October 17, 2014 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jpillora/24e0d0d92217e004bd67 to your computer and use it in GitHub Desktop.
Save jpillora/24e0d0d92217e004bd67 to your computer and use it in GitHub Desktop.
Battlelog: BF4: Open all battlepacks
//submit one, look at the network tab for the post-check-sum
//paste into console
var postCheckSum = "5f5a7b128a";
$(".battlepack-item .btn").each(function() {
var id = $(this).attr("data-open-pack");
$.post("http://battlelog.battlefield.com/bf4/battlepacks/openpack/"+id, {"packId":id, "post-check-sum":postCheckSum});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment