var account;
var users = ["********"];
var password = "*********";
var gameId = 126945035 //Put your game ID here
for (account = 0; account < users.length; account++) {
window.location.assign('www.roblox.com');
$(document).ready(function(){
document.getElementById("LoginUsername").value = users[account];
document.getElementById("LoginPassword").value = password;
document.getElementById('LoginButton').click();
setTimeout(function(){
window.location.assign('http://www.roblox.com/Game/PlaceLauncher.ashx?request=RequestGame&placeId=' + gameId);
setTimeout(function(){
window.location.assign('http://www.roblox.com/---place?id=' + gameId);
$('.upvote').click();
}, 1000);
}, 1000);
});
};
当我运行它,它应该登录到帐户,似乎正在工作,但在使用setTimeout()后,它不会运行任何事情后。setTimeout()没有运行?
所有的*都是我无法分享的信息。
出于好奇,为什么你的代码直接面向roblox.com? – leDominatre 2015-02-08 18:15:57
我正在做一些事情来自动登录,然后'竖起大拇指'的地方。 – sinblade 2015-02-08 18:20:49