I would like to see some sort of auto queue functionality built into the page which allows users to keep the search crunching away in the background. I personally have figured out a work-around which I am using however it would be nice to allow other users to make use of this, even if they might not have programming experience.
Right now, I have written a small bit of JS code which will effectively do what I am looking for. The script below will set up a 5 second interval, whereby each 5 seconds, a check is performed on the input to see if it is currently disabled, whereby no further processing will occur. If however the input is NOT disabled, then it will fire off a click event to queue up another search.
I have added some additional code to also track the progress of my hunt for ABC triplets so I can actually look at my console to see if anything has been discovered so far!
You will notice by the way, the use of temp1 and temp2 variables.. I am manually setting these via the element inspector in my browser, and have not bothered to do this in a more elegant manner, so if any other JS developers coming across this wish to give it a go, you'll need to select the button input, as well as the <div /> which wraps the progress text.
I would like to see some sort of auto queue functionality built into the page which allows users to keep the search crunching away in the background. I personally have figured out a work-around which I am using however it would be nice to allow other users to make use of this, even if they might not have programming experience.
Right now, I have written a small bit of JS code which will effectively do what I am looking for. The script below will set up a 5 second interval, whereby each 5 seconds, a check is performed on the input to see if it is currently
disabled
, whereby no further processing will occur. If however the input is NOT disabled, then it will fire off aclick
event to queue up another search.I have added some additional code to also track the progress of my hunt for ABC triplets so I can actually look at my console to see if anything has been discovered so far!
You will notice by the way, the use of
temp1
andtemp2
variables.. I am manually setting these via the element inspector in my browser, and have not bothered to do this in a more elegant manner, so if any other JS developers coming across this wish to give it a go, you'll need to select the button input, as well as the<div />
which wraps the progress text.