Comunque, l’abbiamo testato con api.OnPageChange e funziona bene. Non abbiamo ancora riscontrato un caso in cui il contenuto del DOM non fosse disponibile al momento della chiamata a OnPageChange, quindi sembra che venga attivato dopo DomContentLoaded. Tuttavia, non posso esserne sicuro al 100%. Grazie per il tuo aiuto.
ddsgad
(DDSGadget)
9
Argomenti correlati
| Argomento | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
| [newbie] Trouble adding script to dynamically change CSS values based on conditions | 10 | 1689 | Giugno 8, 2024 | |
| Trigger javascript on clicking any page link, but before the page content loads? | 10 | 1278 | Novembre 4, 2024 | |
| Executing js after DOM loaded | 7 | 3633 | Dicembre 30, 2018 | |
| My plugin codes runs just once!(My own script shouldn't be cached) | 17 | 2321 | Novembre 21, 2016 | |
| beforePageChange plugin API? | 1 | 607 | Dicembre 15, 2021 |