General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Improvements
Posted by: Larry
Date: August 21, 2020 07:26PM

If anyone is still updating this browser, it crashed several times this morning, and every time I'd been doing something in preferences. It may possibly be a clash with Win10 as mine is sick, and I'm preparing to reload it again though I think that may be like killing a fly with a shotgun.

I normally use SeaMonkey. I like K-meleon better, but it needs improvements as it isn't as stable as SeaMonkey.

Some web sites don't accept K-meleon...some don't accept Seamonkey either. The worst one I encountered was wunderground.com. It's a weather site. It will come up, but then it closes K-meleon. Never seen that before.

Is 76.2 recommended, and is it better than 75.1?

It's refreshing to know there are users out there who are willing to help when I have an issue with K-meleon. Thank you.

Options: ReplyQuote
Re: Improvements
Posted by: JohnHell
Date: August 21, 2020 08:24PM

It is better as the engine is newer.

If it is the latest from this thread:
http://kmeleonbrowser.org/forum/read.php?19,148500

Report there so Roytam can read it and help with a possible fix or engine update.

I can't tell myself (75.0).

Options: ReplyQuote
Re: Improvements
Posted by: Mello
Date: August 23, 2020 11:43PM

Wunderground doesn't crash latest Goanna version 76.2 but I found it slow loading on my low power netbook.

k-m isn't great with javascript on many sites - but you can easily toggle it off with F7 key for faster loading (if you don't need videos and animations on a page)

A way to get around that is to send the page to another browser

See my post, end of this thread
http://kmeleonbrowser.org/forum/read.php?1,148497,148579#msg-148579

I can't post the macro code here because the forum blocks it as a hack attempt.

Options: ReplyQuote
Re: Improvements
Posted by: JohnHell
Date: August 24, 2020 01:06AM

You have a PM.

Options: ReplyQuote
Re: Improvements
Posted by: Mello
Date: August 24, 2020 07:27PM

Thanks, I replied x 2 because nothing showed in pm sent folder
after doing so.

I'll try again here, maybe it was a glitch - I've had the same hack attempt message before - can't remember for what.

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Chromium Web Services / External Applications

$Chromiumpath=getpref( string, "extensions.Chromiumpath" );

Chromiumpath{
$Chromiumpath=getpref( string, "extensions.Chromiumpath" );
$Chromiumpath==""?&getChromiumpath:0;
}

getChromiumpath{
alert("use the next prompt to browse for the Chromium executable.  ","Chromium EX", INFO);
$Chromiumpath=promptforfile("C:\\Program Files\\", "Chrome.exe", "Chrome.exe");
setpref( string, "extensions.Chromiumpath", $Chromiumpath);
}


Chromium_OpenPage{
menugrayed=($Chromiumpath=="");
$Chromiumurl=($Chromiumpath." ".$URL);
exec($Chromiumurl);
}

Chromium_OpenLink{
menugrayed=($Chromiumpath=="");
$Chromiumlinkurl=($Chromiumpath." ".$LinkURL);
exec($Chromiumlinkurl);
}

_Chromium_BuildMenu{
setmenu($_SendTo_Page,macro,"Chromium",Chromium_OpenPage);
setmenu($_SendTo_Link,macro,"Chromium",Chromium_OpenLink);
setmenu("LinkSave",macro,"Send To Chromium",Chromium_OpenLink);
}
_Chromium_SetAccels{
setaccel("CTRL J","macros(Chromium_OpenPage)");
}

$OnInit=$OnInit."_Chromium_BuildMenu;";
$OnStartup=$OnStartup."Chromiumpath;";
# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."Chromiumex;";



Edited 1 time(s). Last edit at 08/24/2020 08:03PM by JohnHell.

Options: ReplyQuote
Re: Improvements
Posted by: Mello
Date: August 24, 2020 07:28PM

Well... it worked fine this time.
Maybe it was that in combination with something else in my original post?



Edited 1 time(s). Last edit at 08/24/2020 07:29PM by Mello.

Options: ReplyQuote
Re: Improvements
Posted by: JohnHell
Date: August 24, 2020 08:01PM

SourceForge isn't working very good lately. Might have been some error by them.

If you don't mind, I edit your post so it is on CODE BBcode tags.



Edited 1 time(s). Last edit at 08/24/2020 08:02PM by JohnHell.

Options: ReplyQuote
Re: Improvements
Posted by: siria
Date: August 24, 2020 08:58PM

So that's why your shortcut doesn't work if set by macro only.
You only define, but never execute the setaccel macro.

