MediaWiki:Common.js: различия между версиями

так?
м Без allow-same-origin?
Строка 167: Строка 167:
             iframe.style.maxWidth = '100%';
             iframe.style.maxWidth = '100%';
              
              
             iframe.setAttribute('sandbox', 'allow-scripts allow-same-origin allow-presentation allow-popups');
             iframe.setAttribute('sandbox', 'allow-scripts allow-presentation allow-popups');
             iframe.setAttribute('referrerpolicy', 'strict-origin-when-cross-origin');
             iframe.setAttribute('referrerpolicy', 'strict-origin-when-cross-origin');