nPhoenix

[Terminar][Habbo] Info Object.

May 8th, 2012
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. h = {
  2.     id: function () {
  3.         return habboId;
  4.     },
  5.     name: function () {
  6.         return habboName;
  7.     },
  8.     tags: function () {
  9.         return ad_keywords.split(/,gender%3A/)[0];
  10.     },
  11.     app: function () {
  12.         return $$("[name^=csrf]")[0].content;
  13.     }
  14. };
  15. new Ajax.Request(/credits/, {
  16.     onComplete: function (x) {
  17.         h["coins"] = (x.responseText.match(/redeem-balance-amount">(.+)</)[0].split(/>/)[1].split(/</)[0]);
  18.     }
  19. });
  20. if (document.cookie.match(/JSESSIONID/)) {
  21.     h["session"] = (document.cookie.match(/JSESSIONID=(.+);/)[0].split(/=/)[1].split(/;/)[0]);
  22. };
Advertisement
Add Comment
Please, Sign In to add comment