Josh Miller's Bookmarklets
(for Mafia Wars, FarmVille, FarmTown, Mobsters, Vampire Wars, Castle Age, etc on Facebook)
Looking for a quick way to automatically confirm all new friend requests and accept all your Facebook game/application gifts? Check out JGrabAllGifts!
Have my scripts saved you time? Want to help me out? Tell all of your friends about Miller Marklets! Join my fan page! Come back and visit my page here daily. Donations are also greatly appreciated! Click here to to help support and encourage future script development. Thank you!
*** Want more mafia? Click here to view and add Miller Marklet friends! - Thank You!
Bookmarklets are easy to use! They are treated just like website bookmarks (or "favorites") but when you click on them, instead
of going to a new webpage, little programs (scripts) written in a web language called Javascript are run instead.
These scripts automate or do things to the webpage you are currently viewing to make it easier to work with.
To "install" a bookmarklet, just drag the bookmarklet link to your bookmarks toolbar in your browser window.
This toolbar is usually located just below the address bar. If you are using Google Chrome, it is hidden by
default and you can turn it on and off by pressing
Ctrl-B on your keyboard. Note that most bookmarklets
use code that is not supported by Internet Explorer. It is recommended that you use either
Google Chrome or
Firefox.
NOTE that most bookmarklets only work if the webpage or site you are viewing is in
English. This is because most
scripts search the page you are viewing for certain (English) keywords.
Yes, I know my site is plain, boring, ugly, etc. I'm a programmer, not a page designer. :) A page re-design is coming, just takes "free time" (whatever that is)...
- JGrabAllGifts -- JGrabAllGifts (or JGAG for short) is the primary script I offer here on my site. I'm testing a few others but they're not ready for release yet. This script, when run from your Facebook 'requests' page (where you receive friend requets, gift requests, group invites, etc), will accept all gifts (from all apps, not just Mafia Wars), ignore page and group invites, etc.
How-to video on Facebook where I explain the script options: JGrabAllGifts Video #1
Shorter YouTube video that demonstrates JGrabAllGifts and it's ability to remove friend requests if you have too many:
- JGrabAllGifts video #2 <<Please comment and thumbs up!
The Mafia Video Guy also made a video on how to use JGrabAllGifts. It is based on an older version but still relevant.
I sometimes have a few scripts in beta (testing) on my beta page...
Don't see an ad above? PLEASE add my site to your white-list (exclusions) in your flash / ad-blockers. Thanks!
JGrabAllGifts is a new bookmarklet that will accept all Mafia Wars (and other apps) gifts for you from Facebook's
"requests" page. USE AT YOUR OWN RISK. I will not be held accountable for lost gifts, keys, socks or
mother-in-laws due to the use of this bookmarklet. The bookmarklet WORKS if you fully read the information on this
page and use the script correctly. Please set the "max gifts at a time" to ONE the first time you run the
script to make sure it works for you. This script will pop-up an external worker window or tab (depending on your
browser settings). If this pop-up window doesn't load, you won't get your gift! If you use Firefox,
make sure your pop-up blocker is either turned off or exclude www.facebook.com in the pop-up blocker options. Also,
if you have a slow internet connection (or if Facebook/Zynga is running slowly), you need to set the "seconds
between" a little higher so that the worker windows have a chance to get to the accept page before they reload
and start trying to accept the next gift. You should never set this time below 5 seconds or the pop-up windows
won't have enough time to load completely before being reused and you probably won't get your gifts. If you want,
you can open and watch the worker windows while the script is running to see if they're fully loading the gift
accept page. No, you don't have to click "accept" in them or anything. When your browser loads the accept page,
that is enough to give you the gift.
Don't click this link here on my page. That's not how it works. DRAG it up to your bookmarks bar, THEN click it when you are on your requests page. Watch the video link above for more info.
JGrabAllGifts
-- **** IF YOU SKIPPED THE PARAGRAPH ABOVE, READ IT BEFORE USING THIS BOOKMARKLET! ****
NOTICE: 2011-04-27 - Facebook is changing people over to a new format for the gifts / requests page. I
released a beta version of the script 4/22 that fixed this and have now moved that fixed code over to the main
JGrabAllGifts bookmarklet above. If you STILL HAVE THE OLD STYLE GIFTS PAGE, please send me a note in Facebook
about this. I'm pretty sure Facebook has now moved everyone over to the new style but if you need it, the old
bookmarklet that will work with the old style is in the "old versions" section below.
The link above is the main JGaG bookmarklet. If you use this marklet
link, you will be automatically updated to the newest version every time I feel it is stable enough
to release. You can see version history and get old versions below.
This script will open up to 5 external windows to accept gifts. After making sure the script works for you
and your browser set-up, you can (and should) set the "max gifts to accept" option to a number much higher
than 5 - the script will just reuse these 5 pop-up windows as it runs. When the script finishes, you will
see a link show up that will close all of the pop-ups for you. If you use Google Chrome, you can let it
"block" the pop-up windows because Chrome actually loads the webpages that it blocks, it just doesn't
show them to you.
NOTE for Chrome users: To be able to see the pop-up windows in Chrome, you must
click the little icon that will show up at the far right end of your address bar, right next to the star.
NOTICE! -- Again, if you use Firefox, be sure to only accept ONE gift as a trial first to make
sure the pop-up window opens up correctly. You must have your pop-up blocker disabled in Firefox (or
allow www.facebook.com) for this script to work.
Google Chrome
handles the pop-ups MUCH BETTER. If these gift pop-up windows don't load, you don't get your gifts so
test with ONE gift at a time first to make sure it works! After you verify that a pop-up window or tab
came up and you got your gift, feel free to change the "max gifts at a time" to something higher (25,50,100,etc).
Another note: If your gifts have been sitting on your Facebook requests page for more than a couple days
or so, they may have expired. They don't last forever and Facebook only shows you your newest 100 gifts
/ invite requests / etc when you go to your requests page. If your Facebook requests page says you have 100
gifts pending, you accept a bunch and reload the page and it still says you have 100 pending, that means
you have a lot of old gift requests that haven't been accepted and some may have expired. You may not get
all of your gifts if you have a lot of requests. This happens whether you are using my script or not.
JGAG120 - v1.20 (2011-04-24) - Facebook started changing everyone's requests page to a new format again on 3/19/2011 but they changed people in stages. They didn't update MY account until the middle of April so I couldn't get a fix for this very quickly. Got access to an account with an updated page and released a beta version of the script 4/10/2011. I believe Facebook has moved everyone over to the new script now (4/27/2011) and so I moved the "beta" code to the main script.
OLD versions: Just in case I happen to mess something up in a new version of the JGaG script and it stops working for you, you can try older versions.
(Note that the links to pre-Facebook requests page rewrite have been removed as they no longer work.)
JGrabAllGifts - v1.20 (2011-04-24) - Facebook started changing everyone's requests page to a new format again on 3/19/2011 but they changed people in stages. They didn't update MY account until the middle of April so I couldn't get a fix for this very quickly. Got access to an account with an updated page and released a beta version of the script 4/10/2011. I believe Facebook has moved everyone over to the new script now (4/27/2011) and so I moved the "beta" code to the main script.
JGAG118 - v1.18 (2010-02-16) Minor change to page identification code (v1.18 is the last version that works with what is now the "old style" of gift requests page so older scripts have been removed.)
JGAG116 - v1.16 (2010-09-22) Facebook did a fairly major rewrite of their requests page. Lots of coding changes needed but most of the script is working again now! Still to be fixed: adding friends to friend lists. Some people have reported that ignoring (not accepting) certain gifts based on the gift name isn't working. I will have to look into this.
JGAG113 - v1.13 (2010-04-22) Minor cosmetic fixes
JGAG112 - v1.12 (2010-03-01) Modified script's "Add to List" feature to work in both English (US) and English (UK)
JGAG111 - v1.11 (2010-02-24) Made option to accept events, added 'Get' to list of Accept buttons
JGAG110 - v1.10 (2010-02-05) Enhanced "gift name" grabbing to catch more actual gift names instead of just "Accepting 'gift'...". Sped up Add to List option of accepting friends. Added more "accept" button logic to work with more games.
JGAG109 - v1.09 (2010-01-23) Changed ad area loading to speed up script and make it smaller. Added confirmation to the "ignore friend requests" option.
JGAG108 - v1.08 (2010-01-20) Added friend request confirmation option. Migrated JConfirmAll functionality into this script with a few tweaks. You can add to multiple friend lists (using regex). The friend list that you want to add to needs to exist before you load the page. If you want to make a new one, confirm one friend manually, creating the new list at the same time and then reload the page so that the new friend list name will be in all of the "Add to List" drop down menus on the page. To add new friends that you confirm to multiple lists, separate them with the bar | character. This is the vertical line character that you get when you hold down shift and press the backslash key on your keyboard. (The slash near the backspace key on your keyboard, not the forward slash that is on the same key as the question mark.) So, to add all friends to both the "Mafia Wars" and "2010-01" list, you would type: Mafia Wars|2010-01 in the "Add to list:" box in the options area of my script. Just give it a try - it's easy. Feel free to message me if you have any questions.
JGAG107 - v1.07 (2009-12-31) Rewrote code that moves the script from gift to gift. Eliminated wait time for skipped/unrecognized gifts/gift button names.
JGAG106 - v1.06 (2009-12-20) Many "fixes" to make script more compatible with lesser-used browsers (Opera, Flock, Safari, etc).
Modifications to work better with more apps, capture more gift names.
Fixed problem where script wouldn't start if the application list started with a blank line.
JGAG105 - v1.05 (2009-12-01) (v1.04 was private test release). Added option to change maximum number of pop-up windows used. If you don't know what that implies, leave this option alone. Also added a link that can be clicked after script finishes to close all pop-up windows.
JGAG103 - v1.03 (2009-11-28) Removed BETA tag. Added profile links that open in a new window so you can see who gifted you and return the favor afterwards if you want to.
JGAG098 - v0.98 (2009-11-24) Fixed a few other little things, added "support my friends" ad area to support my supporters.
JGAG097 - v0.97 (2009-11-23) Fixed 'ignore mafia invites' option, few other little cosmetic things.
JGAG096 - v0.96 (2009-11-21) Rewrote core gift accepting functions as Facebook changed their requests page code structure. Ignore mafia invites option disabled until I have time to fix that.
JGAG094 - v0.94 (2009-10-26) Added 'Stop' button. Fixed ignore mafia invites option because Zynga started randomizing the 'Accept' button text.
JGAG093 - v0.93 (2009-09-30) Added ignore mafia invites option. Added Gift URL link to each "Loading (in new window/tab)..." line for backup in case pop-up windows are blocked. Added better pop-up blockage testing. Fixed scan for apps so it doesn't add duplicate app_ids if found more than once on requests page. Added some color to the script so it's more obvious where the script runs for people who have never seen it before.
JGAG092 - v0.92 (2009-09-24) Option to ignore buttons containing certain text (save Inside Tips for later, etc). Cleaned up button names. Minor bugfixes.
JGAG091 - v0.91 (2009-09-24) Event ignoring now also an option. Minor bugfixes.
JGAG090 - v0.90 (2009-09-22) Options area added: page/group ignoring, option to switch worker windows back to old v0.81 style (they show up as tabs in Firefox).
JGAG082 - v0.82 (2009-09-18) Multi-apps are working now.
JGAG081 - v0.81 (2009-09-16) Had a furlough day off work and had been wanting a script to accept my gifts for me so I made JGrabAllGifts. First stable version released to Facebook friends.
Any questions? Contact me on Facebook -
Josh Miller
Facebook NOTE: You will be subscribed to my Facebook wall updates as soon as you send a friend request, whether I validate it or not so I am now only validating new friends with people I actually know or with people who send me some kind of note attached to their friend request. Thank you for your understanding. I just have way too many FB friends!
Also: For those people who want to help me by "pimping" me out to their mafia or sending out links to my Facebook profile... I appreciate the thought but I actually would prefer you NOT do that. Feel free to give people a link to this webpage or a link to my fan page, though! If people find my profile link by reading my webpage and want to message me or add me because they want updates on me or my scripts, that's cool but I don't really need more Facebook friends who only want another notch in their mafia count. Thank you!
--Want to help me out?--
Donations are GREATLY appreciated and will go towards paying for my web hosting bill (or to buy me a cup
of coffee if my programming brain is dragging). If you want to send a small donation my way, feel free to use the
buttons below whenever you are feeling generous! If you want to help me out in non-financial ways:
- Join my FAN PAGE!!!
- Tell all of your Facebook friends about Miller Marklets! They may not be using JGrabAllGifts yet. Poor souls.
- Bookmark and visit my webpage and sponsors daily or as often as you can.
However you choose to help, Thank you!
*NEW* - For those of you who don't like Paypal - Google checkout is available but they don't allow donations so this is only for purchasing either one or two months of ad-rotation in JGrabAllGifts and on http://joshmiller.com/JSponsors.html:
Thank you all for your support, however you give it!
Don't see an ad above? PLEASE add my site to your white-list (exclusions) in your flash / ad-blockers. Thanks!
Looking for a good webhost? JustHost is great (and reasonably priced).
Contact me for a coupon code!
Bookmarklets that help you while using Facebook Mafia Wars Farmville FarmTown Vampire Wars Castle Age Mobsters and other Facebook applications Mafia Wars Facebook
bookmarklets Josh Miller Cheats Hints How-To How To Help Bookmarklets Greasemonkey Grease Monkey Marklets Facebook Automation Facebook Automation Mafia Wars MafiaWars Mafia Wars Bookmarklets Mafia Wars Automation
Mafia Wars Auto Player Auto Player AutoPlayer MWAP FarmVille Farm Ville FarmTown Farm Town Mobsters Vampire Wars VampireWars Castle Age GrabAllGifts JGrabAllGifts
Grab All Gifts JGAG GAG Gift Grabber Free Gift Grabber Gift Accepter Accept All Gifts AddAll JAddAll Bookmarklets that help you while using Facebook Mafia Wars
Farmville FarmTown Vampire Wars Mafia Wars AutoPlayer Castle Age Mobsters and other Facebook applications Mafia Wars Facebook bookmarklets Josh Miller Bookmarklets Greasemonkey Grease Monkey Marklets
Facebook Automation Facebook Automation Mafia Wars MafiaWars Mafia Wars Automation Mafia Wars Auto Player Auto Player
AutoPlayer MWAP FarmVille Farm Ville FarmTown Farm Town Cheats Hints How-To How To Help
Mobsters Vampire Wars VampireWars Castle Age GrabAllGifts JGrabAllGifts Grab All Gifts JGAG GAG Gift Grabber Free Gift Grabber
Gift Accepter Accept All Gifts AddAll JAddAll Cheats Hints How-To How To Help
Bookmarklets that help you while using Facebook Mafia Wars Farmville FarmTown Vampire Wars Castle Age
Mobsters and other Facebook applications Mafia Wars Facebook bookmarklets Josh Miller Bookmarklets
Greasemonkey Grease Monkey Marklets Facebook Cheats Hints How-To How To Help Automation Mafia Wars AutoPlayer Facebook Automation Mafia Wars MafiaWars Mafia Wars Automation Mafia Wars Auto Player Auto Player AutoPlayer MWAP FarmVille Farm Ville
FarmTown Farm Town Mobsters Vampire Wars VampireWars Castle Age GrabAllGifts JGrabAllGifts Grab All Gifts JGAG GAG Gift Grabber Free Gift Grabber Gift Accepter Accept All Gifts AddAll JAddAll JAddAll2