MozillaZine

Mozilla 1.1 Beta Released

Monday July 22nd, 2002

Asa Dotzler writes: "It's here! Mozilla 1.1 Beta. New to this release are full-screen mode for Linux, BiDi Hebrew improvements, Arabic shaping improvements for Linux, and significant improvements to Venkman, the best cross-platform JavaScript debugger on the planet. Get your binaries and release notes at http://www.mozilla.org/releases/. And if you're confused about all these alpha and beta releases (and what ever happened to that 1.0 branch?) then take a look at the nice picture available at the Mozilla Development Roadmap."


#5 Re: Question

by AlexBishop <alex@mozillazine.org>

Monday July 22nd, 2002 10:49 PM

You are replying to this message

In your Mozilla application directory, you'll find a directory called 'chrome'. Inside that will be a file called 'comm.jar'. Unzip 'comm.jar' to a temporary location, preserving its directory structure (if neccessary, change the extension to 'zip' and use a standard zip utility). You'll find a directory called 'content' in the location where you unzipped the file. Open it up and go into its 'communicator' subdirectory. There you'll find a file called 'contentAreaContextOverlay.xul'. Open it in a text editor. Scroll down until you see these eight lines (they're quite near the top):

<menuitem id="context-openlink"

label="&openLinkCmd.label;"

accesskey="&openLinkCmd.accesskey;"

oncommand="gContextMenu.openLink();"/>

<menuitem id="context-openlinkintab"

label="&openLinkCmdInTab.label;"

accesskey="&openLinkCmdInTab.accesskey;"

oncommand="gContextMenu.openLinkInTab();"/>

(The blank lines won't be there; I'm trying to stop the MZ comment code from removing my line breaks.)

Using your finely honed cut 'n' paste skills, reorder the lines to match this (except without the blank lines):

<menuitem id="context-openlinkintab"

label="&openLinkCmdInTab.label;"

accesskey="&openLinkCmdInTab.accesskey;"

oncommand="gContextMenu.openLinkInTab();"/>

<menuitem id="context-openlink"

label="&openLinkCmd.label;"

accesskey="&openLinkCmd.accesskey;"

oncommand="gContextMenu.openLink();"/>

Save your changes and close the file. Now, zip up the 'content' directory and call it 'comm.jar'. Move it to the 'chrome' directory in your Mozilla application directory, overwriting the old file.

Then cross your fingers and test it. No need to recompile.

Alex