Extensions :  K-Meleon Web Browser Forum
All about K-Meleon extensions. 
Tiny macro "Redirect UseMyProgs" (mailto webmail etc.)
Posted by: siria
Date: July 07, 2015 11:59PM

Probably an extremely short-lived macro, until (hopefully soon) the filetypes bug gets fixed.
There are also better workarounds out there, fully automatic, just a bit too complicated for most normal users :cool: (e.g. here)

Anyway, if you want to open mailto-links with your webmail and don't manage it otherwise, try this macro and open them with a keyboard shortcut or right-click on the link and use the menu.

You can choose the target webmail and the keyboard shortcut yourself.
Just open the file with a simple editor like notepad and modify the URL and keys. Save again with "all files" option to keep the .kmm ending.

Currently the target is Zoho:
https://zmail.zoho.com/mail/compose.do?extsrc=mailto&mode=compose&tp=zb&ct=%1
and the shortcut "CTRL SHIFT LButton" (left-click on link)

IMPORTANT:
This macro does NOT touch, use or mess any native configurations, prefs, files, behaviors or whatever! All it does is add a temporary menu entry and shortcut, completely independant. That means it can peacefully run parallel to other stuff, as long as they don't use the same keyboard shortcut, but this choice is up to you. And nothing stays permanently: as soon as the kmm-file is deleted or deactivated all traces will be gone too.
To verify you can always open the kmm-file as text and look inside.
___________________________________________________
INSTALLATION: put the attached file into K-Meleons "macros" folder and restart the browser.
UNINSTALL: delete the file again
Temporary disable: F2 > K-Meleon Plugins > Macro Extension / uncheck "redirect_UseMyProgs"

PS: can't test zoho myself, have no mail account there :cool: Anyone?

Attachments: redirect_UseMyProgs.kmm (1.1 KB)  
Options: ReplyQuote
Re: Tiny macro "Redirect UseMyProgs" (mailto webmail etc.)
Posted by: rodocop
Date: July 08, 2015 08:23AM

It works fine, siria! Thank you very much!

Options: ReplyQuote
Re: Tiny macro "Redirect UseMyProgs" (mailto webmail etc.)
Posted by: rodocop
Date: July 08, 2015 08:30AM

We should ask our comrades to add to this macro the user prompt to add his own webmail-handlers.
Like in browser.kmm by adodupan.

Options: ReplyQuote
Re: Tiny macro "Redirect UseMyProgs" (mailto webmail etc.)
Posted by: siria
Date: July 09, 2015 01:24AM

Thank you rodocop! Glad it really works smiling smiley
And it also fills out the linked fields like subject and body too?

Have meanwhile considered to perhaps use a bit javascript and add the webmailer-prefix to all mailto-links in all page source codes automatically, that would make it fully automatic and also prevent outlook (or whatever) popping up each time annoyingly when clicking a mailto-link accidentally the normal way... But guess that would be rather drastic, overrule all native KM settings, and not sure about speed etc.

Personally am happy since years with merely adding a tiny envelope-icon in front of all mailto-links, to avoid accidents, also kinda easy with a bit css and handywork. A lot of stuff is easier the old handywork way, if users know about it :-)



Edited 1 time(s). Last edit at 07/09/2015 01:27AM by siria.

Attachments: email.gif (904 bytes)  
Options: ReplyQuote
Re: Tiny macro "Redirect UseMyProgs" (mailto webmail etc.)
Posted by: rodocop
Date: July 11, 2015 06:38AM

Yes, siria, it handles links with different fills as well as general mailto:s

Options: ReplyQuote


K-Meleon forum is powered by Phorum.