/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
3p/frame.max.html
21 строка
518 B
Shihua Zheng
frame.html: generate the script tag securely (#39533)
10 окт 2023, 20:01
Не верифицирован
10 окт 2023, 20:01
a73c889
Код
Авторство
О чём код?
<!doctype html> <head> <meta charset="utf-8"> <meta name="robots" content="noindex"> <script> var url = './integration.js'; try { url = JSON.parse(window.name).bootstrap; } catch (e) {} var script = document.createElement('script'); script.src = url; document.write(script.outerHTML); </script> </head> <body style="margin:0"> <div id="c" style="position:absolute;top:0;left:0;bottom:0;right:0;"> <script>draw3p()</script> </div> <script>if (window.docEndCallback) window.docEndCallback()</script> </body> </html>