Board Thread:Script Suggestions/@comment-28857013-20141204151215/@comment-4018164-20141205103854

For avatars on the right rail it can be done with the "DOMNodeInserted" event of jQuery, which allows you to start udating avatars on a relevant section after content from the right rail has loaded: For the chatroom, however, it takes a little bit of extra code. To allow scripting in the chatroom, first of all, the ideal way is this one. After doing the stages listed there, create a chat version for your code, which should be done in 2 stages:
 * 1) When first entering chat, it should be applied on avatars messages, on the right rail and on the current user's avatar on the upper-right corner.
 * 2) When someone writes a message, or joins that chat room, apply on their avatar (DOMNodeInserted could also be used here, though it's sometimes a bit buggy with chat, but it's worth trying).