Off-Topic :  K-Meleon Web Browser Forum
All which isn't K-Meleon related. 
Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: Mello
Date: February 18, 2021 08:24PM

Is this possible? I know little about IE.

My partner predominantly uses IE11 because it is highly compatible with Dragon Naturally Speaking voice recognition software, but for some pages or links she likes K-M.

Options: ReplyQuote
Re: Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: Mello
Date: February 19, 2021 04:30AM

After much searching I found these reg files to send a page to chrome or ff from IE

https://www.winhelponline.com/blog/ie-extension-open-web-page-different-browser/

The chrome one works for my chromium (I don't have ff installed).

Can these reg files be adapted to open k-m?

(files need to be placed in Windows\Web folder root - not in a subfolder)

Options: ReplyQuote
Re: Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: siria
Date: February 19, 2021 06:29AM

No idea of such stuff. You probably know more ;-)

Had a quick look at the Firefox addon, but looks complicated.
The Edge-addon too.
But the Chrome-addon looks quite simple!

Would just try to copy that one, and rename all "Chrome" to "K-Meleon" or kmeleon
Hmm, but no clue what those number queues in the reg-file mean...
If you have Chrome installed and FF not, perhaps better to copy the REG file of Firefox...

Then in file "chrome.htm":

sCmd = "chrome.exe" + " -- " + oParent.document.URL
sCmd = "kmeleon.exe" + " " + oParent.document.URL

Depending on how KM is installed, it may need the full path here, not just the exe, but you know better

An overview of KM commandlines:
http://kmeleonbrowser.org/wiki/links;commandlineoptions



Edited 3 time(s). Last edit at 02/19/2021 06:48AM by siria.

Options: ReplyQuote
Re: Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: Mello
Date: February 19, 2021 03:32PM

I know how to click on a reg file - that's about it. smiling smiley

Unfortunately, my first instinct - simply replacing chrome and ff entries in the reg & htm files - didn't work


I'll play around with your suggestions.



Edited 1 time(s). Last edit at 02/19/2021 03:35PM by Mello.

Options: ReplyQuote
Re: Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: JohnHell
Date: February 21, 2021 05:52PM

I don't have a clue either, but fiddling with a custom protocol, could be done too. Instead clicking a fancy button, write km:// in front of the current URL. "km://http://kmeleonbrowser.org";

Note that this is just experimental.


kmprotocol.reg
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\km]
"URL Protocol"=""
@="URL:HTTP (HyperText Transfer Protocol)"

[HKEY_CLASSES_ROOT\km\shell]

[HKEY_CLASSES_ROOT\km\shell\open]

[HKEY_CLASSES_ROOT\km\shell\open\command]
@="cmd /c kmprotocol.bat \"%1\""


kmprotocol.bat to be placed in your execution paths (one resulting on the command "set path" in a console)
set kmprotocolurl=%1
set kmpath=["pathtoyourkmeleon.exe- between quotes and without leading spaces after the equal ="]
start "" %kmpath% "%kmprotocolurl:~6%"



Edited 4 time(s). Last edit at 02/24/2024 09:12PM by JohnHell.

Options: ReplyQuote
Re: Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: Mello
Date: February 21, 2021 08:14PM

That was fun! - k-m opened 39 tabs (max set) when I tried it. Luckily
if was for a light, text only web page. smiling smiley

Options: ReplyQuote
Re: Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: JohnHell
Date: February 21, 2021 09:19PM

Weird. I said it was experimental, anyway, despite it works here.

You can debug it by placing rem before the start command (that sets the line as a comment) and add a pause at the end of the bat.

You'll be able to see what is being sent to the start command that way.

If it is that the url isn't being cut appropriately, you can change de number there.

Anyway, the result you should see is
start "" kmeleonpathbetweenquotes urlbetweenqoutes

set kmprotocolurl=%1
set kmpath=["pathtoyourkmeleon.exe- between quotes and without leading spaces after the equal ="]
rem start "" %kmpath% "%kmprotocolurl:~6%"
pause



Edited 2 time(s). Last edit at 02/24/2024 09:12PM by JohnHell.

Options: ReplyQuote
Re: Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: Mello
Date: February 21, 2021 10:03PM

My bad. Thanks for your assistance.

I typed the km prefix into K-m by mistake. lol

Works fine from IE

Many thanks

Options: ReplyQuote
Re: Send page that is open in Internet Explorer 11 to K-M:cool:
Posted by: JohnHell
Date: February 21, 2021 10:19PM

grinning smiley



Edited 2 time(s). Last edit at 02/21/2021 10:22PM by JohnHell.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.