conkeror with evernote

View: New views
3 Messages — Rating Filter:   Alert me  

conkeror with evernote

by Vinh Nguyen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

dear conkeror list,

i would like to use evernote's 'clip web' feature.  in firefox or
safari, i could drag a link that has the following address to the
bookmarks bar:
javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var%20x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new%20Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();

i don't really know javascript, but can i create a webjump for this
javascript function?  i'd like to be able to surf the web, and when i
want to save the page and some notes, i can call this wejump, which
opens up a small javascript message window on the page.

do-able?  thanks.

vinh
--
This e-mail/fax message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail/fax and destroy all copies
of the original message.
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: conkeror with evernote

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Sep 03, 2009 at 10:46:22PM -0700, Vinh Nguyen wrote:

> dear conkeror list,
>
> i would like to use evernote's 'clip web' feature.  in firefox or
> safari, i could drag a link that has the following address to the
> bookmarks bar:
> javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var%20x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new%20Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();
>
> i don't really know javascript, but can i create a webjump for this
> javascript function?  i'd like to be able to surf the web, and when i
> want to save the page and some notes, i can call this wejump, which
> opens up a small javascript message window on the page.
>
> do-able?  thanks.


Hi Vinh,

  Refer to the adelicious webjump in modules/webjump.js for an example of
a webjump which is a javascript: url.

--
John Foerch
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: conkeror with evernote

by Vinh Nguyen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ahh thanks john.  i should make it a habit to check the conkeror
source before emailing.
for anyone interested, i just did:
define_webjump("clip",
"javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var%20x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new%20Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();");

and it works.  i plan to do this for diigo too.
--
This e-mail/fax message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail/fax and destroy all copies
of the original message.



On Thu, Sep 3, 2009 at 10:46 PM, Vinh Nguyen<vinhdizzo@...> wrote:

> dear conkeror list,
>
> i would like to use evernote's 'clip web' feature.  in firefox or
> safari, i could drag a link that has the following address to the
> bookmarks bar:
> javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var%20x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new%20Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();
>
> i don't really know javascript, but can i create a webjump for this
> javascript function?  i'd like to be able to surf the web, and when i
> want to save the page and some notes, i can call this wejump, which
> opens up a small javascript message window on the page.
>
> do-able?  thanks.
>
> vinh
> --
> This e-mail/fax message, including any attachments, is for the sole
> use of the intended recipient(s) and may contain confidential and
> privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient,
> please contact the sender by reply e-mail/fax and destroy all copies
> of the original message.
>
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror