Skip to content

hackape/Detect-Vimium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5a72231 · Mar 20, 2019

History

16 Commits
Aug 1, 2015
Sep 22, 2012
Jun 29, 2017
Mar 20, 2019
Jun 29, 2017

Repository files navigation

Detect the Vimium Chrome extension

Detect whether the Vimium Chrome extension is installed. Tested on Vimium v1.59. As for an official solution to Vimium detection, keep an eye on Vimium issue#2399

hasVimium returns true if Vimium is detected, false otherwise. This detection is not 100% accurate.

if (hasVimium()) {
  alert("Hey, you have Vimium!");
} else {
  alert("I don't detect Vimium, but it might still be there.");
}