General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Send Link
Posted by: Brad Schilling
Date: December 13, 2002 09:04PM

There is no send link to mail recipent. Do I need a plug in or something?

Options: ReplyQuote
Re: Send Link
Posted by: SlideRule
Date: December 13, 2002 10:29PM

Brad:

The following 'macro' that can be 'defined' in macros.cfg will probably do what you need (open up your email program, and include the link in the body of ).

You WILL have to 'put' the macro . . . for instance . . .

macros(email_link)


in the location of your choice . . . that is, in menus.cfg, as an example.

# emails current url to a user
email_link {
menu = "Email &Link";
open("javascript:{var subject=document.title;var body=location.href;self.location='subject='+subject+'&body='+body;}");" rel="nofollow" >mailtomoody smileysubject='+subject+'&body='+body;}");
}

Hope the helps.

SlideRule

Options: ReplyQuote
Re: Send Link
Posted by: Brad Schilling
Date: December 16, 2002 02:51PM

I tried putting in the macro but did not work. I don't know much about this program.

Options: ReplyQuote
Re: Send Link
Posted by: jsnj
Date: December 16, 2002 05:40PM

Doesn't quite work for me either . When I tried with specific links from sites such as Yahoo or Excite it just pastes the page url not the link specified within the page.

The following is a very simple attempt & the closest I can come to a functioning send link macro that I can use. But it requires an extra step of Ctrl V or right-click pasting of the link URL in the message body once the mail program is opened. Anyone know how to make this macro work better?

email_link{
menu=Email Link
id(ID_COPY_LINK_LOCATION);
open(;" rel="nofollow" >mailtosmiling smiley;
id(ID_EDIT_PASTE);
}

Options: ReplyQuote
Re: Send Link
Posted by: po
Date: December 16, 2002 10:58PM


if you're using the macro from the context menu to send links from a page, this might work (i haven't tested it, though)... keep in mind that not all mail clients will accept arguments for text to be placed in the body of a new message... many do, though.

email_link {
menu = Email Link
open("mailtomoody smileybody=" . $LinkURL);
}

Options: ReplyQuote
Re: Send Link
Posted by: jsnj
Date: December 17, 2002 04:28AM

Thanks Po. It worked.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.