6 votes

Vim Vixen extension for Firefox breaks on Tildes

Tags: bug

Hi, I'm new here. I use an extension for Firefox called Vim Vixen that allows the user to navigate webpages pretty effectively via the keyboard. One of its features allows the user to press the f key to bring up an overlay of keybindings over all links on the page, and pressing the keys associated with a link causes the browser to follow the link. I'm not intimately familiar with how the extension works, but with some basic Inspect Element-fu, I'm reasonably sure this feature is implemented with an iframe that is injected over the entire page.

On Tildes, the iframe is visible in the top left corner and shifts all the actual content over accordingly. Normally, it is invisible. This is the only time I've ever had a problem with the extension, which is why I'm posting here first rather than reporting an issue with the extension. If someone more knowledgeable is interested in creating a fresh Firefox profile and comparing how the extension works on Wikipedia and on Tildes, I'd appreciate it. The code for the iframe appears to be identical on both sites, and it's at the end of the page body.

8 comments

  1. [2]
    Comment deleted by author
    Link
    1. liam
      Link Parent
      My bad, I searched ~tildes but not the repo issues!

      My bad, I searched ~tildes but not the repo issues!

      3 votes
  2. [2]
    Comment deleted by author
    Link
    1. liam
      Link Parent
      Thanks for the info; should have searched the repo.

      Thanks for the info; should have searched the repo.

      4 votes
  3. [4]
    confusedninja
    Link
    maybe try vimium it doesn't seem to have issue you mentioned.

    maybe try vimium it doesn't seem to have issue you mentioned.

    2 votes
    1. [3]
      cfabbro
      Link Parent
      I can't speak to vimium... but Tridactyl works just fine with Tildes restrictive CSP from what I can tell. It's what I have been using based on Deimos' recommendation (so I assume it works fine...

      I can't speak to vimium... but Tridactyl works just fine with Tildes restrictive CSP from what I can tell. It's what I have been using based on Deimos' recommendation (so I assume it works fine for him too).

      3 votes
      1. [2]
        liam
        Link Parent
        I briefly switched to Tridactyl a while ago but didn't like the default commands. Just switched back and put in the effort, and I'm liking it slightly more than Vim Vixen. It seems to have better...

        I briefly switched to Tridactyl a while ago but didn't like the default commands. Just switched back and put in the effort, and I'm liking it slightly more than Vim Vixen. It seems to have better documentation and development practices, but I wish there was a dedicated page for modifying keybindings rather than the somewhat sprawling nmaps and excmds documentation.

        3 votes
        1. cfabbro
          (edited )
          Link Parent
          Yeah, messing with the keybindings can be pretty annoying, so I haven't really bothered with it too much. I generally just stuck to learning the defaults, other than rebinding a few that...

          Yeah, messing with the keybindings can be pretty annoying, so I haven't really bothered with it too much. I generally just stuck to learning the defaults, other than rebinding a few that particularly annoyed me, e.g. I changed scrollpage 1 from <C-f> to <C-v>, since I am too habituated to using Ctrl-f for "find in page".

          p.s. Referencing the config.ts and using :unbind and :bind to shift things around is how I did it.

          1 vote
  4. [2]
    mrbig
    Link
    Do Tildes have any native keyboard shortcuts? I don't know cause I use Vimium. Apart from That, Tildes itself could have a native Vim-like mode? One can only dream :)

    Do Tildes have any native keyboard shortcuts? I don't know cause I use Vimium.

    Apart from That, Tildes itself could have a native Vim-like mode? One can only dream :)

    2 votes
    1. cfabbro
      (edited )
      Link Parent
      Not that I am aware of, nor is anything currently in the works AFAIK. However: https://gitlab.com/tildes/tildes/issues/251 https://tildes.net/~tildes/61t

      Not that I am aware of, nor is anything currently in the works AFAIK. However:

      https://gitlab.com/tildes/tildes/issues/251
      https://tildes.net/~tildes/61t

      Deimos September 6, 2018

      I use Tridactyl for Firefox myself, but I can understand wanting some native functionality for it too. The difference is that the extensions are generalized and just allow you to basically click links/buttons in the same way you'd do with a mouse, but built-in keyboard functionality can be specialized for the site specifically and be more intuitive/efficient.

      2 votes