Open this page at https://pelikhan.github.io/arcade-browser/
This project is a showcase of the control.simmessages
functionality that allows
to send and receive custom messages to the hosting iFrame.
By default, MakeCode Arcade does not allow any unsafe action such as opening a web page. However, once we export it to GitHub we are able to modify the generated JavaScript to do more things, like open a new browser tab here.
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>