Quote
No, a km 1.1 with layers disabled is not a km 1.5.
Sorry, but I have tested it before using it.
With 1.1.x :
When layers are enabled : k$Layers = true
When layers are disabled : k$Layers = false
With 1.5 :
kLayers = 0
But as you have talk about it, I have tested a case I never think of : where layers.dll is not present, and for some macros I use (roboform, for example), I have now a crash with 1.1x. So I must modify it to avoid these problems.
[edit=21:06:00] ---------------------------------------------------------------
I now use :
$pLayers=substr(getpref(STRING,""general.useragent.vendorsub"),0,3);
$kLayers==0?0:$pLayers="1.1";
# This last string to correct getpref result for version 1.5a1, which uses layers instead of tabs
The crash I had was due to the fact that with layers disabled, the mechanism to initialize roboform doesn't work anymore, and K-Meleon crashes when browsing in this window. It ought be possible to open a new window and close the first like I do with layers, but it's a pain, and in this case, when layers are disabled, I disable automatically roboform.
An other crash occurs when I rename layers.dll to simulate the fact that this kplugin isn't here. It's due to the presence of the kplugins sessions. When renaming it too, no more crash. It seems to be normal, because, I think sessions use layers.
[/edit] -----------------------------------------------------------------------
A+
Mozilla/5.0 (x11; U; Linux x86_64; en-US; rv:1.9.1.17pre) Gecko/20101211 Ubuntu/12.04 (precise) K-Meleon/1.6.0
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:1.9.2.14pre) Gecko/20101219 Ubuntu/12.04 (precise) K-Meleon/1.7.0
Web:
K-Meleon Extension Setup (French) and
(English)
Web:
http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Edited 3 time(s). Last edit at 09/12/2008 02:20AM by JujuLand.