Curious George
Well-Known Member
- Reaction score
- 224
- Author
- Shinko to Kuma
- Contributors
- N/A
- Quickbar Entry
-
javascript:
if (window.location.href.indexOf('&screen=overview_villages') < 0) {
//relocate
window.location.assign(game_data.link_base_pure + "&screen=overview_villages");
}
else{
var villageOverviews = $("a[href$='screen=overview']");
var villageIds = [];
var targetUrls = [];
for (var i = 1; i < villageOverviews.length; i++) {
thisURL = villageOverviews[i].href;
villageIds.push(thisURL.match('[\?&]village=([^&#]*)')[1]);
}
for (var j = 0; j < villageIds.length; j++) {
targetUrls.push(`${window.location.origin}/game.php?village=${villageIds[j]}&screen=place`);
}
targetUrls.forEach((url, i) => {
setTimeout(() => window.open(url), i * 200);
});
}
- Public?
- Public
Run script on the Ovierview page and it opens each village's rally point in the list.
Script was made by Sophie / Shinko to Kuma maybe 18 months ago, so all credit etc. obviously goes to her. Sole reason for posting myself is I saw she said she was quitting a while ago and didn't want to bother her over a relatively inconsequential script as I doubt many of the player base would use it.
Script was made by Sophie / Shinko to Kuma maybe 18 months ago, so all credit etc. obviously goes to her. Sole reason for posting myself is I saw she said she was quitting a while ago and didn't want to bother her over a relatively inconsequential script as I doubt many of the player base would use it.
Last edited by a moderator:
Upvote
0