Script Summary: Finally version 1.2! Allows you to accept all gifts and send gifts back just by one click. Bugs fixed. Now should work again.
Version: 1.2
Script fixed a little bit and now should work on Opera again and on Chrome(but probably without sendback option). If I find more time I will try to fix it entirely.
There is small delay now after redirecting back to gifts page. It means that script may work a little bit slower but less gifts will be lost. So if that scripts worked perfectly for you so far i don't recommend downloading version 1.0. You can also make script click faster by changing "delay" veriable in code (its on begining).
For example change "var delay = 2000;" for "var delay = 1000;" or "var delay = 500;" or even "var delay = 10;" . I hope anyone understand what i am talking about.
Lots = Legacy of Thousand Suns. Game on Facebook.
CA = Castle Age. Game on Facebook.
To fire script , you have to accept one gift by yourself. It prevents from unwanted page refreshes. You can also use these links to start script immediately:
For Lots: http://www.facebook.com/reqs.php#confirm_149755...
For CA: http://www.facebook.com/reqs.php#confirm_467550...
For DotD http://www.facebook.com/reqs.php#confirm_268652...
For Yoville: http://www.facebook.com/reqs.php#confirm_215268...
For Farmville: http://www.facebook.com/reqs.php#confirm_102452...
For FrontierVille: http://www.facebook.com/reqs.php#confirm_201278...
For Warstorm http://www.facebook.com/reqs.php#confirm_295073...
For AgeOfHeroes http://www.facebook.com/reqs.php#confirm_307821...
For Petville http://www.facebook.com/reqs.php#confirm_163576...
For Cityville http://www.facebook.com/reqs.php#confirm_291549...
For CrimeCity http://www.facebook.com/reqs.php#confirm_129547...
For Heaven http://www.facebook.com/reqs.php#confirm_271022...
For ZombieSlayer http://www.facebook.com/reqs.php#confirm_259944...
For Age of Champions http://www.facebook.com/reqs.php#confirm_259944...
For Treasure Isle http://www.facebook.com/reqs.php#confirm_234860...
For Cafe World http://www.facebook.com/reqs.php#confirm_101539...
For Social City http://www.facebook.com/reqs.php#confirm_163965...
For Casino City http://www.facebook.com/reqs.php#confirm_116823...
For Vampire Wars http://www.facebook.com/reqs.php#confirm_252872... (not sure if VW works)
For Fishville http://www.facebook.com/reqs.php#confirm_151044...
For Zoo World http://www.facebook.com/reqs.php#confirm_167746...
For City of Wonder http://www.facebook.com/reqs.php#confirm_114335...
For Farkle 2 http://www.facebook.com/reqs.php#confirm_184022...
To stop script close tab or click on some link or press X button or turn off greasemonkey or close window or reboot computer.
Feel free to comment/send mail(wrzucmispam@gmail.com) if you have any questions or problems with script. You can also invite and ask me on facebok http://www.facebook.com/darkmichael.bladedancer
Important notes
-It is still final version but I dont have enough time to play every game and check if my script works or not. So please help me in testing and send info about bugs/freezes.
-Some games like Mafia Wars or Vampire Wars have hashed urls so I cant add them to my script.
-Games for which my script probably won't be able to work : Mafia Wars, Kingdom of Camelot
Changelog:
v1.2
- Fixed bug with send back button for Opera and for Chrome (maybe for Firefox too).
v1.1
- It is probably the first version where "send gift back" option works also in other languages than English (thanks to Agostino Zanutto who found small bug :P). Of course that option works for pages with button to send gift back (so for example won't work on Castle Age).
- no new games, but i will add some maybe this weekend
v1.0 (FINAL!)
- I think it should work on Firefox now. At least it works on my FF.
- 2 new games added. City of Wonder and Farkle 2 or sth like that.
- added delay(timeout) to "accept" button clicking.
v0.99.3 (Moar animals!)
- Zoo world added. I know there are still problems on FF with script ,but will try to fix it later.
v0.99 (Fish & Bats)
- fixed bug with "No more gifts!" title. Now script should show us how many gifts are left to accept.
- two new games with animals ! Vampire Wars and Fishville ! If you have any problems with them, send me info and i will fix in next version.
- fixes: farmville,frontierville, zombie slayer, yoville.
v0.982b (Script in the City)
- script has now 2 new cities! Social City & Casino City
- fixes to Cafe World
- small Farmville fix
v0.981b (small but important fix)
- important fix! Now script shouldn't close or refresh page when box with "publish" button appear
v0.98b (Zynga)
- TreasureIsle and Cafe World added !! :)
- Farmville fix
- Warstorm fix
- version 1.0 will be soon cause i dont know which game should i add
v0.97b
- rewritten code. Its much easier now to add new games and to fix those with freezes.
- a lot of new games: CityVille,PetVille,Heaven,AoC, CimeCity
- another Castle Age fix... now script shouldn't stop so often.
- small FrontierVille fix.
v0.96b
- minor CastleAge and Bugs fixes (f.e with closing every popup box..)
- after 400 download added Farmville (http://www.youtube.com/watch?v=odBDAcOEKuI)
v0.95b
- Code is much smaller now and looks nicer :P
- added info on tab when collecting is finished
- added 3 new games: Frontierville, ZombieSlayer, Warstorm
v0.911b
- added Yoville as someone asked (i dont play it).
v0.91b
- added Dawn of the dragons, small CA fix
v0.90b
- now that script should work on all browsers(tested on Opera,Chrome and FF)
v0.85
- now that script should work on CA(Castle Age) as well. If you want me to make it work on other games(Dotd or whatever) , leave a comment/send mail.
Q: Why do I add games which already has own scripts on userscripts.org
A: Because some people told me, that my script is the only one which works for them. It doesn't mean that my script is better or I am better programmer(I am javascript beginner :P) ,but why shouldn't I help those ppl :)
FF is lame browser by the way.



