Here are some useful bookmarklets that simplifies some common tasks when playing Mafia Wars. If you have no clue what I'm talking about, read the FAQ below.
These bookmarklets do Mafia Wars actions on a user from their Facebook or Mafia Wars profile. They also work on "closed" Facebook profiles, i.e. "profile pages" of people you are not friends with – for example, if you see someone in the forum that you want to attack, rob, whatever; right-click on the person and open it up in a new tab, then, from that tab, click "Attack".
Instructions
Install the bookmarklets you want by dragging them to your bookmarks toolbar. (If you're using Internet Explorer, dragging doesn't seem to work. Instead, right-click on the link and then take "Add to favourites". You really should do yourself a favour and get Firefox or Google Chrome.)
| Use this to add a friend who also plays Mafia Wars. Visit their Facebook profile page and then click "Add to Mafia". The page should now say "Adding user with id nnn..." and then go right into Mafia Wars. Then the person should be added to your mafia, and Mafia Wars will say that the person has been added. | |
| Use this to switch between a person's Facebook profile and their Mafia Wars profile. It also works from an "add friend"-page, such as this. However, it does not work from your own Mafia Wars profile. | |
| Use this to add someone to your Top Mafia. | |
| Use this to hitlist someone. It's also useful to see if the person has already been killed, without spending a stamina point. | |
| Use this to attack someone. | |
| Use this to punch someone in the face. | |
| Use this to open up the page where you can rob this person's properties. | |
| Use this to send a Facebook message to someone | |
Use this to give a gift to someone! Brings up a menu from which to pick your gift. If you click on this from anywhere on Facebook but someone else's profile, it will use your ID – use this to generate gifting links for yourself! I'm not sure if this one works in all browsers, so if it doesn't work, try the old one here. An alternative tool to use when you for some reason can't use bookmarklets is the Mafia Wars Gift Linker. (Don't know what to give? Give some to Bobby!) |
|
| Compute the ratio of experience points needed to level up to available energy. To maximize energy usage, pick jobs that have a ratio not exceeding this one. | |
| Analyze your fights using the Combat Calculator! Run this after a fight and follow the instructions. Alternatively, go here and follow the instructions. Experimental! |
Donate
I'd like to move the tools to their own domain. I have a lot of ideas for this page that I would like to explore, but I'm really low on funds right now, so if you'd like to chip in, that would be greatly appreciated. Much love.
| Donate Euro: | Donate US Dollars: |
News
- 2009-03-26: New bookmarklet: "Jobcalc". Don't know if this is of any use to anyone except me.
- 2009-03-26: New and improved version of the Gift bookmarklet! Please try it out and tell me how it works for you. Also, renamed "FB/MW" to "Switch Profile".
- 2009-03-26: Fixed a bug in Google Chrome, that the little info messages wouldn't appear.
- 2009-03-26: Hmm, just realized I managed to screw up all bookmarklets except the Gift one yesterday...! :( So if you came here yesterday and thinks weren't working, try re-installing. You'll have better luck.
- 2009-03-25: New bookmarklet: "Gift", based on the good work of Giancarlo – see this thread. (updated@14.00GMT)
- 2009-03-24: Made "FB/MW" work also from "addfriend.php" pages, as per suggestion from Reg Sledge. Thanks!
- 2009-03-22: Uncle Charles suggested that the "Promote" button should work from a user's Mafia Wars profile. Good idea! I implemented that, and for the hell of it, made all bookmarklets work from either FB profile page or MW profile page (although it's of limited use since "Attack", "Hitlist" etc. are already available from the MW profile, but why not?). Thank you Charles, who also reported a problem with the FB/MW bookmarklet, which was screwed up yesterday (saturday March 21), so if you installed it and it doesn't work then you need to re-install it! Also added "Message", so you can send a FB message to someone from their MW profile. Much fun.
- 2009-03-21: Redesigned the page a little bit and created a group – please join!
- 2009-03-18: Added "FB/MW", the first bookmarklet that's able to sniff the user id from a Mafia Wars page. This bookmarklet replaces "View Mafia", but since this code is a bit tricky, I'm keeping the old one around if anyone's having problems.
- 2009-03-17: Added "Attack", "Punch" and "Rob" and made the bookmarklets work also on non-friends, i.e. on "search" pages. Thanks to user Giancarlo at the Mafia Wars forum for the idea!
- 2009-03-16: Added "Hitlist" and "Promote" bookmarklets.
- 2009-03-13: "Add to Mafia" button made more error-safe; you should upgrade. Added "View Mafia" button.
- 2009-03-12: First edition
FAQ
- What is this?
- It's a collection of useful bookmarklets for Mafia Wars.
- What is Mafia Wars?
- An addictive game for Facebook. Go here to play!
- Who made Mafia Wars?
- Some company called Zynga.
- Who made this bookmarklet?
- Bobby Heartrate. Contact by Facebook message – all feedback is appreciated! Please also join the group to stay updated.
- What browsers does this work on?
- I've tested it on Firefox 3, Internet Explorer 7 and Google Chrome and it has worked on all. On Google Chrome the info texts don't show for some reason.
- Isn't this cheating?
- No. Maybe. I don't know. Come on. This is Mafia Wars, a game about killing people, stealing things and wiretapping the police, suddenly you're Mother Teresa? Come on.
- But does Zynga allow it?
- This is what Mafia Wars' Terms of Service says: "If you cheat on any of our games, use any hacking scripting or editing programs in Mafia Wars, violate the Mafia Wars rules or break the law, we can freeze or terminate your account, or if appropriate, report you to the police." I don't know if this one line of JavaScript counts as "hacking scripting or editing programs". Anyway, I of course take ABSOLUTELY NO responsibility for what might happen if you use it.
- Can I use your code and modify it?
- Yes, as much as you like. KOPIMI.
- Is it true that you are, in fact, a giraffe?
- Yes.
- Are you affiliated with any clan?
- Since I am a giraffe of faith, I'm a member of The Church of The Flying Spaghetti Monster. But I think that all clans are cute. Special shout-outs to Legion for promoting this page.
- I love you, Bobby Heartrate. Do you sing as well?
- Why, of course: See my MySpace space
- How many times has this page been viewed?
- 12011 times.
Links
Here are some links to other useful stuff, which I'm not the author of.- Mafia-wars.org – great forum
- Combat Calculator – amazing tool that helps in analyzing your fighting skills
- Mafia Wars Fight Calculator – alternative to the above
- Auto-Accept Facebook Friend Requests &ndash a Greasemonkey script for, uh, auto-accepting Facebook friend requests
- ReloadEvery – a Firefox add-on that reloads a web page every so many seconds.
