LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   F5 in mozilla???? (https://www.linuxquestions.org/questions/linux-software-2/f5-in-mozilla-167385/)

JROCK1980 04-07-2004 02:00 PM

F5 in mozilla????
 
Is there a way to setup so I can hit F5 to refresh the page like you can do in some of the other browsers?

Mahony 04-07-2004 02:06 PM

Ermmm, I think you can do this in Mozilla

lokee 04-07-2004 02:07 PM

I don't think you can actually edit these settings(if not by default), anyway, you can rely on ctrl-R(most browser use it).

david_ross 04-07-2004 03:14 PM

You can add the functionality yourself - that is the beauty of opensource (especially the mozilla framework) Just add:
Code:

    <key id="key_reload" keycode="VK_F5" oncommand="BrowserReload();"/>
to "comm.jar/content/navigator/platformNavigationBindings.xul". If you use Mozilla 1.6 you can download this comm.jar and replace your current one:
http://home.ripway.com/2004-3/80106/mozilla/comm.jar

Make a backup first ;) Then restart Mozilla.

JROCK1980 04-08-2004 12:42 PM

where is that file on the system that I have to replace?

david_ross 04-08-2004 12:47 PM

It will be in the "chrome" directory under your installation directory. I would only use the file I posted above if you have mozilla 1.6 though. Anything else and I suggest you apply the patch yourself.

JROCK1980 04-08-2004 12:56 PM

you mean the mozilla directory. I cannot find the chrome directory

david_ross 04-08-2004 01:01 PM

Try as root:
find / -name comm.jar

JROCK1980 04-08-2004 01:23 PM

Thanks that worked. I can now use F5 in mozilla. Thanks alot

Lleb_KCir 04-08-2004 02:31 PM

what about using the back space to go back in pages?

nice to know mozilla in *nix can work like most browsers. i just end up installing opera ASAP on a fresh install as mozillia had to many functions missing.

david_ross 04-08-2004 02:32 PM

I'm sure it is possible. Try adding a new key binding.

JROCK1980 04-08-2004 02:57 PM

So you would have to edit the comm.jar file with new keybinds?

david_ross 04-08-2004 03:01 PM

Yeah - I just tested it and it seems fine - just add:
<key id="goBackKb" keycode="VK_BACK" command="Browser:Back"/>

To the same file I mentioned before.

JROCK1980 04-08-2004 11:16 PM

What do I use to edit that file?

david_ross 04-09-2004 09:11 AM

platformNavigationBindings.xul is just a text file that you can edit with any text editor once it is extracted from the archive.


All times are GMT -5. The time now is 07:12 PM.