This script calculates and prints out a Mint user's spending costs by adding together the costs from a specified transaction line until it reaches a transaction line in the "Paycheck" category. It disregards transactions in the Transfer and Credit Card Payment categories.
Paste the raw source code into the URL input of a bookmark to use. Use at transactions page at Mint.com and activate the bookmark.