nodebb-plugin-ezoic-infinite 1.8.68 → 1.8.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/library.js +0 -2
- package/package.json +1 -1
package/library.js
CHANGED
|
@@ -139,7 +139,6 @@ const EZOIC_SCRIPTS = [
|
|
|
139
139
|
'<script data-cfasync="false" src="https://cmp.gatekeeperconsent.com/min.js"></script>',
|
|
140
140
|
'<script data-cfasync="false" src="https://the.gatekeeperconsent.com/cmp.min.js"></script>',
|
|
141
141
|
'<script>',
|
|
142
|
-
'window._ezaq = window._ezaq || {};',
|
|
143
142
|
'window.ezstandalone = window.ezstandalone || {};',
|
|
144
143
|
'ezstandalone.cmd = ezstandalone.cmd || [];',
|
|
145
144
|
'</script>',
|
|
@@ -173,7 +172,6 @@ plugin.injectEzoicHead = async (data) => {
|
|
|
173
172
|
// Minimal stub for excluded users — prevents ReferenceError if other
|
|
174
173
|
// scripts reference _ezaq or ezstandalone
|
|
175
174
|
const stub = '<script>'
|
|
176
|
-
+ 'window._ezaq=window._ezaq||{};'
|
|
177
175
|
+ 'window.ezstandalone=window.ezstandalone||{};'
|
|
178
176
|
+ 'window.ezstandalone.cmd=window.ezstandalone.cmd||[];'
|
|
179
177
|
+ '</script>';
|