Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

140
Views
Google Docs DOM rendering mode

I'm developing a Chrome extension (it isn't published yet) which will interact with Google Docs, it should find some words in text and highlight it without changing document styles.

As now Google switched from DOM rendering to canvas I've faced some problems with searching text position in document. Google API has some endpoints to get the structure of the document, but in doesn't contain information about text position, moreover this operation will be very long with huge documents if I call this API after every change in document to recalculate position.

I've found this question (Switching Google Docs from Canvas to DOM mode - programmatically?). I've filled in the form to get access to DOM rendering and I've got this access, after a week I've noticed "mode=html" param in URL and DOM tags in browser developer tools. BUT, I suppose I've got access to DOM rendering only on my Google account and not on my extension, also I've found that after Google whitelisted my extension they should send me some documentation according on comments in this question (Annotated canvas rendering in Google Docs).

So, my question is, how get access to DOM rendering to my extension, not the user, and how should I interact with DOM in code without "mode=html" param?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!