Greasy Fork is available in English.
Copy the chatGPT Q&A content as a markdown text, with MathJax Render Support, you can use this together with 'OpenAI-ChatGPT LaTeX Auto Render (with MathJax V2)' that adds support for math render, based on 'chatGPT Markdown' by 赵巍໖.
< Feedback on ChatGPT Copy as Markdown with MathJax Support
Thanks for your feedback!
This is because the case where mutation.addedNodes[0] is undefined was not handled. I've added an if condition in update 0.4.2 that checks whether mutation.addedNodes[0] exists, this should help.
The code snippet related to this problem is a mutation observer that handles 'headlessui-portal-root', which had worked properly but not elegantly due to this bug.
By the way, I'm seeking for a better way to insert the copy button instead of setting a timeout(which could be invalid in some case but not often), please let me know if you have got a better solution!
支持数学公式的ChatGPT Markdown一键复制.user.js:242
Uncaught TypeError: Cannot read properties of undefined (reading 'nodeName')
at 支持数学公式的ChatGPT Markdown一键复制.user.js:242:43
at Array.forEach ()
at MutationObserver. (支持数学公式的ChatGPT Markdown一键复制.user.js:239:19)
这个错误令我苦恼,如果有任何解决方法的话,请通知我,谢谢