Bug 306020

Summary: Plugins should be able to execute a script on the page
Product: [Unmaintained] telepathy Reporter: Daniele E. Domenichelli <ddomenichelli>
Component: text-ui-message-filtersAssignee: Daniele E. Domenichelli <ddomenichelli>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: NOR    
Version: git-latest   
Target Milestone: 0.6-next   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniele E. Domenichelli 2012-08-30 06:41:36 UTC
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
Comment 1 David Edmundson 2012-08-30 09:19:34 UTC
One could just append HTML like

"<span onComplete='runMyScript() />

Which would do it.
Comment 2 Daniele E. Domenichelli 2012-08-30 09:50:40 UTC
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
Comment 3 Daniele E. Domenichelli 2012-09-22 19:03:52 UTC
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