Mail_SendPageURL{ $JS_doit="with(top.document)location='mailtosubject=[Webpage] '+encodeURIComponent(title)+'&body=See URL: '+encodeURIComponent(URL)"; &JS_hndlDoc; } Mail_SendLinkURL{ $JS_doitLink="j=a.length;location='mailtobody='+encodeURIComponent(href)"; &JS_hndlLink; } Mail_SendImageURL{ $JS_doitImage="a=false;location='mailtosubject=[Image] '+encodeURIComponent((title)?title:¤((alt)?alt:document.title))+'&body=See URL: '+encodeURIComponent(src)"; $JS_doitInput=$JS_doitImage; &JS_hndlImage; } Mail_SendFrameURL{ $JS_doit="location='mailtosubject='+encodeURIComponent(title)+'&body='+encodeURIComponent(URL)"; &JS_hndlDoc; } Mail_SendSelection{ $JS_doit="if(getSelection())location='mailtosubject=[Clipping] '+encodeURIComponent(title)+'&body='+encodeURIComponent(getSelection())+'%0D%0A%0D%0A- - - - -%0D%0AClipping from URL:%0D%0A'+encodeURIComponent(URL)"; $SelectedText==""?0:&JS_hndlDoc; }Attention: please remove any '¤' sign found in the code above.
Quote
foobarly
the send 'Send By Mail' context menu option isn't always working (like with a selection in http:// www.tcbmi.com/strokeit/donate.shtml)
Quote
foobarly
the javascript error console is showing this error: 'Deprecated method document.getSelection() called. Please use window.getSelection() instead'.
$JS_doit="if(getSelection())location='mailtosubject=[Clipping] '+encodeURIComponent(title)+'&body='+encodeURIComponent(getSelection())+'%0D%0A%0D%0A- - - - -%0D%0AClipping from URL:%0D%0A'+encodeURIComponent(URL)"; $SelectedText==""?0:&JS_hndlDoc;
$JS_doit="if(window.getSelection())location='mailtosubject=[Clipping] '+encodeURIComponent(title)+'&body='+encodeURIComponent(window.getSelection())+'%0D%0A%0D%0A- - - - -%0D%0AClipping from URL:%0D%0A'+encodeURIComponent(URL)"; $SelectedText==""?0:&JS_hndlDoc;
Quote
foobarly
In the first instance, could it be that server side includes aren't compatible with this?
Mail_SendPageURL{ $JS_doit="with(top.document)location='mailtosubject=[Webpage] '+encodeURIComponent(title)+'&body=See URL: '+encodeURIComponent(URL)"; &JS_hndlDoc; } Mail_SendLinkURL{ $JS_doitLink="j=a.length;location='mailtobody=See URL: '+encodeURIComponent(href)"; &JS_hndlLink; } Mail_SendImageURL{ $JS_doitImage="a=false;location='mailtosubject=[Image] '+encodeURIComponent((title)?title:¤((alt)?alt:document.title))+'&body=See URL: '+encodeURIComponent(src)"; $JS_doitInput=$JS_doitImage; &JS_hndlImage; } Mail_SendFrameURL{ $JS_doit="location='mailtosubject=[Webcontent] '+encodeURIComponent(title)+'&body=See URL: '+encodeURIComponent(URL)"; &JS_hndlDoc; } Mail_SendSelection{ $JS_doit="if(window.getSelection())location='mailtosubject=[Clipping] '+encodeURIComponent(title)+'&body='+encodeURIComponent(window.getSelection())+'%0D%0A%0D%0A- - - - -%0D%0AClipping from URL:%0D%0A'+encodeURIComponent(URL)"; $SelectedText==""?0:&JS_hndlDoc; }Attention: please remove any '¤' sign found in the code above.
Quote
foobarly
1. A lot of the text I am currently capturing uses diacritics, so the mail message output is spit out in a garbled ugliness -- I am guessing this is UTF-8 Unicode -- a situation I mostly solve by re-copying and re-pasting via the Windows clipboard; now if the clipboard can handle this type of text fine, K-Meleon macros should too, right?
Quote
foobarly
2. I still use and old IE frontend called MixBrowser for its ability to embed a full webpage in the body of an HTML formatted email message, a really useful trick that I can't even start to figure how to replicate with KM -- but sure would love too.
http://my.opera.com/Lex1/blog/quick-saver-2-1