KMeleonWiki > Resources > MacroLibrary > KmmEvernote

Submitted by: rstlne


Evernote is a hybrid online/offline note-taking application. Evernote comes with chrome browser extension and has android and ios apps as well. It comes with a bookmarklet allowing you to clip web pages to an Evernote notebook. Unfortunately, that bookmarklet breaks if your bookmarks are set to open in a new layer. This macro does the same thing by injecting the same javascript that the bookmarklet uses and it works regardless of your bookmark settings.

Invoke this macro from the document popup menu. You do not need to be logged in to Evernote before you use the macro, although if you aren't logged in, Evernote will ask you to do so before saving the web clipping.

Open your User Macro Folder (Edit > Configuration > User-Defined Macros) or your Macro Folder (Edit > Configuration > Macros) and create the following text file(s):


# evernote.kmm
# Macro for clipping a web page to Evernote. (http://www.evernote.com) It is the
# same as using Evernote's bookmarklet, except that the macro works even if you
# have set your bookmark options to open bookmarks in a new layer.

$__s=$__s."try{var x=document.createElement('SCRIPT');";
$__s=$__s."(new Date().getTime()/100000);";

setmenu(Document,macro,"Clip to Evernote",evernote_inject,-1);


# vim:set tw=0:
# -- The End --

Comments & Questions


(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.