Tab homepage
Posted by: Johnny
Date: March 18, 2012 11:24AM

Is it possible to automaticly open the homepage in a new tab? can't find this option anywhere.. thanks,

Re: Tab homepage
Posted by: JamesD
Date: March 18, 2012 02:46PM

This can be done by making a change to the file main.kmm. The file is located in KM root/macros.

With KM closed, look for the following code.
# PRIVATE
_Home{
#$OpenURL=getpref(STRING,$KM_Homepage); &OpenURL_InNew;
id(ID_NAV_HOME);
}

Change to code to look like this. Just move the # symbol to change which line is a comment and which line is active. Save the file and restart KM.
# PRIVATE
_Home{
$OpenURL=getpref(STRING,$KM_Homepage); &OpenURL_InNew;
#id(ID_NAV_HOME);
}

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Re: Tab homepage
Posted by: johnny
Date: March 18, 2012 08:51PM

Changed the # sign. No go. New tab still opens with blank page..

I would like to see this option in a new K-meleon!

thanks

Re: Tab homepage
Posted by: JamesD
Date: March 19, 2012 12:06AM

Previously did the homepage button open your homepage? Also which versions of KM are you using. I tested with KM 1.6.0 beta 2.4.

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Re: Tab homepage
Posted by: Johnny
Date: March 19, 2012 02:48PM

I'm using version 1.5.4

Does the new Beta include this?

Re: Tab homepage
Posted by: johnny
Date: March 19, 2012 08:04PM

Sorry mate,

the option was available, but not under "tab options"but preferences under selecting homepage. Great product!

K-Meleon forum is powered by Phorum.