Support » Plugin: AMP » User-authored JavaScript found on page (Critical)

  • Resolved artbykarieann


    My google search console keeps saying I have amp errors i.e this
    <script data-cfasync=”false”>$SA={s:264279,tag_info:”1.0.
    1-autotag”,asynch:1,useBlacklistUrl:1};(function(){var sa=document.createElement(“script”);sa.type=”text/javascript”;sa.async=true;sa.src=(“https:”==document.location.protocol?”https://”+$SA.s+&#8221;.sa”:”http://”+$SA.s+&#8221;.a”)+””+$SA.s+”.js”;var t=document.getElementsByTagName(“script”)[0];t.parentNode.insertBefore(sa,t);})();</script></head> supposedly on line 36.
    However I cannot seem to find out how or why it’s there. It’s from this page but when I view source on the actual amp and standard page it isn’t there. I have never used siteapps for this script to be there, the only thing I can think of is it maybe from Cloudflare when I had rocket launcher on but Cloudflare has been removed for quite some time as it actually slowed my website down.
    I have wp super cache and autoptimize plugins but as the source code doesn’t show this script I don’t think that they are making it happen. I’ve tried Siteground my host but it’s beyond them. I’m not sure where to start, hoping someone can point me in the right direction.
    Many thanks in advance,

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘User-authored JavaScript found on page (Critical)’ is closed to new replies.