MozillaZine

a button to switch/mute/desable the sound in a tab ?

Discussion of features in Seamonkey
Michael REMY
 
Posts: 307
Joined: December 19th, 2009, 2:27 am

Post Posted June 21st, 2015, 12:14 am

hi,

something there is sound and forced music.
Sounds that did not come from flash player, like in the is page :
http://animeanthologyproject.blogspot.fr (wait a little second and a music arrives...)

i tried to kill my flash player, but the tune remains alive #-o

it would be very very very good that seamonkey have a PERFECT button to switch OFF on demand every sound/music in a tab !
My exemple is gentle, but manytime it is advert, splash screen movie trailer, spyware page.....

the music might come from this javascript sample code :
Code: Select all
<script>(function (win, doc, script, source, objectName) { (win.RadionomyPlayerObject = win.RadionomyPlayerObject || []).push(objectName); win[objectName] = win[objectName] || function (k, v) { (win[objectName].parameters = win[objectName].parameters || { src: source, version: '1.1' })[k] = v; }; var js, rjs = doc.getElementsByTagName(script)[0]; js = doc.createElement(script); js.async = 1; js.src = source; rjs.parentNode.insertBefore(js, rjs); }(window, document, 'script', 'https://www.radionomy.com/js/radionomy.player.js', 'radplayer'));
radplayer('url', 'animeanthology-thesoundofthepast');
radplayer('type', 'medium');
radplayer('autoplay', '1');
radplayer('volume', '50');
radplayer('color1', '#000000');
radplayer('color2', '#ffffff');
</script>


so i need help, and seamonkey users too to shut of this kind of abused practice !!

Best regards & have a nice day !

TPR75
 
Posts: 670
Joined: July 25th, 2011, 8:11 am
Location: Poland

Post Posted June 21st, 2015, 3:26 am

Michael REMY wrote:it would be very very very good that seamonkey have a PERFECT button to switch OFF on demand every sound/music in a tab !


AFAIK some future version of Fx and later SM will mute all sounds from inactive tabs. Or maybe I just didn't understand something... :-"

therube

User avatar
 
Posts: 18704
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted June 21st, 2015, 6:01 am

NoScript has an option to block <AUDIO> / <VIDEO>, which would block it, but that's probably overkill.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted June 21st, 2015, 12:46 pm

therube wrote:NoScript has an option to block <AUDIO> / <VIDEO>, which would block it, but that's probably overkill.


No it wouldn't. This isn't HTML5 audio tag, it's a JS-based player. You can block the player with AdBlock Plus using this filter:
||radionomy.com^

The AdBlock toolbar button has an option to disable adblocking on a page which you can check and uncheck. You'll have to reload the page though.

As far as a simple button on a toolbar... probably the closest to that is YesScript but the current version doesn't work with SeaMonkey. And again, even if it did you would have to manually reload the page. I don't believe there is such a thing as an extension that can do that without a page reload.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted June 21st, 2015, 12:51 pm

And honestly, just with AdBlock Plus I very rarely encounter any websites with autoplaying content any more. Setting Flash to click-to-play has cured 90% of the problem for me. There's also a setting in about:config: media.autoplay.enabled but unfortunately this setting isn't enforced by the browser and many websites have opted to use JS instead of the autoplay attribute.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

therube

User avatar
 
Posts: 18704
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted June 22nd, 2015, 6:39 am

No it wouldn't. This isn't HTML5 audio tag, it's a JS-based player. You can block the player with AdBlock Plus using this filter:
||radionomy.com^

OK, but it still will block it.
Either by virtue of blocking JavaScript from radionomy.com or by blocking "AUDIO" (or even <IFRAME>, in this case).
I suppose that audio block sees this & says, hey, I can do something with that?
Code: Select all
      <div id="jp_container_1" class="jp-audio-stream" role="application" aria-label="media player">

(Though still feel it would be overkill.)

BTW, I was getting ogg vorbis not a Flash stream.
(Eating me alive [CPU] on my lowly XP machine.)


YesScript but the current version doesn't work with SeaMonkey.

YesScript extension
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Michael REMY
 
Posts: 307
Joined: December 19th, 2009, 2:27 am

Post Posted June 22nd, 2015, 7:16 am

so , i guess the easiest thing is to block the domain itself https://www.radionomy.com !

then, it would be good to have a domain filter by tab !
or (i already wished it month ago), have the possibilility to manage the block image list with media too (block image contexual menu feature)

Michael REMY
 
Posts: 307
Joined: December 19th, 2009, 2:27 am

Post Posted July 25th, 2015, 1:37 pm

so, it's coming ! yeahhh!! my wish as a feature ! what a present ! thank !
https://bugzilla.mozilla.org/show_bug.cgi?id=486262

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted July 26th, 2015, 3:06 pm

Not any time soon for SeaMonkey. SM uses a totally different system for tabs than Firefox, so this isn't something that SeaMonkey would just automatically inherit, it would have to be manually patched over.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

Return to SeaMonkey Features


Who is online

Users browsing this forum: No registered users and 2 guests