|
Page Updated: September 13, 2005
Latest Version: 0.1.375 |
|
Debug |
Install | File
I/O |
RDF |
Network |
Sound | Utils |
XUL | Zip
|
|
|
Home | Mailing List |
Install |
Source Code |
Downloads | Bugs
| docs
| clients |
JS Directory Utilities Class API
All of these functions return a string path
If you set "useObj = true;", a jsLib File or Dir object
will be returned.
Function List
- getPrefsDir();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt
- getChromeDir();
- Ex: /usr/src/mozilla/dist/bin/chrome
- getMozHomeDir();
- Ex: /root/.mozilla
- getMozUserHomeDir();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt
- getAppRegDir();
- Ex: /root/.mozilla/appreg
- getAppDefaultDir();
- Ex: /usr/src/mozilla/dist/bin/defaults
- getAppDefaultPrefDir();
- Ex: /usr/src/mozilla/dist/bin/defaults/pref
- getProfileDefaultsLocDir();
- Ex: /usr/src/mozilla/dist/bin/defaults/profile/US
- getProfileDefaultsDir();
- Ex: /usr/src/mozilla/dist/bin/defaults/profile
- getAppResDir();
- Ex: /usr/src/mozilla/dist/bin/res
- getAppPluginsDir();
- Ex: /usr/src/mozilla/dist/bin/plugins
- getSearchPluginsDir();
- Ex: /usr/src/mozilla/dist/bin/searchplugins
- getPrefsFile();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/prefs.js
- getUserChromeDir();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/chrome
- getLocalStore();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/localstore.rdf
- getHistoryFile();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/history.dat
- getPanelsFile();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/panels.rdf
- getMimeTypes();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/mimeTypes.rdf
- getBookmarks();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/bookmarks.html
- getSearchFile();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/search.rdf
- getUserMailDir();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/Mail
- getUserImapDir();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/ImapMail
- getUserNewsDir();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/News
- getMessengerFolderCache();
- Ex: /root/.mozilla/Default User/k1m30xaf.slt/panacea.dat
- getCurProcDir();
- Ex: /usr/src/mozilla/dist/bin
- getHomeDir();
- Ex: /root
- getTmpDir();
- Ex: /tmp
- getComponentsDir();
- Ex: //usr/src/mozilla/dist/bin/components
- help;
- currently dumps a list of available functions