mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 06:52:35 -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() {
|
||||
if (this.consent === undefined) { return; }
|
||||
|
||||
window._ezAllowed = (tcdata, purpose) => {
|
||||
return !!this.consent;
|
||||
}
|
||||
|
||||
this.ezstandalone = window.ezstandalone || {};
|
||||
ezstandalone.cmd = ezstandalone.cmd || [];
|
||||
ezstandalone.cmd.push(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user