From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: "Capture"-like browser plugin? Date: Thu, 30 Jul 2015 07:15:24 -0400 Message-ID: <871tfpc2wj.fsf@pierrot.dokosmarshall.org> References: <6sw6c7y4i7nejo.fsf@dhcp-10-92-133-17.hmco.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKloO-0006p2-W6 for emacs-orgmode@gnu.org; Thu, 30 Jul 2015 07:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKloL-0000FZ-9M for emacs-orgmode@gnu.org; Thu, 30 Jul 2015 07:15:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:40161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKloK-0000FM-VO for emacs-orgmode@gnu.org; Thu, 30 Jul 2015 07:15:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZKloD-0002EN-99 for emacs-orgmode@gnu.org; Thu, 30 Jul 2015 13:15:33 +0200 Received: from pool-108-20-41-232.bstnma.fios.verizon.net ([108.20.41.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jul 2015 13:15:33 +0200 Received: from ndokos by pool-108-20-41-232.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jul 2015 13:15:33 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Jay Dresser writes: > Peter Davis pfdstudio.com> writes: >> Frequently when I'm doing a Web search and find pages I like, I want to > save a link to the page, along with the >> title and perhaps a >> few notes. Something like org-mode's capture would be great, but I'd like > to initiate it from a browser. I >> imaging hitting a plugin >> button on the the browser's toolbar to open emacs via emacsclient, and > essentially do a capture with the >> link and whatever text I >> care to enter. >> >> Has anyone seen or heard of or written something like this? >> >> Thanks! >> -pd > > Not sure that you need a plug-in or extension, I just use this bookmarklet: > > javascript:location.href='org- > protocol://capture://x/'+encodeURIComponent(location.href)+'/'+encodeURIComp > onent(document.title)+'/'+encodeURIComponent(prompt('Tags?')) > > It prompts for the tags, which I separate with ":" (to be org-like). > This works fine in Chromium and I would think Firefox too. > But you still need to register the protocol with the browser. And that registration step has proven problematic in the past. -- Nick