How do I open a list of pages automatically and sequentially?
问题 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(?). 回答1: This approach, for Chrome, will also work in Greasemonkey. Put your sites in an array, like