Files
trezor-suite/packages/connect-iframe/src/static/iframe.html
Daniel Suchý 6253be3f9f chore: Prettier refactor, update, add CI check (#4950)
* chore: remove redundant prettier, gitignore files

* fix: Fix missign html opening tag

* chore: upgrade prettier

* chore(ci): Add prettier check to CI

* chore(eslint): turn off prettier-eslint

* chore: fix formatting of translations

* chore: run prettier over whole codebase
2022-02-17 18:15:59 +01:00

34 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>TrezorConnect | Trezor</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="author" content="Trezor info@trezor.io" />
<meta name="robots" content="index, follow" />
<meta name="title" content="TrezorConnect | Trezor" />
<meta http-equiv="Cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
</head>
<body>
<script type="text/javascript">
window.parent.postMessage(
{
event: 'UI_EVENT',
type: 'iframe-bootstrap',
},
'*',
);
const iframeScript = document.createElement('script');
iframeScript.setAttribute('type', 'text/javascript');
iframeScript.setAttribute('src', '<%= htmlWebpackPlugin.files.js[0] %>');
iframeScript.setAttribute('async', 'false');
document.body.appendChild(iframeScript);
</script>
</body>
</html>