Page 1 of 1

How do I use a custom sound in FireFox portable?

Posted: Sun Feb 14, 2010 11:39 am
by archive23
Hi,

Since I'm using Firefox Portable, I'm forced to select my custom blocking sound every time I use it on another computer or every time I move the FF folder.
Now, in the options I see that the default sound has a location of

Code: Select all

chrome://noscript/skin/block.wav
But when I did a search of 'block.wav' (in my FF portable folder), it didn't give me any results (?).

So how do I get my own custom sound into the noscript chrome dir so I could make it really portable?

Thanks in advance :)

Re: How do I use a custom sound in FireFox portable?

Posted: Sun Feb 14, 2010 3:03 pm
by therube
Easiest way is through NoScript Options | Notifications -> Audio feedback => Choose.

So you might end up with something like: file:///E:/Program%20Files/Windows%20NT/Pinball/SOUND8.WAV
(Note the triple slashes on file:, the forward slashes elsewhere & the encoding of spaces, %20.)

Re: How do I use a custom sound in FireFox portable?

Posted: Sun Feb 14, 2010 4:24 pm
by archive23
therube wrote:Easiest way is through NoScript Options | Notifications -> Audio feedback => Choose.

So you might end up with something like: file:///E:/Program%20Files/Windows%20NT/Pinball/SOUND8.WAV
(Note the triple slashes on file:, the forward slashes elsewhere & the encoding of spaces, %20.)
Thanks, but that does not apply when I move my FireFox Portable folder to another location.
Is there a way to integrate my custom sound into the NoScript chrome like the default sound?

Re: How do I use a custom sound in FireFox portable?

Posted: Sun Feb 14, 2010 5:28 pm
by therube
Suppose you could unpack noscript.xpi \chrome\noscript.jar.
Within noscript.jar is \skin\classic\noscript\block.wav.

Replace block.wav with your .wav.
Repack & try it out.

(You would have to make that change for every future FlashGot update.)


Or put your .wav into a known location (your portable directory or whatever) & have the pref point to that.