Re: [dev] [surf] Link hints (javascript) not working

From: Viktor Grigorov <vlg_AT_tutamail.com>
Date: Fri, 15 Apr 2022 12:12:51 +0200 (CEST)

Hey,

I have a slightly modified linkhints, that i use with both surf and boredserf. I'm attaching it so to forgo more questions, but the gist is:
       if(e.altKey && String.fromCharCode(e.keyCode) == '1') { hintMode(); }
  else if(e.altKey && String.fromCharCode(e.keyCode) == '2') { hintMode(true); }

cheers

Apr 15, 2022, 02:05 by robert.winkler_AT_bioprocess.org:

> Used to qutebrowser, vimb and SurfingKeys, I can't use a browser without
> link hints anymore!
>
> I tried <https://surf.suckless.org/files/link_hints/>, placed it into
> ~/.surf/script.js and made it executable:
>
> ~~~
> chmod +x script.js
> ~~~
>
> However, no reaction with [CTL]+[SHIFT]+[f].
>
> 1) Anything I'm missing (config.h, ...)?
>
> 2) How can I re-map the keybindings for another modifier (such as ALT, Mod4,
> or nothing, i.e., just "f')?
>
> Best regards,
> Robert
>


Received on Fri Apr 15 2022 - 12:12:51 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 15 2022 - 12:24:07 CEST