nodebb-plugin-ezoic-infinite 1.4.85 → 1.4.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/client.js +10 -0
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -721,6 +721,12 @@
|
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
async function runCore() {
|
|
724
|
+
// CRITIQUE: Ne rien insérer si navigation en cours
|
|
725
|
+
if (EZOIC_BLOCKED) {
|
|
726
|
+
console.log('[NODEBB-EZOIC] runCore bloqué - navigation en cours');
|
|
727
|
+
return;
|
|
728
|
+
}
|
|
729
|
+
|
|
724
730
|
if (!state.canShowAds) {
|
|
725
731
|
return;
|
|
726
732
|
}
|
|
@@ -816,6 +822,10 @@
|
|
|
816
822
|
ensureObserver();
|
|
817
823
|
|
|
818
824
|
state.canShowAds = true;
|
|
825
|
+
|
|
826
|
+
// CRITIQUE: Relancer insertion maintenant que navigation est terminée
|
|
827
|
+
console.log('[NODEBB-EZOIC] Relancer insertion pubs');
|
|
828
|
+
scheduleRun();
|
|
819
829
|
});
|
|
820
830
|
|
|
821
831
|
$(window).on('action:category.loaded.ezoicInfinite', () => {
|