View Single Post
Old 05-01-2021, 01:10 AM   #35
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,429
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Geremia View Post
Calibre's scripts are injected after "bridge ready"?
yes, the sub frames are created only after bridge ready. The main frame gets the script injected first, that script runs and does bridge ready, after which sub frames are created. And only after they are created, is the script injected into them, so that happens well after bridge ready.

That said, there was one optimisation to be had post bridge ready, so it wont help you, but: https://github.com/kovidgoyal/calibr...3589db2a971296
kovidgoyal is offline   Reply With Quote