Script Summary: Player names in the Send Castle Age Request list are changed to 'join their army' links; they get the gift items but you don't have to wait or plead.
Version: 1
Copyright: 2009, Benjamin Sorensen
License: GPL version 3 or later; http://www.gnu.org/copyleft/gpl.html
On your way to that 501 army but your new "friends" aren't joining up? Take matters into your own hands by joining their armies and you both profit. Sure, you pass up the army join gifts but maybe you're tired of waiting or don't care about the gifts.
Open the Army page in a new tab or window to see the changes*. The Send Castle Age Request list already only shows Facebook friends that play Castle Age but are not in your army. This script changes the text names in the listbox to links that are identical to the ones you would get from them via the chat widget on the left (and I think the extra invites page as well). The Castle Age icon is displayed next to the links in the list so you know that the script has done its work.
* Currently, this script is only active when you browse to the actual army.php page because I don't know how to properly hook the AJAX page loading from client javascript yet. If anyone has an example of this, please let me know.



