admin 管理员组文章数量: 1087134
i'm tring to write via a chrome extension text in the input vox of copilot.
I can read the original text "original text". However, when I try to change it, I don't get an error, but it doesn't refresh on the page. If I read it again, it still has the same old value.
I have try this in the console
'original text'
document.querySelector("#m365-chat-editor-target-element").innerText = "New text";
'New text'
document.querySelector("#m365-chat-editor-target-element").innerText
'original text'```
本文标签: google chrome extensionchange span content m365chateditortargetelement javascriptStack Overflow
版权声明:本文标题:google chrome extension - change span content m365-chat-editor-target-element javascript - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744029207a2521188.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论