Mozilla Firefox Category Manager
Ever wonder what categories you have in your Mozilla/Firefox platform. Well, you can use this code below to get to know it. I bet the output would be handy for observing purposes.
var catMan = Components.classes["@mozilla.org/categorymanager;1"].getService(Components.interfaces.nsICategoryManager);
var foo = catMan.enumerateCategories();
while (foo.hasMoreElements()) {
var bar = foo.getNext();
var tmp = bar.QueryInterface(Components.interfaces.nsISupportsCString).data;
dump(’Category: ‘ + tmp + “\n”);
var item = catMan.enumerateCategory(tmp);
while(item.hasMoreElements()) {
var subitem = item.getNext();
var tmp2 = subitem.QueryInterface(Components.interfaces.nsISupportsCString).data;
dump(”\t” + tmp2 + “\n”);
}
}
Result, follows:
Category: Charset Encoders
Adobe-Symbol-Encoding
Big5
Big5-HKSCS
EUC-JP
EUC-KR
GB2312
GEOSTD8
HZ-GB-2312
IBM850
IBM852
IBM855
IBM857
IBM862
IBM864
IBM864i
IBM866
ISO-2022-JP
ISO-8859-1
ISO-8859-10
ISO-8859-11
ISO-8859-13
ISO-8859-14
ISO-8859-15
ISO-8859-16
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-6-E
ISO-8859-6-I
ISO-8859-7
ISO-8859-8
ISO-8859-8-E
ISO-8859-8-I
ISO-8859-9
ISO-IR-111
KOI8-R
KOI8-U
Shift_JIS
T.61-8bit
TIS-620
UTF-16
UTF-16BE
UTF-16LE
UTF-32BE
UTF-32LE
UTF-7
UTF-8
VISCII
armscii-8
gb18030
hkscs-1
jis_0201
us-ascii
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
windows-874
windows-936
x-euc-tw
x-gbk
x-imap4-modified-utf7
x-johab
x-koreanjamo-0
x-mac-arabic
x-mac-ce
x-mac-croatian
x-mac-cyrillic
x-mac-devanagari
x-mac-farsi
x-mac-greek
x-mac-gujarati
x-mac-gurmukhi
x-mac-hebrew
x-mac-icelandic
x-mac-roman
x-mac-romanian
x-mac-turkish
x-mac-ukrainian
x-mathematica1
x-mathematica2
x-mathematica3
x-mathematica4
x-mathematica5
x-mtextra
x-t1-cmex
x-t1-cmmi
x-t1-cmr
x-t1-cmsy
x-tamilttf-0
x-tscii
x-ttf-cmex
x-ttf-cmmi
x-ttf-cmr
x-ttf-cmsy
x-u-escaped
x-user-defined
x-viet-tcvn5712
x-viet-vps
x-windows-949
x-zapf-dingbats
Category: net-content-sniffers
Feed Sniffer
Category: JavaScript global static nameset
PrivilegeManager
Category: JavaScript global constructor
BrowserFeedWriter
Image
InstallVersion
Option
SOAPCall
SOAPEncoding
SOAPFault
SOAPHeaderBlock
SOAPParameter
SOAPPropertyBagMutator
SOAPResponse
SchemaLoader
WSDLLoader
WebServiceProxyFactory
Category: xpcom-directory-providers
browser-directory-provider
spellcheck-directory-provider
Category: uconv-charset-titles
chrome://global/locale/charsetTitles.properties
Category: uconv-charset-data
resource://gre/res/charsetData.properties
Category: JavaScript DOM class
XPathEvaluator
XPathException
XPathExpression
XPathNSResolver
XPathResult
XPointerResult
XSLTProcessor
Category: content-policy
@mozilla.org/data-document-content-policy;1
@mozilla.org/embedding/browser/content-policy;1
@mozilla.org/no-data-protocol-content-policy;1
@mozilla.org/permissions/contentblocker;1
Category: @mozilla.org/streamconv;1
?from=text/ftp-dir&to=application/http-index-format
Category: pref-config-startup
ReadConfig Module
Category: charset-detectors
cjk_parallel_state_machine
ja_parallel_state_machine
ko_parallel_state_machine
off
ruprob
ukprob
universal_charset_detector
zh_parallel_state_machine
zhcn_parallel_state_machine
zhtw_parallel_state_machine
Category: JavaScript global property
InstallTrigger
external
sidebar
Category: passwordmanager
Password Manager
Category: JavaScript DOM interface
nsIXSLTProcessor
nsIXSLTProcessorObsolete
Category: parser-service-category
Meta Charset Service
Category: Charset Decoders
Big5
Big5-HKSCS
EUC-JP
EUC-KR
GB2312
GEOSTD8
HZ-GB-2312
IBM850
IBM852
IBM855
IBM857
IBM862
IBM864
IBM864i
IBM866
ISO-2022-CN
ISO-2022-JP
ISO-2022-KR
ISO-8859-1
ISO-8859-10
ISO-8859-11
ISO-8859-13
ISO-8859-14
ISO-8859-15
ISO-8859-16
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-6-E
ISO-8859-6-I
ISO-8859-7
ISO-8859-8
ISO-8859-8-E
ISO-8859-8-I
ISO-8859-9
ISO-IR-111
KOI8-R
KOI8-U
Shift_JIS
T.61-8bit
TIS-620
UTF-16
UTF-16BE
UTF-16LE
UTF-32BE
UTF-32LE
UTF-7
UTF-8
VISCII
armscii-8
gb18030
us-ascii
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
windows-874
windows-936
x-euc-tw
x-gbk
x-imap4-modified-utf7
x-johab
x-mac-arabic
x-mac-ce
x-mac-croatian
x-mac-cyrillic
x-mac-devanagari
x-mac-farsi
x-mac-greek
x-mac-gujarati
x-mac-gurmukhi
x-mac-hebrew
x-mac-icelandic
x-mac-roman
x-mac-romanian
x-mac-turkish
x-mac-ukrainian
x-u-escaped
x-user-defined
x-viet-tcvn5712
x-viet-vps
x-windows-949
Category: external-uricontentlisteners
application/pkix-crl
application/x-pkcs7-crl
application/x-x509-ca-cert
application/x-x509-crl
application/x-x509-email-cert
application/x-x509-server-cert
application/x-x509-user-cert
Category: content-sniffing-services
@mozilla.org/image/loader;1
Category: http-startup-category
Content UserAgent Setter
Category: command-line-argument-handlers
inspector command line handler
Category: Gecko-Content-Viewers
application/ecmascript
application/http-index-format
application/javascript
application/rdf+xml
application/vnd.mozilla.xul+xml
application/x-javascript
application/x-view-source
application/xhtml+xml
application/xml
image/bmp
image/gif
image/jpeg
image/jpg
image/pjpeg
image/png
image/svg+xml
image/vnd.microsoft.icon
image/x-icon
image/x-png
image/x-xbitmap
image/x-xbm
image/xbm
mozilla.application/cached-xul
text/css
text/ecmascript
text/htmlCategory: Charset Encoders
Adobe-Symbol-Encoding
Big5
Big5-HKSCS
EUC-JP
EUC-KR
GB2312
GEOSTD8
HZ-GB-2312
IBM850
IBM852
IBM855
IBM857
IBM862
IBM864
IBM864i
IBM866
ISO-2022-JP
ISO-8859-1
ISO-8859-10
ISO-8859-11
ISO-8859-13
ISO-8859-14
ISO-8859-15
ISO-8859-16
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-6-E
ISO-8859-6-I
ISO-8859-7
ISO-8859-8
ISO-8859-8-E
ISO-8859-8-I
ISO-8859-9
ISO-IR-111
KOI8-R
KOI8-U
Shift_JIS
T.61-8bit
TIS-620
UTF-16
UTF-16BE
UTF-16LE
UTF-32BE
UTF-32LE
UTF-7
UTF-8
VISCII
armscii-8
gb18030
hkscs-1
jis_0201
us-ascii
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
windows-874
windows-936
x-euc-tw
x-gbk
x-imap4-modified-utf7
x-johab
x-koreanjamo-0
x-mac-arabic
x-mac-ce
x-mac-croatian
x-mac-cyrillic
x-mac-devanagari
x-mac-farsi
x-mac-greek
x-mac-gujarati
x-mac-gurmukhi
x-mac-hebrew
x-mac-icelandic
x-mac-roman
x-mac-romanian
x-mac-turkish
x-mac-ukrainian
x-mathematica1
x-mathematica2
x-mathematica3
x-mathematica4
x-mathematica5
x-mtextra
x-t1-cmex
x-t1-cmmi
x-t1-cmr
x-t1-cmsy
x-tamilttf-0
x-tscii
x-ttf-cmex
x-ttf-cmmi
x-ttf-cmr
x-ttf-cmsy
x-u-escaped
x-user-defined
x-viet-tcvn5712
x-viet-vps
x-windows-949
x-zapf-dingbats
Category: net-content-sniffers
Feed Sniffer
Category: JavaScript global static nameset
PrivilegeManager
Category: JavaScript global constructor
BrowserFeedWriter
Image
InstallVersion
Option
SOAPCall
SOAPEncoding
SOAPFault
SOAPHeaderBlock
SOAPParameter
SOAPPropertyBagMutator
SOAPResponse
SchemaLoader
WSDLLoader
WebServiceProxyFactory
Category: xpcom-directory-providers
browser-directory-provider
spellcheck-directory-provider
Category: uconv-charset-titles
chrome://global/locale/charsetTitles.properties
Category: uconv-charset-data
resource://gre/res/charsetData.properties
Category: JavaScript DOM class
XPathEvaluator
XPathException
XPathExpression
XPathNSResolver
XPathResult
XPointerResult
XSLTProcessor
Category: content-policy
@mozilla.org/data-document-content-policy;1
@mozilla.org/embedding/browser/content-policy;1
@mozilla.org/no-data-protocol-content-policy;1
@mozilla.org/permissions/contentblocker;1
Category: @mozilla.org/streamconv;1
?from=text/ftp-dir&to=application/http-index-format
Category: pref-config-startup
ReadConfig Module
Category: charset-detectors
cjk_parallel_state_machine
ja_parallel_state_machine
ko_parallel_state_machine
off
ruprob
ukprob
universal_charset_detector
zh_parallel_state_machine
zhcn_parallel_state_machine
zhtw_parallel_state_machine
Category: JavaScript global property
InstallTrigger
external
sidebar
Category: passwordmanager
Password Manager
Category: JavaScript DOM interface
nsIXSLTProcessor
nsIXSLTProcessorObsolete
Category: parser-service-category
Meta Charset Service
Category: Charset Decoders
Big5
Big5-HKSCS
EUC-JP
EUC-KR
GB2312
GEOSTD8
HZ-GB-2312
IBM850
IBM852
IBM855
IBM857
IBM862
IBM864
IBM864i
IBM866
ISO-2022-CN
ISO-2022-JP
ISO-2022-KR
ISO-8859-1
ISO-8859-10
ISO-8859-11
ISO-8859-13
ISO-8859-14
ISO-8859-15
ISO-8859-16
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-6-E
ISO-8859-6-I
ISO-8859-7
ISO-8859-8
ISO-8859-8-E
ISO-8859-8-I
ISO-8859-9
ISO-IR-111
KOI8-R
KOI8-U
Shift_JIS
T.61-8bit
TIS-620
UTF-16
UTF-16BE
UTF-16LE
UTF-32BE
UTF-32LE
UTF-7
UTF-8
VISCII
armscii-8
gb18030
us-ascii
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
windows-874
windows-936
x-euc-tw
x-gbk
x-imap4-modified-utf7
x-johab
x-mac-arabic
x-mac-ce
x-mac-croatian
x-mac-cyrillic
x-mac-devanagari
x-mac-farsi
x-mac-greek
x-mac-gujarati
x-mac-gurmukhi
x-mac-hebrew
x-mac-icelandic
x-mac-roman
x-mac-romanian
x-mac-turkish
x-mac-ukrainian
x-u-escaped
x-user-defined
x-viet-tcvn5712
x-viet-vps
x-windows-949
Category: external-uricontentlisteners
application/pkix-crl
application/x-pkcs7-crl
application/x-x509-ca-cert
application/x-x509-crl
application/x-x509-email-cert
application/x-x509-server-cert
application/x-x509-user-cert
Category: content-sniffing-services
@mozilla.org/image/loader;1
Category: http-startup-category
Content UserAgent Setter
Category: command-line-argument-handlers
inspector command line handler
Category: Gecko-Content-Viewers
application/ecmascript
application/http-index-format
application/javascript
application/rdf+xml
application/vnd.mozilla.xul+xml
application/x-javascript
application/x-view-source
application/xhtml+xml
application/xml
image/bmp
image/gif
image/jpeg
image/jpg
image/pjpeg
image/png
image/svg+xml
image/vnd.microsoft.icon
image/x-icon
image/x-png
image/x-xbitmap
image/x-xbm
image/xbm
mozilla.application/cached-xul
text/css
text/ecmascript
text/html
text/javascript
text/plain
text/rdf
text/xml
Category: app-startup
@mozilla.org/browser/browserglue;1
Browser Session Startup Service
Browser Session Store Service
Extension Manager
Netscape Qfa Component
Password Manager
Script Security Manager
SystemPref Module
Update Service
Web Content Handler Registrar
Window Data Source
Category: component-loader
text/javascript
Category: JavaScript global constructor prototype alias
Image
Option
Category: command-line-handler
c-jsconsole
m-browser
m-inspector
m-setdefaultbrowser
x-default
text/javascript
text/plain
text/rdf
text/xml
Category: app-startup
@mozilla.org/browser/browserglue;1
Browser Session Startup Service
Browser Session Store Service
Extension Manager
Netscape Qfa Component
Password Manager
Script Security Manager
SystemPref Module
Update Service
Web Content Handler Registrar
Window Data Source
Category: component-loader
text/javascript
Category: JavaScript global constructor prototype alias
Image
Option
Category: command-line-handler
c-jsconsole
m-browser
m-inspector
m-setdefaultbrowser
x-default
Sphere: Related Content
- Posted by Akhmad Fathonih at 03:55 pm
- Permalink for this entry
- Filed under: Dev Hours, Open Source
- RSS comments feed of this entry
- TrackBack URI








No comments
Leave a comment