Merge branch 'dev'
This commit is contained in:
commit
29df97ccc8
|
|
@ -446,6 +446,15 @@ export function renderModuleLanding(opts: ModuleLandingOptions): string {
|
|||
width: 100%; height: 100%; border: none;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
/* Unregister any stale service workers on rspace.online to prevent
|
||||
them from intercepting cross-origin iframe requests */
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.getRegistrations().then(function(regs) {
|
||||
regs.forEach(function(r) { r.unregister(); });
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<script defer src="https://rdata.online/collect.js" data-website-id="6ee7917b-0ed7-44cb-a4c8-91037638526b"></script>
|
||||
</head>
|
||||
<body data-theme="${theme}">
|
||||
|
|
@ -460,7 +469,7 @@ export function renderModuleLanding(opts: ModuleLandingOptions): string {
|
|||
</div>
|
||||
</header>
|
||||
<div class="ml-frame-wrap">
|
||||
<iframe src="${embedUrl}" allow="clipboard-write; fullscreen"></iframe>
|
||||
<iframe src="${embedUrl}" allow="clipboard-write; fullscreen" sandbox="allow-scripts allow-same-origin allow-popups allow-forms allow-modals"></iframe>
|
||||
</div>
|
||||
<script type="module">
|
||||
import '/shell.js';
|
||||
|
|
|
|||
Loading…
Reference in New Issue