-
Notifications
You must be signed in to change notification settings - Fork 20
Shuffle URLs
In the Increment URL Action settings, click the red crossed-arrows
icon to bring up the Shuffle URLs Dialog and click YES to enable this. (Click NO to disable it.)
Think of this feature like how you would shuffle a deck of cards. It shuffles the URLs you'll see next. For example, say you start Auto Incrementing at page=1 with a Times
of 9
; every page from page=2 to page=10 will be shuffled randomly and you will be guaranteed to see each page only once -- just in a random order.
Here's an example:
page=5,4,9,10,7,2,8,3,6
Please note that the starting URL (page=1) is not included in the shuffled array; just the incremented URLs.
The app uses the Durstenfeld algorithm to perform the shuffling in an extremely efficient O(n) time.
You can adjust the Shuffle Amount
in the Shuffle URLs Dialog to set a max upper bound on the range of URLs you will see. For example, a Shuffle Amount
of 1000
means it will pre-calculate and shuffle 1000 incremented URLs, but 0 decremented URLs (in relation to the starting URL). It will also take into account the Increment Interval when calculating these URLs.
You can enable Shuffling with AUTO
toggled on as well, but note that Shuffle only works when using the Increment URL
Action (i.e. you can't shuffle next links). In Auto mode, the Shuffle Amount value is not used since it is simply the Auto Times
value you set (see the above Auto example).
If applicable, you can also turn on Auto Slideshow
mode at the same time and it will re-shuffle the URLs after it repeats and goes back to the starting URL. But since the starting URL (e.g. page=1) is not part of the shuffled URLs, you'll always know when it repeats and goes back to the start.