[qutebrowser] Save to pocket, don't really open the url (key binding)

Florian Bruhin me at the-compiler.org
Mon Jun 4 10:35:45 CEST 2018

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.


https://www.qutebrowser.org | me at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.schokokeks.org/pipermail/qutebrowser/attachments/20180604/7026574e/attachment.asc>

More information about the qutebrowser mailing list