Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Is there a way...
Posted by: MonkeeSage
Date: January 19, 2003 10:29AM

...to make _left-clicked_ links open in new layers by default?


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: Is there a way...
Posted by: MonkeeSage
Date: January 19, 2003 10:38AM

NM... sorry to bother you... as usual, a quick look at the layers.dll settings solved the problem:

user_pref("kmeleon.plugins.layers.catch", true);

smiling smiley


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: Is there a way...
Posted by: MonkeeSage
Date: January 19, 2003 10:39AM

Ps. Never forget...documentation is there for a reason, manuals are our friends grinning smiley

Options: ReplyQuote
Re: Is there a way...
Posted by: Katzy
Date: January 19, 2003 04:14PM

I've read the documentation without finding it. I, too, would like to do this. Can you point me in the right direction?

Options: ReplyQuote
Re: Is there a way...
Posted by: MonkeeSage
Date: January 19, 2003 04:28PM

Hehe, well it wasn't exactly crystal clear, but I tried it and it worked. winking smiley

There are three prefs you can set:

pref | type | what it does | default value
kmeleon.plugins.layers.catchOpen | bool | catch windows events and apply them to layers | false
kmeleon.plugins.layers.catchClose | bool | catch windows events and apply them to layers | false
kmeleon.plugins.layers.catch | bool | sets both catchOpen and catchClose | not set

What I did was add the following line to Prefs.js:

user_pref("kmeleon.plugins.layers.catch", true);

Restarted the browser, and then after I clicked on a link that was set to open a new window, it opened and the layers.dll caught it and incorporated it into the existing frame--i.e., it opened in a new layer by default. smiling smiley


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote


K-Meleon forum is powered by Phorum.