Hi,
I have the same problem. It DOES work in the editor, however when building the project for webGL and uploading it to itch.io, the game works fine but when trying to load a url it tries (and fails) to open it WITHIN the embedded game and not on a new page/tab.
Thanks