General :  K-Meleon Web Browser Forum
General discussion about K-Meleon. Questions about how to setup it, macro coding, all related to its usage and the project itself, including this website. 
Opening Home Page From Home Toolbar Button
Posted by: Peabody
Date: November 21, 2006 05:22AM

One of the features I investigated immediately when I first began testing K-M was the ability to configure where pages would open. I almost always want new pages from the URL bar, the search bar, bookmarks ,etc. to open in new tabs. I was pleased to find that K-M supported those options and let users decide how they want to surf without resorting to combining keyboard functions with mouse clicks.

But I find no such option for the Home button. That button opens the user's preferred home page in the current page/layer, and I find no way to open in a new page. Is there a configuration option to open the home page in a new page? I suspect a macro solution would suffice, but the macro must work with clicking the Home button and not through modifying the context menu options.

All I want to do is click the Home button and have my home page open in a new tab/layer. Possible?

Thank you.

Options: ReplyQuote
Re: Opening Home Page From Home Toolbar Button
Posted by: kko
Date: November 21, 2006 11:47AM

All I want to do is click the Home button and have my home page open in a new tab/layer. Possible?
That's the default in 1.1.

Options: ReplyQuote
Re: Opening Home Page From Home Toolbar Button
Posted by: Peabody
Date: November 22, 2006 12:20AM

Quote

All I want to do is click the Home button and have my home page open in a new tab/layer. Possible?
That's the default in 1.1.

That is good news to hear. Thank you!

Options: ReplyQuote
Re: Opening Home Page From Home Toolbar Button
Posted by: ndebord
Date: November 22, 2006 04:40PM

kko,

Is the default hardwired, or it is a toggle between opening in same page or new layer?

Tks,

N

Options: ReplyQuote
Re: Opening Home Page From Home Toolbar Button
Posted by: kko
Date: November 22, 2006 06:57PM

I didn't doubt that this question must arise :-)

You can restore the old behavior with a few lines of code:

_oldHome{
id(ID_NAV_HOME);
}
$Home==_Home?$Home=_oldHome:0;

Just paste this in a user macro module. (That's a text file with extension kmm placed in a subfolder called macros of your settings directory which is the profile directory by default.)

Options: ReplyQuote
Re: Opening Home Page From Home Toolbar Button
Posted by: ndebord
Date: November 24, 2006 05:26AM

kko,

Nice snippet of code. Now I'll have to choose between the two methods!

<G>

N

Options: ReplyQuote


K-Meleon forum is powered by Phorum.