http
HTTP/2 200 OK
Content-Type: text/html
Content-Security-Policy: sandbox allow-scripts allow-same-origin allow-popups-to-escape-sandbox
Access-Control-Allow-Origin: *
<!DOCTYPE html>
<html>
<script>
// Widget-Code mit begrenzten Permissions
window.addEventListener('message', (event) => {
if (event.data.action === 'openCheckout') {
window.open(event.data.checkoutUrl, '_blank'); // Popup ohne Sandbox
}
});
</script>
</html>