“You can’t include a custom JavaScript” “There is a disallowed attribute”
-
Hi, this is my first time using AMP and I don’t know much about it.
I was requesting a page to index and I got this two errors:– There is a disallowed attribute or attribute value in the HTML tag.
– You cannot include custom JavaScript.The page is https://virtualrealityheadset.online/new-meta-oculus-quest-3/
I was told in Google Support
“`For the CSS one, you are linking to https://virtualrealityheadset.online/wp-content/cache/minify/847ad.default.include.a9a0d2.css at the beginning of the head, AMP requires this CSS to be inline (so no href just the CSS in a <style> tag
You are including this script on line 5
<script src=”https://virtualrealityheadset.online/wp-content/cache/minify/847ad.default.include.ea857f.js”></script>
That’s the second warning`”
But I don’t know how to proceed, what should I change and how should I change it?
Thanks in advance,
Nicolle.The page I need help with: [log in to see the link]
The topic ‘“You can’t include a custom JavaScript” “There is a disallowed attribute”’ is closed to new replies.