I would like to add an about: URL to my extension.
I followed the instructions in https://developer.mozilla.org/En/Custom_about:_URLs . I created a file "registerExcerpts.js" and put it in the "components" directory.
However, when I put the EXTRA_PP_COMPONENTS to my chrome.manifest, I get the following errors in the error console after restarting:
- Code: Select all
Warning: Ignoring unrecognized chrome manifest directive 'EXTRA_PP_COMPONENTS'.
Warning: Ignoring unrecognized chrome manifest directive 'aboutMyService.js'.
Warning: Ignoring unrecognized chrome manifest directive '$(NULL)'.
This is in Firefox 4 beta6. In 3.6 I get more generic errors (Warning: Ignoring unrecognized chrome manifest instruction) but it doesn't work either.
I guess the "Manifest" file mentioned in the tutorial is not chrome.manifest, but which one is it? Where do I put the js code?