Jonathan Wilson wrote:

> Is it because no-one has yet made a preferences dialog feature for it?
> Where in the code/xul/etc would I need to start in order to make such a 
> GUI.

I looked into it the other day (If you know any JavaScript, grab patch 
maker, it makes modifying mozilla's ui code simple), and while it's not 
that hard to do, I decided to hold off doing the code myself because 
when I did a little digging I found something interesting.  If you look 
in bugzilla someone is working on a Security panel under navigator in 
the prefs.  If you actually go into the xul and js files, you can turn 
it on.  It's just <!-- commented out --> at the moment because it 
doesn't do anything functional.

What it will eventually allow you to do is add sites to specific 
security zones.  In those zones you will most likely be able to disable 
any command... From popups to html input boxes (I think).

The back end is there, it just needs a LOT of front end JavaScript work. 
  Think of the pref panel as the security zones in IE, but a lot more 
powerful.

If you want to modify it the file is called pref-policies.xul and you 
can just uncomment out the <treeitem /> code in preftree.xul to see it.


Reply via email to