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