Here’s how for the major browsers:
At the top of the Firefox window, click on the Firefox button and then click Options. Select the Applications panel. Search for the Content-type: mailto and select it. Click on the Actions column in the mailto row, select Gmail and press “Okay” to finish.
Go to the Chrome Webstore and search for Gmail. Select the extension “Send from Gmail” and then “Add to Chrome.”