$OnInit=$OnInit."_Chromium_SetAccels";

---------

Itching macro finger again, sigh, can't resist... Especially as this is used as example macro, and everyone keeps perpetuating unnecessary macro splits, making it harder to understand. Just loud thinking :cool:
Those 2 parts:

Chromiumpath{
$Chromiumpath=getpref( string, "extensions.Chromiumpath" );
$Chromiumpath==""?&getChromiumpath:0;
}

getChromiumpath{
alert("use the next prompt to browse for the Chromium executable.  ","Chromium EX", INFO);
$Chromiumpath=promptforfile("C:\\Program Files\\", "Chrome.exe", "Chrome.exe");
setpref( string, "extensions.Chromiumpath", $Chromiumpath);
}

.... could be simplified into one, and as gimmick allows users to choose also any other exe if they wish:

Chromiumpath{
if ($Chromiumpath == "") {
	alert("Use the next prompt to browse for the Chromium executable\n(For menu Send To > Chromium)","Macro Chromium EX", INFO);
	$Chromiumpath=promptforfile("C:\\Program Files\\","Chrome.exe","*.exe");
	setpref(STRING, "extensions.Chromiumpath", $Chromiumpath);
}}



Edited 2 time(s). Last edit at 08/24/2020 10:10PM by siria.

Options: ReplyQuote
Re: Improvements
Posted by: Mello
Date: August 27, 2020 10:53PM

Quote
siria"Itching macro finger again, sigh, can't resist..."

lol
You speak macro language, I speak none. grinning smiley

That was a chrome macro I found, I substituted all the entries with chromium using search and replace. Then a while back asked here how to open it with a shortcut (much quicker than right click etc - I hate right click options)

Thanks, I'll try your compacted version.

Options: ReplyQuote
Re: Improvements
Posted by: siria
Date: August 29, 2020 03:03PM

Quote

open it with a shortcut (much quicker than right click etc - I hate right click options)

Basically both methods are fine by me, but the probs are starting if there are too many. Especially with LOTS of macros installed :cool: Who can remember so many custom shortcuts, for various other programs too etc? And additional prob, which shortcuts are still free yet? And third prob, other macros may already use the same ones...

So, my context menus keep growing instead. And growing.... Not much better either!
That means searching up and down, where was that stupid command again...

Can't believe I only recently got aware of the solution, although knowing that function since forever, but always thought "that's for people without a mouse, forced to navigate menus by keyboard":
menuline shortkeys!
Just meaning the underlined character in most menu lines, like "Save Link Target As...", or "Send Link To..."
So, now right-clicking on a link and hitting "S" on keyboard - Bingo! No searching in endless menus anymore!
That's just great, except - if multiple lines use the same character :cool:
Okay, still handy enough, now the menu remains open, it just jumps between the two (or more) hits when hitting the key on keyboard, and then must hit Enter-key when chosen the right one.

But find this method SO handy now, finally much less bothersome searching, really happy grinning smiley
And the best part of course, everyone can set or change those keys easily himself.
Just by adding a "&" before the chosen character. Either in macro setmenu lines, or in menus.cfg



Edited 1 time(s). Last edit at 08/29/2020 03:12PM by siria.

Options: ReplyQuote
Re: Improvements
Posted by: Mello
Date: August 30, 2020 05:13PM

Very good.

But I've probably misunderstood you for your last suggestion

So if I want "o" to select "Open in background tab" rather
than "Open in new tab" "Open in new window" or "oget" I add
"&" before "open in background tab"

which didn't work when I tried it in menus.cfg
I didn't see setmenu for open in background tab in macros main.kmm


I began using keyboard menu key to open context menu

EDIT - in fact oget is the only entry working when hitting "o" Pressing "o"more than once does not change that.


Normally I use drag to open a new tab, but drag doesn't work on some sites



Edited 2 time(s). Last edit at 08/30/2020 05:21PM by Mello.

Options: ReplyQuote
Re: Improvements / HOWTO customize menu shortkeys
Posted by: siria
Date: August 30, 2020 05:59PM

Quote
Mello
So if I want "o" to select "Open in background tab" rather
than "Open in new tab" "Open in new window" or "oget" I add
"&" before "open in background tab"

which didn't work when I tried it in menus.cfg
I didn't see setmenu for open in background tab in macros main.kmm

Great that you're hanging on digging a bit deeper in KM tricks! grinning smiley
It sounds like you did understand correctly, so have now investigated a bit too.

