Advertisement
Guest User

Untitled

a guest
Jul 6th, 2016
109
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var FB = {
  2.    
  3.     accounts:10,
  4.     accountLineNow:1,
  5.    
  6.     total:100,
  7.     totalLineNow:1,
  8.    
  9.     login: function () {
  10.         iimPlayCode('SET !ENCRYPTION NO\nSET !DATASOURCE Facebooklogin.csv\nSET !DATASOURCE_LINE '+this.accountLineNow+'\nTAG POS=1 TYPE=INPUT:EMAIL ATTR=ID:"email" CONTENT={{!COL1}}\nTAG POS=1 TYPE=INPUT:PASSWORD ATTR=ID:"pass" CONTENT={{!COL2}}\nTAG POS=1 TYPE=LABEL ATTR=class:"uiButton uiButtonConfirm"\n')
  11.    
  12.     },
  13.     logout: function () {
  14.         iimPlayCode('TAG POS=1 TYPE=DIV ATTR=ID:"userNavigationLabel"\nTAG POS=2 TYPE=SPAN ATTR=TXT:Log<SP>Out')
  15.     },
  16.     checkLogged: function () {
  17.         if(iimPlayCode('TAG POS=1 TYPE=A ATTR=CLASS:"_2s25"')>0){
  18.             return true;
  19.         }
  20.         return false;
  21.     },
  22.     sendMsg:function(){
  23.         iimPlayCode('SET !DATASOURCE FacebookFriends.csv\nSET !DATASOURCE_LINE '+this.totalLineNow+'\nURL GOTO={{!COL1}}\nSET !EXTRACT {{!URLCURRENT}}\nSAVEAS TYPE=EXTRACT FOLDER=* FILE={{!NOW:yyyy/mm/dd}}.csv\nTAG POS=1 TYPE=A ATTR=HREF:/messages/thread/*\nTAG POS=1 TYPE=TEXTAREA ATTR=CLASS:"br *" CONTENT=""\nTAG POS=1 TYPE=TEXTAREA ATTR=ID:"composerInput" CONTENT=""\nTAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:composer_form ATTR=NAME:send\nURL GOTO={{!COL1}}\n')
  24.     },  
  25.     addFrend:function(max){
  26.         var max = max || 25;
  27.         var maxLine = this.totalLineNow + max;
  28.         var j = this.totalLineNow;
  29.         for(j; j <= maxLine; j++){
  30.             this.sendMsg();
  31.             this.totalLineNow = j;
  32.         }
  33.        
  34.     },  
  35.     run:function(){  
  36.         for(var i = 1; i <= this.accounts; i++) {
  37.             if(this.checkLogged()){
  38.                 this.logout();
  39.             }
  40.             this.login();
  41.             this.addFrend(20);
  42.             this.accountLineNow = i;
  43.         }
  44.     }
  45.  
  46. };
  47.  
  48. FB.run();
Advertisement
RAW Paste Data Copied
Advertisement