Salut a tous,
Afin de pouvoir voter toutes les 2 heures sur un site, j'ai créé un petit log de rien du tout en batch pour justement voter toute les 2 heures, seule problème, le lien du boutton ne fonctionne pas ...
En effet, je me suis rendu compte qu'il fallait clické "phisiquement" sur le boutton pour que le vote soit pris en compte ..
J'ai alors penssé a utiliser des programmes qui enregistrent le mouvement de la souris et qui le reproduisent, mais ca ne marche pas non plus, apparament il faut que le click sur le boutton soit fait manuellement et non automatiquement ...
Bref c'est vraiment la m*rde.
voila le code source de la page en question :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><meta name="description" content="Top 5 des serveurs privés world of warcraft" />
<meta name="keywords" content="wow, warcraft, serveur, serveurs, privés, gratuit, top, mmorpg, jeux online, rates, qualité" />
<title>Top 5 des serveurs privés wow</title>
</head><body bgcolor='#FFD8A9' background='http://www.worldofwarcraft.com/shared/wow-com/images/parchment/plain/light.jpg' alink='#5577ff' vlink='#334488'><center><!-- ValueClick Media 468x60 and 728x90 Banner CODE for root-top.com -->
<script language="javascript" src="http://media.fastclick.net/w/get.media?sid=38908&m=1&tp=5&d=j&t=s"></script>
<noscript><a href="http://media.fastclick.net/w/click.here?sid=38908&m=1&c=1" target="_top">
<img src="http://media.fastclick.net/w/get.media?sid=38908&m=1&tp=5&d=s&c=1"
width=728 height=90 border=1></a></noscript>
<!-- ValueClick Media 468x60 and 728x90 Banner CODE for root-top.com -->
<br /><br /><table width=400 cellpadding=4 cellspacing=1 border=0><tr bgcolor=#FFbb60><td align=center><font color=#000000>Ce topsite appartient à <br /><b><a href='http://www.root-top.com/topsite/wow/' target='_blank'>http://www.root-top.com/topsite/wow/</b></a><br /><br /><img src='http://img.root-top.com/topsite/wow/banner.gif' border=0><br /><br /><form method='post' action='/topsite/wow/in.php?ID=1878'><div style='color:#FFbb60;' id='debug'></div>
<input type='hidden' name='Passage' value='16PekZwYFYjGo'><SCRIPT LANGUAGE="JavaScript">
<!--
d='http://www.root-top.com/topsite/wow' + '/in' + 'dex.php';
document.write('<div id="BA">');document.write('<input type="button" name="submit" value="Entrer et voter" onClick="top.location=d;">');document.write('</div>');a=location.hostname;b=location.protocol;r=location.referrer;if (1==1) {document.getElementById('BA').innerHTML='<input type="Submit" name="submit" value="Entrer et voter">';}else{bug = new Image();bug.src = 'http://www.root-top.com/vvi.php?p=' + b + '&h=' + a + '&t=' + 'wow' + '&i=' + 1878;;}
-->
</SCRIPT>
<noscript>
<a href='./index.php?vote=invalide'>Cliquez ici pour continuer</a><br /><br /><font style='font-size: 12px; font-weight: bold;'>Vous devez activer le javascript de votre navigateur pour pouvoir voter</font><img src='http://www.root-top.com/vvi.php?t=wow&i=1878&j=1' border=0 width=1 height=1 /></noscript>
<br /><font style='font-size: 12px; font-weight: bold;'>Votre navigateur doit accepter les cookies pour pouvoir voter</font><font style='font-size: 12px; font-weight: none;'><br />Bouton anti-triche</font><br /></form><font size=3>Voter pour <b>Top 5 des serveurs privés wow</b></font><br /><br /><a href='./index.php' style='font-size: 11px; font-weight: none;text-decoration:none;' >Entrer sans voter</a></td></tr></table>
<br /><a href='http://www.root-top.com/partage_revenus.php' target=_blank><img src='http://www.root-top.com/images/partage_revenus_468_60_fr.gif' border=0 /></a><br /><br /><br /><table><tr><td align='center' bgcolor='#FFD8A9'><font color='#000000'>Créez votre topsite en moins de 2 minutes <a href='http://www.root-top.com'>http://www.root-top.com</a></font></td></tr></table></html>
Je pensse que ce qui pose le probleme, c'est cette ligne de code ci-dessous:
d='http://www.root-top.com/topsite/wow' + '/in' + 'dex.php';
document.write('<div id="BA">');document.write('<input type="button" name="submit" value="Entrer et voter" onClick="top.location=d;">');document.write('</div>');a=location.hostname;b=location.protocol;r=location.referrer;if (1==1) {document.getElementById('BA').innerHTML='<input type="Submit" name="submit" value="Entrer et voter">';}else{bug = new Image();bug.src = 'http://www.root-top.com/vvi.php?p=' + b + '&h=' + a + '&t=' + 'wow' + '&i=' + 1878;;}
Seul problème, comme j'y connait rien en Html/java, bha je peux pas résoudre mon probleme ...
Quelqu'un pourrait-il m'aider pour contrer se truc et donc pouvoir voter automatiquement toute les 2 heures svp ???