Content Security Policy blocks Google recaptcha
-
Hi,
I am started with Cookies and Content Security Policy for a few weeks,
and have an issue with loading of Google Recaptcha.
I’ve did the setting with the Quickstart.This occured in the active mode. In the admin mode the iframe showed up.
In active mode:
<div><div class=”grecaptcha-badge” data-style=”bottomright” style=”width: 256px; height: 60px; display: block; transition: right 0.3s ease 0s; position: fixed; bottom: 14px; right: -186px; box-shadow: gray 0px 0px 5px; border-radius: 2px; overflow: hidden;”><div class=”grecaptcha-logo”><iframe src=”https://www.google.com/recaptcha/api2/anchor?ar=1&k=6LeOidEUAAAAAP1dY6lwDTLj4JdQxM9mN_YdMRy4&co=aHR0cHM6Ly9hbml0YWZsZWVyYWNrZXJzLmJlOjQ0Mw..&hl=en&v=r8jtf1oixV0IGff4hgB4EzDF&size=invisible&cb=hui4030c5a5″ width=”256″ height=”60″ role=”presentation” name=”a-qggcn3idrtie” frameborder=”0″ scrolling=”no” sandbox=”allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox” class=”warning-cacsp-iframe”></iframe><div class=”warning-cacsp-iframe-content” style=”height: 60px; width: 256px; margin-top: -60px;”><div class=”warning-cacsp-iframe-content-text”>De inhoud kan niet worden geladen, omdat het niet is toegestaan op de site.</div><div class=”warning-cacsp-iframe-content-button”>Contacteer de beheerder</div></div></div><div class=”grecaptcha-error”></div><textarea id=”g-recaptcha-response-100000″ name=”g-recaptcha-response” class=”g-recaptcha-response” style=”width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;”></textarea></div><iframe style=”display: none;”></iframe></div>In admin mode
<div class=”rc-anchor-pt”>Privacy<span aria-hidden=”true” role=”presentation”> – </span>Terms</div>I am looking forward to solve this.
Thank you,
StafThe page I need help with: [log in to see the link]
- The topic ‘Content Security Policy blocks Google recaptcha’ is closed to new replies.