Skip to content

Instantly share code, notes, and snippets.

@junosuarez
Created July 12, 2012 04:32
Show Gist options
  • Save junosuarez/3095747 to your computer and use it in GitHub Desktop.
Save junosuarez/3095747 to your computer and use it in GitHub Desktop.
Craigslist annualized rent hack (run in console)
[].slice.call(document.querySelectorAll('p.row')).forEach(
function(L) {
var y = '$'+ +/\$(\d+)/.exec(L.innerText)[1]*12+' - ',
yL = document.createElement('span');
yL.innerText = y;
L.insertBefore(yL, L.firstChild);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment