🏠 返回首頁 

RW hunter

support RW

< Feedback on RW hunter

Question/comment

§
Posted: 2018-01-27
Edited: 2018-01-27

Script doesn't support a RW on a rare occasion when server is not in sync

Script that refreshes main page until there is a RW to support. When that happens script tries to click button once and then refreshes stop.

The problem is that sometimes something happens, my theory is that Ajax is not quite in sync by a fraction of a second (maybe micro seconds) with server and then message appears that RW can be supported again in 0:00:00 because 24 hours has not passed yet. As a r###lt of that RW is not supported by the script since the script does not try to support the RW again.

I guess the more robust way of checking it would be to see if supporter made it in the list of supporters or if button to support a RW is greyed out or maybe just keep pressing the button.

Example element when support is successful:

https://imgur.com/UXnM15T

<a id="fundRW_btn" href="javascript:;" class="std_global_btn smallSize redColor disabled" original-title="You supported this resistance movement."> <span> <b>Support</b> </span> </a>

Post reply

Sign in to post a reply.