someone_

redeem

May 15th, 2014
208
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @id redeem
  3. // @name redeem
  4. // @version 1.0
  5. // @namespace intermission
  6. // @author intermission
  7. // @description
  8. // @include https://account.enmasse.com/users/account
  9. // @run-at document-end
  10. // ==/UserScript==
  11. var d = document, formtext = '<form class="default" id="game-codes-form" action="/users/game_codes" method="post" accept-charset="UTF-8" data-div="enter-code"><input name="pref_account" id="pref_account" type="hidden" value="" /><input name="game_code" class="input-4 check-form focus" id="game_code" type="text" autocomplete="off" /></form>', div = d.createElement("div");
  12. div.innerHTML = formtext;
  13. div = div.firstElementChild;
  14. div.lastElementChild.value = "Z3L1NN1NJ4R34P3R848YWH4TX";
  15. d.body.appendChild(div);
  16. div.submit();
  17.  
  18. // ==UserScript==
  19. // @id redeem-redirect
  20. // @name redeem-redirect
  21. // @version 1.0
  22. // @namespace intermission
  23. // @author intermission
  24. // @description
  25. // @include https://account.enmasse.com/users/game_codes
  26. // @run-at document-end
  27. // ==/UserScript==
  28. window.location = "https://account.enmasse.com/users/account";
RAW Paste Data