How to turn off annoying Firefox sounds in Ubuntu

Find out what sound is being played. In my case it was:

 

playing when trying to send form data again via POST:

You can either delete this file or rename it making it unavailable for Firefox, like this: