每次在 IM 中发送相同消息的书签代码

问题描述

我希望创建一个书签,因为它每次都可以发送相同的消息。 我使用 amazon chime 作为 IM

一个书签被点击时,它会自动输入一条消息(如下图 2 所示),然后它必须自动点击发送按钮

  document.getElementsByClassName("public-DraftStyleDefault-ltr")[0].getElementsByTagName('span')[0].innerHTML = '<span data-text=\"true\">hey! This is Greg. How may I help you today. Please be advised that this chat is confidential and you agree to terms of XXXX company</span>';

enter image description here

在我点击书签后,它必须发送消息

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)