Custom JavaScript is not allowed
-
i don’t know why this error is showing. when i validate amp its showing Custom JavaScript is not allowed. below is code which loading as custom javascript.
Website Mode: Standard
<script>document.addEventListener( "DOMContentLoaded", function() { document.write = function( text ) { throw new Error( "[AMP-WP] Prevented document.write() call with: " + text ); }; } );</script>
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom JavaScript is not allowed’ is closed to new replies.