Advertisement
DraKiNs

[COD] Visitador de Profiles [Orkut]

Aug 7th, 2011
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:
  2.  
  3. myWindow = window.open('','','width=500,height=500');
  4. myWindow.document.write("<div id='dadossss'>Aguardando Dados <br/></div>");
  5.  
  6.  
  7. var Paginacao = 2;
  8. var TotaisVisitas = 0;
  9. var Elementos = new Array();
  10.  
  11. var elementoLink = window.orkutFrame.document.getElementsByTagName("a");
  12. var a = 0;
  13. var Visitados = 0;
  14.  
  15. PegarLinks();
  16.  
  17. function PegarLinks()
  18. {
  19.  
  20.     elementoLink = window.orkutFrame.document.getElementsByTagName("a");
  21.     a = 0;
  22.     Visitados = 0;
  23.    
  24.     for(i in elementoLink)
  25.     {
  26.         if(elementoLink.item( i ).href.search("Main#Scrapbook?") != -1)    
  27.         {  
  28.             Elementos[a]  = elementoLink.item( i ).href ;
  29.             myWindow.document.getElementById('dadossss').innerHTML +=  "<br/><b>Próximo:" + TotaisVisitas + "</b> ->" +  Elementos[a];
  30.             a++;       
  31.             TotaisVisitas++;
  32.         }
  33.     }
  34.     Visitar();
  35. }
  36.  
  37.  
  38. function Visitar()
  39. {
  40.     Elementos[Visitados] = window.open(Elementos[Visitados] ,'','width=500,height=500');
  41.     Visitados++;
  42.  
  43.     if(Elementos[Visitados])
  44.     {
  45.         Visitar();
  46.     }
  47.     setTimeout("Visitou()", 10000);    
  48.     window.location.href = window.location.href.split("&pno=")[0] + "&pno=" + Paginacao;
  49.     Paginacao++;
  50.     setTimeout("PegarLinks()", 15000);  
  51. }
  52.  
  53. function Visitou()
  54. {
  55.     for(i in Elementos)
  56.     {
  57.         Elementos[i].close();
  58.     }
  59. }
  60.    
  61.  
  62. // Auto Visitador para Orkut
  63. // Ganhe muitas visitas em seu perfil
  64. // Apenas cole o código acima na barra de endereços
  65. // Criado por Bruno da Silva (versão beta)
  66. // www.ips-team.blogspot.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement