I think this is a bug. Try putting these lines in all.js (and use "pref"
instead of "user_pref". all.js is in the Mozilla application directory
under defaults/pref.
-Mitch
Andreas Premstaller wrote:
> Found this problem on a german discussion forum:
>
> I try to block popup windows and warnings from this specific site
> "http://www.burschenschaft-michelsberg.de"
> by using these lines in my "prefs.js" according to
> "http://www.mozilla.org/projects/security/components/configPolicy.html".
>
> ...
> user_pref("capability.policy.strict.Window.alert", "noAccess");
> user_pref("capability.policy.strict.Window.confirm", "noAccess");
> user_pref("capability.policy.strict.Window.open", "noAccess");
> user_pref("capability.policy.strict.Window.prompt", "noAccess");
> user_pref("capability.policy.strict.sites",
> "http://www.burschenschaft-michelsberg.de/");
> ...
>
> Yet both alert and popup-window come up. Am I doing something wrong, is
> this a bug or is the site using some "smart" workaround around the
> blocking?
>
> Thanks,
> Andreas
>
>