Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

139
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda