How to disable sound on websites using embedded audio or Flash

Sound playing on web sites can be annoying, and often there is no option to disable the sound on the site. There are a number of ways to disable/block sound produced from websites. Embedded audio is easier to block than Flash audio. Solutions differ for different operating systems, and different web browsers.

=Internet Explorer= Go to Internet Explorer options and uncheck the option "Play Sounds in webpages"

(but sounds from Flash objects will play anyway)

=Firefox=
 * Flashblock (flash audio only)
 * This is the best solution for blocking undesired Flash audio. It replaces all flash objects with a play button.  Only after the button is pressed will the Flash object start.
 * http://flashblock.mozdev.org/


 * Adblock (flash audio only)
 * Another solution in to install Adblock, a firefox extention
 * This option will enable you to block a flash obect is it offends your ears. Each flash object will have to be blocked individually and will be block from then on.
 * http://adblock.mozdev.org/

/* block embedded sounds */ object[data*=”.mid”],embed[src*=”.mid”] { display: none !important; } object[data*=”.mp2”],embed[src*=”.mp2”] { display: none !important; } object[data*=”.mp3”],embed[src*=”.mp3”] { display: none !important; } object[data*=”.mp4”],embed[src*=”.mp4”] { display: none !important; } object[data*=”.wav”],embed[src*=”.wav”] { display: none !important; } object[data*=”.wma”],embed[src*=”.wma”] { display: none !important; }
 * Disabling Embedded Audio (embedded audio only)
 * This will disable embedded audio for all websites
 * Editing the userContent.css file locate in your users directory
 * Linux: ~/.mozilla/firefox/xxxxxx.default/chrome/userContent.css
 * Windows: C:\Documents and Settings\yourUserName\Application Data\Mozilla\Firefox\Profiles\xxxxxx.default\chrome\userContent.css
 * Add the following

=Opera=
 * http://userjs.org/scripts/general/enhancements/hide-objects

=Linux or other type of Unix OS=


 * Hack libflashplayer library
 * This disables audio for all flash objects, on all websites
 * Shut down mozilla/firefox
 * find “libflashplayer.so” in your plugins dir.
 * Edit this with a HEX editor
 * Look for the string “/dev/dsp” and change it to “/xxx/xxx” - now it can’t open the sound device.
 * Save
 * Restart Browser

=Microsoft Windows=
 * Flashmute (any audio)
 * Download and project home page: http://indev.no/?p=projects#flashmute
 * More info: http://virtuelvis.com/archives/2005/04/flashmute
 * This method allows you to disable or enable web browser audio at will.
 * This is independent of browser type
 * Will block all browser audio, but not any other audio from your computer.

=References=
 * http://virtuelvis.com/archives/2005/04/disable-sound-firefox

From HowTo Wiki, a Wikia wiki.