How do I use a custom sound in FireFox portable?

Ask for help about NoScript, no registration needed to post
archive23

How do I use a custom sound in FireFox portable?

Post 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 :)
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

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

Post 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.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9pre) Gecko/20100205 SeaMonkey/2.0.3pre
archive23

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

Post 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?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

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

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9pre) Gecko/20100205 SeaMonkey/2.0.3pre
Post Reply