A fix if you don't get a refreshed page
|
|
I found the hitlist was no longer refreshing. I made this change to the last line which seems to work if (reload) document.location.href = 'http://apps.facebook.com/mobwars/hitlist/index.php'; |
|
|
Here's an update, sorta. Replace the whole script with this and it will wait three seconds if there is no one to kill. The old one just refreshed like crazy and got stuck quickly. // ==UserScript==
^^ike |
|
|
Replace with this. Now will randomly refresh between 1-4 seconds if no one to attack. var pauseTime=Math.random()*4; function redirect(){location.href='./'};var reload=true;Array.forEach(document.getElementsByTagName("INPUT"),function(input){if(input.value=="attack"){input.click();reload=false;}});if(reload)setTimeout('document.location.reload(true)',pauseTime*1000); |
|
|
Hey Flyfisherman...could you please post another script?? i don't know how to change the script...i like the idea of it pausing and the randomness of 1-4 seconds between the refresh. But, it seems these scripts don't have multi attack (only attack a user once on the hitlist...)?? |
|
|
I'm new... What do you use to execute these scripts?? |
|
|
Sorry to necro but is there a way to make the script attack from the home screen instead of using the hitlist screen itself? I have heard people mention this ability but nowhere I can find how to set it up. Much appreciated. |