Closed schneefux closed 4 years ago
Thank you for raising your pull request. Please make sure you have followed @mazipan And please push ⭐ button in this repository
@all-contributors please add @schneefux for code and bug
@mazipan
I've put up a pull request to add @schneefux! :tada:
a65b8f37c498279e43f0a0681905996b9325bf56 broke non personalized ads.
(adsbygoogle = window.adsbygoogle || []).push({}).requestNonPersonalizedAds = 1;
is not valid, becausepush()
returns the length of the array (see MDN). This won't show any ads for NPA users or triggerTypeError: Cannot set property 'requestNonPersonalizedAds' of undefined
for some users.see also https://support.google.com/adsense/answer/9042142?hl=en