External Links in Unity WebGL
There's a simple way to add an external link in Unity WebGL, that will work with simmer or any other site that embeds your game in a frame (itch.io, kongregate, gamejolt, etc).
See the example running live here: https://simmer.io/@TheRoccoB/external-link-example
Set up a normal handler for your button, and then attach the following code as your click handler:
public void OpenLink()
{
#if UNITY_WEBGL Application.ExternalEval("window.open('https://google.com','_blank')");
#endif
}
This calls external javascript that opens your link in a new window.
Note that you will get a deprecation warning.
If you are concerned about that, you can use the article below to call javascript from your code, although it is a little more complicated than using ExternalEval.
https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html