Re: Questions regarding "about" pages.

Neil <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
[email protected] wrote:

>1. How would I go about adding additional about pages, like about:robots?
>
You need to register an about module. Here are some examples:
http://mxr.mozilla.org/comm-central/source/mail/components/aboutRedirector.js
http://mxr.mozilla.org/comm-central/source/mozilla/browser/metro/components/AboutRedirector.js
http://mxr.mozilla.org/comm-central/source/mozilla/mobile/android/components/AboutRedirector.js
http://mxr.mozilla.org/comm-central/source/suite/common/src/nsAbout.js
You also need manifest entries pointing to your component of course.

>2. Is it a good idea to edit about.xhtml (as part of omni.ja) or should I rather override it with my own replacement.
>  
>
Never try to edit part of omni.ja, always prefer to override it.

-- 
Warning: May contain traces of nuts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.