Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Will WebExtension's current post-document-load model (e.g. Vimium) be the only mechanism for accessing vim-like functionality?

  • 1 svar
  • 1 har detta problem
  • 2 visningar
  • Senaste svar av Mkll

more options

Vimium appears to be the only usable solution to using vim-like keybindings to access browser functionality post transition to WebExtensions. Vimium requires a tab to fully load before keybindings become accessible. This is tolerable for link-following as the links need to load before the browser can be instructed to follow one. For tab manipulation however this is an unacceptable model. Is there a more appropriate WebExtensions API to use for e.g. binding `h` and `l` to switch to previous and next tabs without requiring the current document to load first?

Vimium appears to be the only usable solution to using vim-like keybindings to access browser functionality post transition to WebExtensions. Vimium requires a tab to fully load before keybindings become accessible. This is tolerable for link-following as the links need to load before the browser can be instructed to follow one. For tab manipulation however this is an unacceptable model. Is there a more appropriate WebExtensions API to use for e.g. binding `h` and `l` to switch to previous and next tabs without requiring the current document to load first?

Ändrad av angelogladding

Alla svar (1)

more options

Hello, for now yes this is the case. More APIs will be added in time however. Documentation for WebExtensions: https://developer.mozilla.org/en-US/Add-ons/WebExtensions