Hi, brand new to Tampermonkey/Greasemonkey. Does anyone have (or can someone write) a quick script that just simply replaces a friend's name on Facebook?

I want "Friend Name" to become "Silly Nickname".

I guess really it could replace any string, but I think you get the point.


One thing that might make this script more convenient for use on FB is a MutationObserver to watch for and modify new newsfeed content as it automatically loads into the page (usually triggered by scrolling). Or perhaps it could be on a timer with setInterval() if the performance is acceptable.

Re: @jscher2000:
True. I thought I already did in this script but apparently it I only added the MutationObserver in another, similar one. I'll update tomorrow :)