Question --- I have a couple of Photo Album pages on my web site that
when you click on a thumbnail, uses a javascript window.open call to
diplay a larger version of the photo in a pop-up window. Will this
Mozila preference setting disable these too? It really a nice way to
give browsers access to larger photos.
Steve
Charlie Zender wrote:
> Christopher Jahn wrote:
>
>> And it came to pass that Charlie Zender wrote:
>>
>>
>>> Hi,
>>>
>>> One of the reasons I'm using mozilla is for the flexibility.
>>> Lord knows it's not the stability that attracts me (so far).
>>> Anyway, I have heard that it's possible to tell mozilla not
>>> to allow the browser to open new windows unless specifically
>>> authorized. Is this true? I could not find out how to do this.
>>>
>>>
>>
>>
>> Put these lines in your Mozilla profile's prefs.js to disble
>> "pop-ups":
>> user_pref("capability.policy.default.windowinternal.open",
>> noAccess");
>> user_pref("capability.policy.popupsites.windowinternal.open",
>> "noAccess");
>
>
>
> I tried this but it did not work.
> First, I found my prefs.js in
>
> ~/.mozilla/zender/a4lk0swo.slt/prefs.js
>
> It contains a warning that it is a generated file.
> Sure enough, when I quit and restart mozilla, the changes
> I made manually are no longer there. What's the trick to
> making changes manually so they stick?
>
> Thanks,
> Charlie
>
> P.S. Why are my personal mozilla files in such a strange directory?
> On another machine where I have mozilla installed, the personal files
> are in
>
> ~/.mozilla/mozProfile
>
> which seems to make much more sense.
>