MediaWiki:Common.js: различия между версиями
м return Метка: ручная отмена |
Нет описания правки |
||
| Строка 184: | Строка 184: | ||
iframe.style.maxWidth = '100%'; | iframe.style.maxWidth = '100%'; | ||
iframe.setAttribute('sandbox', 'allow-scripts allow-same-origin'); | iframe.setAttribute('sandbox', 'allow-scripts allow-same-origin allow-popups'); | ||
iframe.setAttribute('referrerpolicy', 'strict-origin-when-cross-origin'); | iframe.setAttribute('referrerpolicy', 'strict-origin-when-cross-origin'); | ||
iframe.setAttribute('loading', 'lazy'); | iframe.setAttribute('loading', 'lazy'); | ||