mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: frame allow attributes
This commit is contained in:
@ -66,7 +66,8 @@
|
||||
office_frame.title = 'Office Frame';
|
||||
office_frame.setAttribute('allowfullscreen', 'true');
|
||||
|
||||
office_frame.setAttribute('sandbox', 'allow-scripts allow-same-origin allow-forms allow-popups allow-top-navigation allow-popups-to-escape-sandbox allow-downloads allow-modals autoplay camera microphone display-capture');
|
||||
office_frame.setAttribute('sandbox', 'allow-scripts allow-same-origin allow-forms allow-popups allow-top-navigation allow-popups-to-escape-sandbox allow-downloads allow-modals');
|
||||
office_frame.setAttribute('allow', 'autoplay camera microphone display-capture');
|
||||
frameholder.appendChild(office_frame);
|
||||
|
||||
document.getElementById('office_form').submit();
|
||||
|
||||
Reference in New Issue
Block a user