Open main menu

CDOT Wiki β

Changes

Chrome

802 bytes added, 09:42, 6 October 2006
Code Example
*Line 5: <pre>locale packagename localename uri/to/files/ [flags]</pre>
**This code will register a locale package called pinpnss with the localename en-US when resolving the URL jar:en-US.jar!/locale/en-US/pipnss/
**NOTE: If there are more than one locale file register for the package, chrome will select the best-fit locale for the URL.  *Line 6: # this line is a comment - you can put whatever you want here**To comment your code, put '#' in the beginning of the line.  *Line 7: overlay chrome://URI-to-be-overlayed chrome://overlay-URI [flags]**The prupose of this code is to overlaying one chrome on top of the other.  *Line 13: skin packagename skinname uri/to/files/ [flags]**This will register a skin package gobal with the skinname classic/1.0 when resolving the URL jar:classic.jar!/skin/classic/global/**NOTE: If more than one skin register for the package, chrome will select the best-fit locale skin for the URL.  *Line 14: override chrome://package/type/original-uri.whatever new-resolved-URI [flags]**The purpose of this is to override a chrome file provided by the application or XULRunner with a new extension or embedder.
==Starting Out==
1
edit