Bug 306020 - Plugins should be able to execute a script on the page
Summary: Plugins should be able to execute a script on the page
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui-message-filters (show other bugs)
Version: git-latest
Platform: unspecified Linux
: NOR normal
Target Milestone: 0.6-next
Assignee: Daniele E. Domenichelli
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 06:41 UTC by Daniele E. Domenichelli
Modified: 2012-09-22 19:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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