Advertisement
gabrieldaluz

Apagar post do meu instagram v2

Nov 29th, 2022
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2. *   SCRIPT PARA Apagar Automaticamente Publicações do Meu Instagram! V2
  3. *   Created By Gabriel da Luz Data: 29-11-2022
  4. *   67 984660441 Whats
  5. *   Dev4Hacker's
  6. *   PCH-MS
  7. **/
  8. class _App {
  9.        
  10.     constructor() {
  11.        
  12.         this._loopSpeed = 5000;
  13.        
  14.         this.elementContainerTarget = '.ySN3v';
  15.        
  16.         console.clear();
  17.        
  18.         console.log('🍀 APAGAR AUTOMATICAMENTE PUBLICAÇÕES DO MEU INSTAGRAM: (Script Created By Gabriel da Luz) 🍀');
  19.        
  20.         this.playgame();
  21.          
  22.     }
  23.    
  24.     playgame() {
  25.    
  26.         console.clear();
  27.        
  28.         var targets = document.querySelectorAll('._aabd a');
  29.  
  30.         if(targets.length > 0) {
  31.            
  32.             console.log('Open Publicação Feed!!');
  33.             targets[0].click();
  34.            
  35.             setTimeout(this.click1, 2000);
  36.  
  37.         } else {
  38.            
  39.             console.log('No Target Encontrado! :s');
  40.             setTimeout(function() { script.playgame(); }, 2000);
  41.         }
  42.        
  43.     }
  44.    
  45.     click1(){
  46.        
  47.         if(document.querySelectorAll('._ab8w ._ab94._ab97._ab9h._ab9m._ab9p._abcm').length > 0) {
  48.             console.log('click1');
  49.             document.querySelectorAll('._ab8w ._ab94._ab97._ab9h._ab9m._ab9p._abcm')[0].click();
  50.         }
  51.         setTimeout(function() { script.click2(); }, 2000);
  52.        
  53.     }
  54.    
  55.     click2(){
  56.        
  57.         if(document.querySelectorAll('button._a9--._a9-_').length > 0) {
  58.             document.querySelectorAll('button._a9--._a9-_')[0].click();
  59.             console.log('click2');
  60.         }
  61.         setTimeout(function() { script.click3(); }, 2000);
  62.        
  63.     }
  64.    
  65.     click3(){
  66.        
  67.         if(document.querySelectorAll('button._a9--._a9-_').length > 0) {
  68.             document.querySelectorAll('button._a9--._a9-_')[0].click();
  69.             console.log('>> Publicação Excluida!');
  70.         }
  71.         setTimeout(function() { script.playgame(); }, 2000);
  72.     }
  73. }
  74.  
  75. /** Inject Script Class */
  76. var script = new _App();
  77.  
  78.  
  79.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement