Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
Safari - disable web page background music?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ekologik" data-source="post: 850817" data-attributes="member: 42873"><p>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:</p><p></p><p style="margin-left: 20px">embed[src$=".mid"],</p> <p style="margin-left: 20px">embed[src$=".wav"],</p> <p style="margin-left: 20px">embed[src$=".mp3"]</p> <p style="margin-left: 20px">{display: none ! important; }</p> <p style="margin-left: 20px"></p><p>and/or</p><p></p><p style="margin-left: 20px">embed[src*=".mp3"] { display: none !important; }</p> <p style="margin-left: 20px">embed[src*=".wma"] { display: none !important; }</p> <p style="margin-left: 20px">embed[src*=".wav"] { display: none !important; }</p> <p style="margin-left: 20px">embed[src*=".mid"] { display: none !important; }</p> <p style="margin-left: 20px">embed[src*=".mp4"] { display: none !important; }</p> <p style="margin-left: 20px">embed[src*=".mp2"] { display: none !important; }</p> <p style="margin-left: 20px">embed[name="plugin"]:first-child { display: inline !important; }</p><p></p><p>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!</p></blockquote><p></p>
[QUOTE="ekologik, post: 850817, member: 42873"] 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: [INDENT]embed[src$=".mid"], embed[src$=".wav"], embed[src$=".mp3"] {display: none ! important; } [/INDENT] and/or [INDENT]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; }[/INDENT] 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! [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
Safari - disable web page background music?
Top