-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working in my site #1
Comments
Thanks to report! |
I think the generated "ins"-node may not be found by the adsense library , because in my website it is created in the shadowDOM. |
Still not working after a few tests |
create a slot within your custom element. then pass your adsense in throught your new tag. derf |
Any update on this? |
Yes, I figured it out last night but have not got back to it yet. I bet there is a js property you can set to communicate outside of the DOM wall, but I'll get there later. For now, use the slot, because that is the standard now.
*This works because first slot is undefined and loads any content passed into the new tag. |
I always get this error:
Uncaught Error: adsbygoogle.push(): All ins elements in the DOM with class=adsbygoogle already have ads in them.
Is this element still compatible with the newest version of polymer?
The text was updated successfully, but these errors were encountered: