mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 06:23:35 -04:00
[ads] adsense causing trouble
This commit is contained in:
parent
11e23f5159
commit
aa454b2564
@ -50,6 +50,7 @@ export default {
|
||||
async mounted() {
|
||||
if (!this.enabled || !process.client) { return; }
|
||||
await this.$loadScript('ezstandalone', `https://www.ezojs.com/ezoic/sa.min.js`);
|
||||
await this.$loadScript('adsense', `https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8518361481036191`);
|
||||
this.enableAds();
|
||||
},
|
||||
computed: {
|
||||
@ -105,10 +106,6 @@ export default {
|
||||
ezstandalone.enable();
|
||||
ezstandalone.display();
|
||||
});
|
||||
|
||||
if (this.consent) {
|
||||
this.$loadScript('adsense', `https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8518361481036191`);
|
||||
}
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user