- Joined
- Dec 3, 2007
- Messages
- 74
- Reaction score
- 1
- Points
- 8
- Location
- Canada
- Your Mac's Specs
- MacBook 2.4 GHz Intel (unibody), 2 GB RAM; iPhone 3Gs
I'm trying to disable the background music that automatically loads when I open a page because it's embedded in the site. I can't seem to get any of the CSS stuff to work. This is what I've been using:
Any idea if there's another way to block these in Safari? This doesn't work. I'm assuming the custom CSS file works similar in Firefox and Safari but this is not working for me... If you could help me that'd rock. I hate website background music, it's one of the most annoying things... Thank you!
embed[src$=".mid"],
embed[src$=".wav"],
embed[src$=".mp3"]
{display: none ! important; }
and/orembed[src$=".wav"],
embed[src$=".mp3"]
{display: none ! important; }
embed[src*=".mp3"] { display: none !important; }
embed[src*=".wma"] { display: none !important; }
embed[src*=".wav"] { display: none !important; }
embed[src*=".mid"] { display: none !important; }
embed[src*=".mp4"] { display: none !important; }
embed[src*=".mp2"] { display: none !important; }
embed[name="plugin"]:first-child { display: inline !important; }
embed[src*=".wma"] { display: none !important; }
embed[src*=".wav"] { display: none !important; }
embed[src*=".mid"] { display: none !important; }
embed[src*=".mp4"] { display: none !important; }
embed[src*=".mp2"] { display: none !important; }
embed[name="plugin"]:first-child { display: inline !important; }
Any idea if there's another way to block these in Safari? This doesn't work. I'm assuming the custom CSS file works similar in Firefox and Safari but this is not working for me... If you could help me that'd rock. I hate website background music, it's one of the most annoying things... Thank you!