News for hackers. Stuff that matters.
Re:Vimium – The Hacker's Browser by qolop on Monday February 27, 2023 @11:51PM (#34965763)
It's not possible to detect the presence of Vimium.

https://github.com/philc/vimium/issues/2399

Re:Vimium – The Hacker's Browser by cepp on Tuesday February 28, 2023 @12:13AM (#34965885)
I distinctly remember when I first got on-boarded to Superhuman their app detected Vimium running and asked me to disable it for their site.
Re:Vimium – The Hacker's Browser by qolop on Tuesday February 28, 2023 @01:31AM (#34966340)
How long ago was this? There used to be a way to do this for earlier versions of Vimium but that doesn't work anymore. Very interested in knowing if it's still possible. Will check out superhuman.
Re:Vimium – The Hacker's Browser by Timothee on Tuesday February 28, 2023 @08:04AM (#34968808)
I work at Superhuman. We used to have code to detect Vimium, though we evidently we removed it very recently, while working on something tangentially related. It was working but definitely finicky over the years.

The initial way we checked for it was looking for document.body.matches('*[_vimium-has-onclick-listener]') but apparently that stopped working in 2018. We then used a variation of this code: https://github.com/hackape/Detect-Vimium/blob/master/detect-... which seems to work still.