Title: Loaded Cookie Policy without Javascript support &#8211; AMP
Last modified: March 8, 2023

---

# Loaded Cookie Policy without Javascript support – AMP

 *  Resolved [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/)
 * (@ianfaulkner)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/)
 * Hi. I have been trying to resolve this all day; can’t find a solution online 
   either. I have the Complianz plug-in. I did try an AMP plug-in, but deleted it
   and can’t see any ‘residue’. In the Cookie Policy on my desktop I see the appropriate
   tick-boxes in section 7.1. In iOS and Android I see the text “You have loaded
   the Cookie Policy without JavaScript support. On AMP, you can use the manage 
   consent button on the bottom of the page.”
   I have checked that javascript support
   is enable.
 * Any ideas?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Floaded-cookie-policy-without-javascript-support-amp%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/)
 * (@ianfaulkner)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16540486)
 * And I solved it myself soon after posting (as is often the way)!
   It was because
   I had set Complianz to “Respect Do Not Track and Global Privacy Control”.
 * I was only seeing the tick-boxes in section 7.1 when logged in to WordPress. 
   When I logged out I got the same message as on the mobile devices, namely “You
   have loaded the Cookie Policy without JavaScript support.” However, when I tried
   in Chrome I got a different message in 7.1 – “We have received a privacy signal
   from your browser. For this reason we have set your privacy settings on this 
   website to strictly necessary. If you want to have full functionality, please
   consider excluding [https://kenyachildrencentres.com](https://kenyachildrencentres.com)
   from your privacy settings.”
   That gave the clue.
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16540628)
 * Hi [@ianfaulkner](https://wordpress.org/support/users/ianfaulkner/),
 * Glad to hear you’ve managed to resolve this so quickly, additional thanks for
   sharing the solution with the community as well.
 * If any further questions about Complianz arise, please feel free to reach out
   once more.
 * Kind regards, Jarno
 *  Thread Starter [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/)
 * (@ianfaulkner)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16543026)
 * Sadly, problem has recurred, on Safari, Chrome, MacOS, iOS and Android. All now
   show the “You have loaded the Cookie Policy without JavaScript support.” text
   irrespective of the “Respect Do Not Track and Global Privacy Control” setting
 * 
   Javascript console shows an error:
 * “Uncaught SyntaxError: Unextepted token ‘<‘, ‘<!DOCTYPE ‘ . . .is not valid JSON
   
   at JSON.parse (<anonymous>)at c.onload (complaint.min.js:1:36067″
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16543058)
 * Hi [@ianfaulkner](https://wordpress.org/support/users/ianfaulkner/),
 * Do you happen to have a plugin or security tool enabled that limits access to
   the WordPress REST API?
 * Because when I visit your Site URL with **/wp-json/** appended I am being redirected
   to the homepage, instead of receiving the response that I would expect to see.
 * Kind regards, Jarno
 *  Thread Starter [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/)
 * (@ianfaulkner)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16543138)
 * Hi Jarnovos. Thanks for the quick response. I use HideMyWP. Try it now.
 * The correct section 7.1 now appears, so incompatibility?
 * Ian
    -  This reply was modified 3 years, 3 months ago by [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/).
    -  This reply was modified 3 years, 3 months ago by [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/).
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16543144)
 * Hi [@ianfaulkner](https://wordpress.org/support/users/ianfaulkner/),
 * That’s it. The REST API now works correctly again, and the Manage Consent section
   on your Cookie Policy is also able to load correctly as a result.
 * Kind regards, Jarno
 *  Thread Starter [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/)
 * (@ianfaulkner)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16543148)
 * Does that mean I will have to ditch HideMyWP?
 * Ian
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16543159)
 * Hi [@ianfaulkner](https://wordpress.org/support/users/ianfaulkner/),
 * That shouldn’t be necessary, it’s probably related to one specific feature in
   that plugin.
 * I’ve taken a quick look at the feature set of that plugin and I would expect 
   it to be related to one of these features:
 * “Change REST API wp-json URL” **or** “Disable REST API access”
 * Kind regards, Jarno
 *  Thread Starter [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/)
 * (@ianfaulkner)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16543439)
 * Hi [@jarnovos](https://wordpress.org/support/users/jarnovos/) ,
 * Disabling the “**Disable REST API access**” switch in HideMyWP does the trick.
 * Thanks

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Loaded Cookie Policy without Javascript support – AMP’ is closed to new
replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [ianfaulkner](https://wordpress.org/support/users/ianfaulkner/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/loaded-cookie-policy-without-javascript-support-amp/#post-16543439)
 * Status: resolved