When clicking on a link, my context menu shows the K underlined, that means its NAME is currently defined exactly like this:
Open In Bac&kground Tab
This can be used to search inside files, and if wanting to be 100% sure, even searching across whole KM folder.
=> Yep, it's defined in menus.cfg

So you can change it there from
Open In Bac&kground Tab
to
&Open In Background Tab
as you probably did...

But I have a suspicion why this didn't seem to work...
This command name is contained in 2 menus!
In the normal "LinkOpen" menu, but also in "FrameOpen" menu.
The Frame menu comes first.... and you didn't expect menu names could exist several times?

By the way if anyone is using another browser language (not english), you'll find most translated menu NAMES instead in /locales/xx/*.kml files.

(_HOWTO_ howto menu short keys shortcuts underlined characters)

Options: ReplyQuote
Re: Improvements / HOWTO customize menu shortkeys
Posted by: siria
Date: August 30, 2020 06:16PM

Quote
Mello
Normally I use drag to open a new tab, but drag doesn't work on some sites

Just curious, dragging with left button, or mouse-gesture with right button?
Personally I just middle-click on links all the time, to open them in background.
Mouse-gestures are also extremely handy, and also discovered them way too late too, since then am using those all the time, mainly for Reload/Close Tab/Jump to right or left neighbor tab
But seeing how much you really dislike mouse buttons, am starting to think this has a reason, like being stuck on a touchpad...

Hmm, thinking about.... This command Open Link in Background is an easy example case for customizing, but if really wanting THIS command easier by keyboard:
just set your "mouse accelerators" to Firefox, and then hit CTRL+Left Click smiling smiley
http://kmeleonbrowser.org/wiki/faq#mouseaccels



Edited 1 time(s). Last edit at 08/30/2020 06:23PM by siria.

Options: ReplyQuote
Re: Improvements / HOWTO customize menu shortkeys
Posted by: Mello
Date: August 30, 2020 11:08PM

Thanks siria my brain isn't in now, I'll experiment tomorrow.

I use a touchpad on a notebook - mouse buttons gave me RSI, no such problems since swapping. So yes I drag with left click.

In fact I use autohotkey scripts to remap left click to the windows key and right click to capslock. These are far easier to access than the silly little plastic left/right click rocker bar. Also because keys have travel give they're easier on the finger joints. My right hand does all the touchpad swiping, page scrolling/ page up/down etc.

To give either hand a change of task, LShift also doubles up as down and R Ctrl doubles up as down and Alt Gr as up. The last two because most 10" notebooks have silly little (almost half size keys) for up and down.

Phew! Reads complicated but simple to set up and use.

Someone trying my keyboard might get a few surprises. :drool:

But, when I go to my wife's unmodified desktop keyboard to troubleshoot for her - I get a surprise.



Edited 1 time(s). Last edit at 08/30/2020 11:12PM by Mello.

Options: ReplyQuote
Re: Improvements / HOWTO customize menu shortkeys
Posted by: JohnHell
Date: August 30, 2020 11:32PM

Quote
Mello
Someone trying my keyboard might get a few surprises. :drool:

I do every time I'm near a notebook and the only thing I want to do when I have to use it is smashing my head against the nearest wall XD and better not talk about the touchpad.

Options: ReplyQuote
Re: Improvements / HOWTO customize menu shortkeys
Posted by: Mello
Date: September 02, 2020 03:52AM

Well... each to their own I (& my body) prefer touchpads.


I've got it siria - thanks



Edited 1 time(s). Last edit at 09/02/2020 03:53AM by Mello.

Options: ReplyQuote
Re: Improvements / HOWTO customize menu shortkeys
Posted by: siria
Date: September 02, 2020 03:31PM

Quote
Mello
Well... each to their own I (& my body) prefer touchpads.
I've got it siria - thanks

Uhm... what's "it" now meaning exactly... ;-)

But good idea to remap some keys! In general must say I'm with JohnH, for example sometimes I'm on a notebook where the "Pos1" and "End" keys require to press double keys, and one of them even only half-height even, every time makes me curse the designers. I wouldn't have thought there are "spare" keys which could be remapped, but thinking about, the right CTRL is never used here... AltGr is a usually a shortcut for CTRL+ALT, but doesn't work to open the taskmanager...
And of course, Touchpads are quite unhandy too, but may get a bit more bearable after some tweaking and especially learning, for right-clicks and middle clicks etc. But this seems to be different on every hardware, and thankfully use that stuff extremely rarely only, so haven't 'mastered' such stuff yet ;-)

Options: ReplyQuote


K-Meleon forum is powered by Phorum.