更新时间:2023-12-05 23:07:34
我知道这是一个老问题,但是我最近遇到了同样的问题,并且相信我有解决方案.因此,对于将来的Google员工,我将在此处发布我的答案.
I know this is an old question, but I have recently gotten into the same problem, and believe I have a solution. So for future Googler's I will post my answer here.
我的解决方案是创建一个Chrome扩展程序,并了解Google Docs DOM是如何与其交互的结构.
My solution was to create a Chrome Extension and understand how the Google Docs DOM's are structures to interact with it.
您可以在我的代码中使用Google Doc DOM的此处
You can find my code to work with the Google Doc DOM's here