[qutebrowser] new protocols

Luis Mochan mochan at icf.unam.mx
Wed Jan 23 03:46:33 CET 2019


Another question,
I found out about the userscripts in qutebrowser. I guess they could
also be used, as well as the solution below, for translating from a
doi number to an access into the doi webpage and the actual article. 
What would be the advantages/disadvantages of a userscript solution as
compared to the c.url.searchengines one?
Regards,
Luis


On Tue, Jan 22, 2019 at 03:54:26PM -0600, Luis Mochan wrote:
> Hi Patric,
> 
> On Tue, Jan 22, 2019 at 01:07:47PM +0100, Patric Schmitz via qutebrowser wrote:
> > ...
> > could it be sufficient to define a search engine for this? So create an
> > entry in c.url.searchengines in your config.py like
> > 
> > 'doi': 'https://doi.org/{}',
> > 
> > which will allow you to just write
> > 
> > doi ...
> > 
> > in the address line? It won't be possible to click URL links of the form you
> > mentioned, but maybe that's enough for your usecase?
> 
> Yes, indeed. Thanks!
> 
> Regards,
> Luis
> 
> -- 
> 
>                                                                   o
> W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
> Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
> Apdo. Postal 48-3, 62251             |                           (*)/\/  \
> Cuernavaca, Morelos, México          | mochan at fis.unam.mx   /\_/\__/
> GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB
> 
> 

-- 

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Apdo. Postal 48-3, 62251             |                           (*)/\/  \
Cuernavaca, Morelos, México          | mochan at fis.unam.mx   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB




More information about the qutebrowser mailing list