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

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

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

Post by Michael REMY »

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: 1353
Joined: July 25th, 2011, 8:11 am
Location: Poland

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

Post by TPR75 »

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... :-"
--
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

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

Post by therube »

NoScript has an option to block <AUDIO> / <VIDEO>, which would block it, but that's probably overkill.
Fire 750, bring back 250.
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
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

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

Post by patrickjdempsey »

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/
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

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

Post by patrickjdempsey »

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/
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

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

Post by therube »

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
Fire 750, bring back 250.
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: 323
Joined: December 19th, 2009, 2:27 am

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

Post by Michael REMY »

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: 323
Joined: December 19th, 2009, 2:27 am

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

Post by Michael REMY »

so, it's coming ! yeahhh!! my wish as a feature ! what a present ! thank !
https://bugzilla.mozilla.org/show_bug.cgi?id=486262
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

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

Post by patrickjdempsey »

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/
Post Reply