Bookmarklet

Usage
Bookmarklets are saved and used as normal bookmarks. As such, they are simple "one-click" tools which add functionality to the browser. For example, they can:


 * Modify the appearance of a web page within the browser (e.g., change font size, background color, etc.).
 * Extract data from a web page (e.g.,[[hyperlinks, images, text, etc.).
 * Query a Web search engine, with search term(s) provided by previously selected text, or by a dialog box.
 * Submit the current page to a link validation service, or translation service.
 * Set commonly chosen configuration options when the page itself provides no way to do this.

"Installation of a bookmarklet" is performed by creating a new bookmark, and pasting the code into the URL destination field. The bookmarklet can then be run by loading the bookmark normally.

Mafia Wars Bookmarklets
In Mafia Wars, bookmarklets allows users to:


 * Attack the same target multiple times
 * Repeat Gift giving
 * Analyze EXP/Energy Ratio
 * Switch between facebook user profiles to Mafia War Profiles (and vice-versa)
 * Analyze "my mafia" to promote the best user to the Top Mafia
 * And many more...

Controversy
Although Bookmarklets themselves are not considered cheating by most of the Mafia Wars community, Zynga has taken a stance of using such bookmarklets constitute cheating, and violates their Terms of Service. They have threated in the past to ban accounts of users who use bookmarklets.