I wish to load a list of webpages sequentially, with Greasemonkey.
var list = array ('http://www.google.com', 'site2', 'site3', 'site4');
window.location.href = list[0];
The script should work as follows: open site 1, wait 5 seconds, open site 2, wait 5 seconds, etc.
I don’t know how to make the script open sites in sequence, maybe compare the actual URL to the list and move on the next one(?).
This approach, for Chrome, will also work in Greasemonkey.
Put your sites in an array, like that, but you must also set your
@include,@exclude, and@matchdirectives to fire on the appropriate sites.Putting it all together, here’s a complete script: