Uncle Henry's Make Prices Bold

By JoeSimmons Last update Jul 31, 2009 — Installed 41 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0

There are 3 previous versions of this script.

// ==UserScript==
// @name           Uncle Henry's Make Prices Bold
// @namespace      http://userscripts.org/users/23652
// @description    Makes prices bold for easier buying
// @include        http://www.unclehenrys.com/CLASSIFIEDS/Search/Results.aspx?*
// @copyright      JoeSimmons
// @version        1.0.3
// @license        Creative Commons Attribution-Noncommercial 3.0 United States License
// ==/UserScript==

// Grab the text nodes
var texts = document.evaluate("//span[contains(.,'$')]",document,null,6,null),
	re = /\$[\d,\.]+/g;

for(var i=texts.snapshotLength-1,text; (text=texts.snapshotItem(i)); i--) if(re.test(text.textContent)) text.innerHTML = text.innerHTML.replace(re, function(e){return '<font style="font-weight:bold;font-size:120%;">'+e+'</font>';});