How to send message from browser to Unity webGL

In web player ,I can use u.getUnity().SendMessage function to send message.But in WebGL was no u object. How can I do it?

You don’t need the unity object. You just call SendMessage on its own.