nodebb-plugin-ezoic-infinite 1.4.27 → 1.4.29
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 +0 -10
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -464,9 +464,7 @@
|
|
|
464
464
|
if (!wrap) continue;
|
|
465
465
|
// Attendre que le wrapper soit dans le DOM puis appeler showAds
|
|
466
466
|
setTimeout(() => {
|
|
467
|
-
if (!false) {
|
|
468
467
|
callShowAdsWhenReady(id);
|
|
469
|
-
}
|
|
470
468
|
}, 1500);
|
|
471
469
|
} else {
|
|
472
470
|
usedSet.add(id);
|
|
@@ -488,11 +486,8 @@
|
|
|
488
486
|
continue;
|
|
489
487
|
}
|
|
490
488
|
if (!(pick.recycled && pick.recycled.wrap)) {
|
|
491
|
-
// Ne pas appeler showAds si cet ID a déjà été blacklisté
|
|
492
|
-
if (!false) {
|
|
493
489
|
callShowAdsWhenReady(id);
|
|
494
490
|
}
|
|
495
|
-
}
|
|
496
491
|
inserted += 1;
|
|
497
492
|
}
|
|
498
493
|
return inserted;
|
|
@@ -707,11 +702,6 @@
|
|
|
707
702
|
attempts++;
|
|
708
703
|
// Vérifier si Ezoic est chargé
|
|
709
704
|
if (window.ezstandalone && typeof window.ezstandalone.showAds === 'function') {
|
|
710
|
-
// Diagnostic : afficher les placeholders disponibles
|
|
711
|
-
try {
|
|
712
|
-
if (window.ezstandalone.placeholders) {
|
|
713
|
-
}
|
|
714
|
-
} catch (e) {}
|
|
715
705
|
// Ezoic est prêt → lancer l'insertion
|
|
716
706
|
scheduleRun();
|
|
717
707
|
setTimeout(scheduleRun, 300);
|