On Mon, Jun 04, 2018 at 10:09:01AM +0200, Felix Van der Jeugt wrote:
> Quoting Florian Bruhin (2018-06-04 09:18:05)
> > You can use -b instead to open a background tab, but you can't open an
> > URL without opening a tab at all.
> 
> I might add to Florian: you can't open a URL *in qutebrowser* without opening 
> a tab at all. You could, however, open a URL in a userscript without opening 
> a tab in qutebrowser.
> 
> You can bind a userscript to a hint, so the hint-selected URL is passed to 
> it. In the userscript, you could just cURL to 
> "https://getpocket.com/edit?url=$QUTE_URL";. See 
> https://qutebrowser.org/doc/userscripts.html for more information on 
> userscripts.

That works - but note that curl won't have qutebrowser's cookies, so you
presumably need to find a way to log in to Pocket that way.

Maybe there's some commandline tool (or Python library) to interact with
pocket which is still maintained - using something like that would
probably make things easier.

Florian

-- 
https://www.qutebrowser.org | m...@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/

Attachment: signature.asc
Description: PGP signature

Reply via email to