mike chambers | about

Create an empty menuseparator in a FireFox extension

Wednesday, December 8, 2004

Here is a quick tip on how to add an empty separator into a FireFox extension menu. By default, the XUL menuseparator tag draws a line across the menu. Here is how to add a separator that just adds a space (no line):

<menuseparator style="visibility:hidden" />

Pretty simple, but it took me a little searching to figure out, so I thought I would post it here.

twitter github flickr behance