vimium icon indicating copy to clipboard operation
vimium copied to clipboard

All commands stopped working on YouTube

Open ghost opened this issue 7 years ago • 14 comments

macOS 10.12.2 chrome 55.0.2883.95 vimium 1.57

Today all commands stopped working on youtube. If I switch with a mouse to another tab, vimium works as supposed, but on the youtube page it doesn't. The browser was relaunched and the OS was restarted.

ghost avatar Dec 28 '16 22:12 ghost

What colour is the Vimium icon, top right? Could you have accidentally added an exclusion rule?

smblott-github avatar Dec 29 '16 05:12 smblott-github

As far as I remember it was grey and when I clicked on it there weren't any keys excluded for the website. But I'll check it once again. Is there any debug mode I can enable to see what's happening?

ghost avatar Dec 29 '16 08:12 ghost

It's working for me right now, same version, same OS X version.

Zyst avatar Dec 30 '16 04:12 Zyst

Is there any debug mode I can enable to see what's happening?

Not really.

I think the most likely explanation is that you've accidentally added an exclusion rule. Your exclusion rules are listed at the top of the options page.

smblott-github avatar Dec 30 '16 04:12 smblott-github

Was able to test it again today. Fortunately, the icon is blue again and everything is OK. But I am very sure there weren't any exclusion rules. Just like it was some time ago when I opened an issue with the same problem, but using another OS and software versions. Maybe a rare chrome extension API bug or whatever. Anyway, thanks for your time.

ghost avatar Jan 01 '17 14:01 ghost

I managed to reproduce this!

  1. In chrome preferences choose "open where you left off".
  2. Open any page where vimium works (youtube, github etc.) and make it the only tab left (could be reproducible with more tabs left open).
  3. Press cmd+q.
  4. Open chrome again.
  5. Vimium is grey and no commands work.

ghost avatar Jan 03 '17 17:01 ghost

OK, @light2yellow. That makes sense.

It looks like it might be a race condition between the background page and the content script.

If the content script loads before background page is ready, then the content script's attempt to contact the background page will fail -- and Vimium will be disabled.

I'll look into it.

smblott-github avatar Jan 04 '17 06:01 smblott-github

So, this issue happens on Google Chrome for Linux too.

Once the browser is launched "where I left it off", the default page on which the browser opens doesn't have a blue plugin icon (let's say I closed 5 tabs being at 2nd, when I relaunch the browser it brings me on 2nd tab and the plugin is unresponsive for that tab, however, working as expected for other tabs).

And, more importantly, a workaround for this: manually refreshing the page helps (in our case, 2nd tab with which I am presented after the launch), where by "manually" I mean F5 and friends. I didn't try this workaround on macOS, nevertheless I believe it should solve the issue for it as well.

So there's definitely something special going on with the page shown first after the launch. I feel like it is loaded from cache/memory, and we know that this plugin doesn't work on local files (for some reason). However, I can be wrong.

ghost avatar Mar 23 '17 23:03 ghost

I'm more than happy to report than with 1.59 the add-on now loads on the tab on which the session was closed for the previous time. So, now it works, at least on Linux (with Chrome 57.0.2987.133) na at least on one PC. I'll test on other Linux later, but I don't have the access to macOS anymore.

ghost avatar Apr 13 '17 06:04 ghost

Nevermind, it doesn't work in general. That one was an exception (idk why). E.g. the issue is still reproducible.

ghost avatar Apr 13 '17 09:04 ghost

Bug still here

Rdna123 avatar Aug 21 '22 05:08 Rdna123

I also see inconsistency in behavior when I load youTube.

Sometimes vimium works, sometimes not.

afilp avatar Dec 27 '22 16:12 afilp

I also see inconsistency in behavior when I load youTube.

Sometimes vimium works, sometimes not.

~ditto, although i'm only seeing it on one device (windows 11 laptop with everything up to date). it might happen on other websites too, but i'm really noticing it on youtube right now. sometimes refreshing the page fixes it.~

oops, didn't notice this was a vimium issue - i'm a vimium c user so disregard. weird that it's happening on both extensions though, so leaving this comment up for posterity

betweenvenus avatar Feb 12 '23 04:02 betweenvenus

I appreciate that @betweenvenus lol. bug still there for youtube, also noticed some others sites not working as well, but I'm not sure what exactly is standard since I just switched from the link hints extension to Vimium. Anybody have any leads? not really in the position right now to get my hands dirty but maybe some time soon.

Marx-A00 avatar Feb 29 '24 18:02 Marx-A00