mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
[ads] an extra way of communicating consent to ezoic
This commit is contained in:
parent
20efc46247
commit
027cb23ba5
@ -78,6 +78,10 @@ export default {
|
|||||||
enableAds() {
|
enableAds() {
|
||||||
if (this.consent === undefined) { return; }
|
if (this.consent === undefined) { return; }
|
||||||
|
|
||||||
|
window._ezAllowed = (tcdata, purpose) => {
|
||||||
|
return !!this.consent;
|
||||||
|
}
|
||||||
|
|
||||||
this.ezstandalone = window.ezstandalone || {};
|
this.ezstandalone = window.ezstandalone || {};
|
||||||
ezstandalone.cmd = ezstandalone.cmd || [];
|
ezstandalone.cmd = ezstandalone.cmd || [];
|
||||||
ezstandalone.cmd.push(() => {
|
ezstandalone.cmd.push(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user