[Suggestion] Auto-Mute Supported Ads

Various discussions related to Adblock Plus development

[Suggestion] Auto-Mute Supported Ads

Postby Warhaven » Sat Jan 16, 2016 11:36 pm

I'd like to continue my support for favorite twitch streamers by keeping the ads enabled, but listening to the same ad over and over and over and over gets on my nerves. Was wondering if it were at all possible to add an option to auto-mute ads as opposed to outright blocking them?
Warhaven
 
Posts: 1
Joined: Sat Jan 16, 2016 11:33 pm

Re: [Suggestion] Auto-Mute Supported Ads

Postby lewisje » Tue Feb 09, 2016 9:19 pm

For HTML5 ads, set the "muted" attribute of the audio or video element to true: https://www.w3.org/TR/html5/embedded-co ... edia-muted

For Flash ads, you'll need to figure out whether they can be muted via any sort of JS API.

In either case, it's beyond the scope of ABP and would be better implemented as a UserScript.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
lewisje
 
Posts: 2728
Joined: Mon Jun 14, 2010 12:07 pm

Re: [Suggestion] Auto-Mute Supported Ads

Postby KernelDeimos » Fri Jul 29, 2016 7:12 pm

How is this beyond the scope of ABP? It would only require modifying elements on the page. I assume ABP already parses HTML to determine which elements are ads.

For flash ads, adding the attribute volume="0" should mute them.
KernelDeimos
 
Posts: 3
Joined: Fri Jul 29, 2016 7:02 pm

Re: [Suggestion] Auto-Mute Supported Ads

Postby greiner » Fri Jul 29, 2016 7:19 pm

KernelDeimos wrote: I assume ABP already parses HTML to determine which elements are ads.


No, we don't touch the HTML. Adblock Plus blocks requests by interacting with the browser directly and it hides elements by applying CSS styles to the page.
User avatar
greiner
ABP Developer
 
Posts: 636
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

Re: [Suggestion] Auto-Mute Supported Ads

Postby KernelDeimos » Fri Jul 29, 2016 7:26 pm

Oh, neat! I guess checking every HTML element would be way too slow in retrospect.
KernelDeimos
 
Posts: 3
Joined: Fri Jul 29, 2016 7:02 pm

Re: [Suggestion] Auto-Mute Supported Ads

Postby lewisje » Fri Jul 29, 2016 7:28 pm

KernelDeimos wrote:Oh, neat! I guess checking every HTML element would be way too slow in retrospect.
Exactly: viewtopic.php?t=5977
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
lewisje
 
Posts: 2728
Joined: Mon Jun 14, 2010 12:07 pm

Re: [Suggestion] Auto-Mute Supported Ads

Postby aFreakOfNature » Fri Oct 27, 2017 7:18 pm

What about just muting the computer (like at the operating system level or whatever)?

Like, can ABP press my mute button on my keyboard for me and unmute when ad is over?

I'd really love this!
aFreakOfNature
 
Posts: 3
Joined: Fri Oct 27, 2017 7:04 pm

Re: [Suggestion] Auto-Mute Supported Ads

Postby mapx » Fri Oct 27, 2017 8:47 pm

No, an extension cannot do what you want. Wait for the chrome implementation.
User avatar
mapx
 
Posts: 20933
Joined: Thu Jan 06, 2011 3:01 pm


Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 3 guests