Change innerHTML on MessagingService.conversationDisconnected

Hi all,

We are trying to implement post conversation custom functionality by displaying some custom html inside "mxg-transcript" div.

Like this:

Genesys("subscribe", "MessagingService.conversationDisconnected", function({data}){
    document.getElementsByName("mxg-transcript")[0].innerHTML = '<div>custom things...</div>';
});

(Such things were possible with Genesys' WebChat Widget).

I understand that in case of new cloud Messanger it is not possible due to iframe of different origin and "same origin policy" of browsers.
Is it possible to deploy custom scripts together with Messanger deployment so browsers allow to modify Messaging frontend?
If not, is there any way to customize frontend without building everything from scratch?

Thank you,
Dominik

Indeed, we are explicitly trying to prevent script-injection in our iFrame: if you can elaborate on the actual use-case, we may consider alternatives.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.