Close tab from webGL build

Hey, is it possible to close the tab with the game from within the webGL build? I mean the same way I would close an apllication with Application.Quit. Thank you

Doubt you still need this, but here is the answer for future people looking.

Create a .jslib file and place it inside Assets → Plugins folder. In this file you can add your javascript like so.

mergeInto(LibraryManager.library, {
      closewindow: function (){
          window.close();
      }
}

Now call this from a Unity file like this.

using UnityEngine;
using System.Runtime.InteropServices;

public class QuitApp : MonoBehaviour
{
    [DllImport("__Internal")]
    private static extern void closewindow();

     public void QuitAndClose()
    {
        Application.Quit();
        closewindow();  
    }
}