Change the warning sound

Ask for help about NoScript, no registration needed to post
RLM
Posts: 3
Joined: Mon Nov 14, 2016 10:44 pm

Change the warning sound

Post by RLM » Mon Nov 14, 2016 10:48 pm

How do you change the obnoxious warning sound when NoScript is blocking a site.

Options shows chrome://noscript/skin/block.wav as the sound source.

How do I get another warning tone.

Thanks
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:49.0) Gecko/20100101 Firefox/49.0

User avatar
Thrawn
Senior Member
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Change the warning sound

Post by Thrawn » Mon Nov 14, 2016 11:42 pm

There is a file picker right next to the filename...

Although personally I just disable the audio notification.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

3453245
Posts: 6
Joined: Sat Dec 30, 2017 1:17 pm

Re: Change the warning sound

Post by 3453245 » Sat Dec 30, 2017 1:36 pm

The Choose button doesn't work for me, now. (I just installed a fresh Firefox 56.0.2 64-bit and NoScript v5.1.7 on Windows 7) I could just click that button and select a custom file before - over the many years, so what could it be, now?
I looked around for the default audio file (block.wav), thinking it's somewhere local and that I could just swap it out as a workaround, but as far as I can see it is embeded in the xpi file. Not going to try any modifications there, it's not that important. I assume Firefox might crap out with some security warning too anyway.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

barbaz
Senior Member
Posts: 8908
Joined: Sat Aug 03, 2013 5:45 pm

Re: Change the warning sound

Post by barbaz » Sat Dec 30, 2017 5:11 pm

3453245 wrote:The Choose button doesn't work for me, now.
I can confirm this in NoScript 5.1.8.3rc1. No related messages in the Browser Console (Ctrl-Shift-J).

Workaround: modify about:config > noscript.sound.block, manually set it to a file: URL pointing to the sound you want.
*Always* check the changelogs BEFORE updating that important software!
-

3453245
Posts: 6
Joined: Sat Dec 30, 2017 1:17 pm

Re: Change the warning sound

Post by 3453245 » Sun Dec 31, 2017 1:35 am

barbaz wrote:
3453245 wrote:The Choose button doesn't work for me, now.
I can confirm this in NoScript 5.1.8.3rc1. No related messages in the Browser Console (Ctrl-Shift-J).

Workaround: modify about:config > noscript.sound.block, manually set it to a file: URL pointing to the sound you want.
1.) Confirmed bug? Assume will be fixed in future version?
2.) Changed it via browser config (file:///F:/FF/WAV/SFX (fart).wav)
3.) HAPPY NEW YEAR EVERYBODY!!

PS: I was horrified to discover that after I upgraded to Firefox Quantum the look of NoScript changed. I can not stand the look and feel of how it looks/works under Quantum. Why did you do that? (Obviously as per my first post, I downgraded!) Instead of having the NS website "info" at a glance -by simply holding mouse cursor over NS icon- you now go to a separate page that is huge and ugly and weird and stupid as if some iPad settings page. No way! There is no way anyone who used NS for years would like the Quantum look/feel.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

barbaz
Senior Member
Posts: 8908
Joined: Sat Aug 03, 2013 5:45 pm

Re: Change the warning sound

Post by barbaz » Sun Dec 31, 2017 3:22 am

3453245 wrote:1.) Confirmed bug? Assume will be fixed in future version?
Yeah, I would hope so.
3453245 wrote:3.) HAPPY NEW YEAR EVERYBODY!!
Happy New Year, 3453245! :D
3453245 wrote:PS: I was horrified to discover that after I upgraded to Firefox Quantum the look of NoScript changed. I can not stand the look and feel of how it looks/works under Quantum. Why did you do that?
off-topic: Because unfortunately the old UI is not technically possible in WebExtensions.

https://hackademix.net/2017/12/04/noscr ... utshell-2/
*Always* check the changelogs BEFORE updating that important software!
-

3453245
Posts: 6
Joined: Sat Dec 30, 2017 1:17 pm

Re: Change the warning sound

Post by 3453245 » Thu Mar 14, 2019 12:17 pm

i am now back to rage. i now installed a separate firefox quantum install (yes, until now, since last time i used old firefox and old NS. and i am only back to test some things and i am and will be happy wo keep using the old stuff.) and am horrified to see there are almost no options of any kind for NS, and no sound anymore. excuse me? go on, tell me it's not possible with WebExtensions. but maybe i'm just dumb. confirm; is there no sound support anymore in NS? i want to have a custom sound play each time NS blocks something.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

barbaz
Senior Member
Posts: 8908
Joined: Sat Aug 03, 2013 5:45 pm

Re: Change the warning sound

Post by barbaz » Thu Mar 14, 2019 2:40 pm

I think it likely is possible to bring back the sound feature in NoScript 10, even user-customizable. I would suggest you file an issue on GitHub - https://github.com/hackademix/noscript/issues
*Always* check the changelogs BEFORE updating that important software!
-

Post Reply