mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 07:22:21 +00:00
13 lines
386 B
HTML
13 lines
386 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
window.addEventListener('message', event => {
|
|
if (event.data && event.data.action === 'reload') {
|
|
window.parent.postMessage({ action: 'acknowledge-asked-to-reload' });
|
|
location.reload();
|
|
}
|
|
});
|
|
|
|
window.addEventListener('load', () => {
|
|
window.parent.postMessage({ action: 'loaded' });
|
|
});
|
|
</script>
|