nodebb-plugin-ezoic-infinite 1.7.68 → 1.7.69
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 +3 -1
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -96,7 +96,9 @@
|
|
|
96
96
|
const isMobile = () => { try { return window.innerWidth < 768; } catch (_) { return false; } };
|
|
97
97
|
const _BOOL_TRUE = new Set([true, 'true', 1, '1', 'on']);
|
|
98
98
|
const normBool = v => _BOOL_TRUE.has(v);
|
|
99
|
-
|
|
99
|
+
// isFilled : exclut l'img reportline Ezoic (ezoicbwa.png) — faux positif
|
|
100
|
+
const isFilled = n => !!(n?.querySelector('iframe, ins, video, [data-google-container-id]'))
|
|
101
|
+
|| !!(n?.querySelector('img:not([src*="ezoicbwa"]):not([src*="ezodn.com"])'));
|
|
100
102
|
|
|
101
103
|
function mutate(fn) {
|
|
102
104
|
S.mutGuard++;
|