Re: Including user-specific data in prefcalls.js??
Daniel Reed<[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.prefs |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Yes, user specific locked preferences would be preferred.
Does anyone out there know of any Javascript that could be added directly to
the .JS files, especially prefs.js, user.js, that can define lockpref so
that is can be used within the file?
This may be a good user specific solution (I realize the .JS files are text
and easily readable, without add'l security).
This is essentially what the old Netscape Communicator did; the netscape.cfg
would actually have lockpref() defined within it.
There is some info on how to use lockpref in the Netscape 6, 7, ( Mozilla ?
) program default files (so affects all users the same).
I have not tested yet, but certainly need to try.
{NOTE: these URL links may become broken into separate lines by email /
newsgroup / messaging programs, in a reply. If so, may need to put the URL
links back together to use in Web browser.}
http://bugzilla.mozilla.org/show_bug.cgi?id=166946
http://groups.google.com/groups?num=100&hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&n
ewwindow=1&q=Mozilla+lockpref&btnG=Google+Search
http://groups.google.com/groups?q=Mozilla+lockpref&hl=en&lr=lang_en&ie=UTF-8
&oe=UTF-8&newwindow=1&selm=alt1j8%24afm2%40ripley.netscape.com&rnum=4
http://groups.google.com/groups?q=Mozilla+lockpref&hl=en&lr=lang_en&ie=UTF-8
&oe=UTF-8&newwindow=1&selm=altjjj%24cd51%40ripley.netscape.com&rnum=5
>>> Anders Gustafsson<[email protected]> 11/09/2002 12:39:05 PM >>>
Assuming a shared install of Mozilla, where all global prefs are in
prefcalls.js and locked with lockPref(). How would one go about
including user-specific data?
I tried including another file in prefcalls, but that did not work.
I can put the data into prefs.js, but I'd rather not overwrite that and
lose other user settings.
I can put it info user.js, but user.js will not accept lockPref() and
besides does Mozilla copy the info to prefs.js anyway.
- Anders Gustafsson, Engineer, CNE5, ASE
NSC Volunteer Sysop (http://support-forums.novell.com)
Pedago, The Aaland Islands (N60 E20)
Using VA 4.52 build 277 (32-bit) on Windows 2000 build 2195
>>> Anders Gustafsson<[email protected]> 11/09/2002 12:39:05 PM >>>
Assuming a shared install of Mozilla, where all global prefs are in
prefcalls.js and locked with lockPref(). How would one go about
including user-specific data?
I tried including another file in prefcalls, but that did not work.
I can put the data into prefs.js, but I'd rather not overwrite that and
lose other user settings.
I can put it info user.js, but user.js will not accept lockPref() and
besides does Mozilla copy the info to prefs.js anyway.
- Anders Gustafsson, Engineer, CNE5, ASE
NSC Volunteer Sysop (http://support-forums.novell.com)
Pedago, The Aaland Islands (N60 E20)
Using VA 4.52 build 277 (32-bit) on Windows 2000 build 2195