It should be possible to execute a javascript function on the webpage after a plugin has made some changes to the message in order to get the final result
One could just append HTML like "<span onComplete='runMyScript() /> Which would do it.
It's not working, but onmouseover is working (doing <span onmouseover=',,,'>stuff in here</span> So I suppose that onComplete does not exist (also [1] does not show it). [1]http://html.wikia.com/wiki/Span
Git commit 3d1ccd1d3d374ceb194a76d2928a1d8daa0f1a36 by Daniele E. Domenichelli. Committed on 22/09/2012 at 20:56. Pushed by ddomenichelli into branch 'filters'. Merge branch 'BUG-306020' Reviewed-by: Lasath Fernando <kde@lasath.org> REVIEW: 106301 http://commits.kde.org/telepathy-text-ui/3d1ccd1d3d374ceb194a76d2928a1d8daa0f1a36