Mozilla + Firefox extension development

Thursday, November 04, 2004

URIs of extensions

Beware that the URI of your extension as specified in the contents.rdf file in the content\ directory of your extension package might cause your extension to fail upon loading.

Both Mozilla and Firefox seem to have problems dealing with URIs that contain period "." and slashes "/" as well as long URIs. A URI like this one,
doesn't sit well with Mozilla and Firefox.


  • Mozilla and Firefox are doing handling that correctly. I don't think you are allowed to put periods or slashes in that kind of URN. (Can't remember the RFC number.)

    Most people replace period with hyphens. So "" would get changed to "urn:mozilla:package:edu-mit-csail-haystack-myExtension".

    By Anonymous Charles Iliya Krempeaux, at 4:05 PM  

  • Greetings from North Cack-A-Lacky! I enjoyed your thoughts, although I give Firefox even a little more credit than you do, I think ;) See what I mean here: internet explorer macintosh

    By Anonymous Anonymous, at 10:25 PM  

Post a Comment

<< Home