-
Notifications
You must be signed in to change notification settings - Fork 263
Sometimes scanning doesn't work #305
Comments
It looks like the error is coming from A few questions:
|
Google Chrome on Windows 10.
Whenever this happens it's as if the page gets into a bad state. Once it happens once it happens 100% of the time until I reload the page.
It's sporadic. Some websites never exhibit this problem, while others do on occasion. This is why I believe it's some combination of website and extension code causing a race condition.
There was nothing special about the page it happened on. All I can say is that the content was not in an iframe. I'll be sure to comment again when I see the issue happen on a free/open website. For now I just wanted to make you aware of the general problem in case the cause was obvious. This isn't a new issue by the way. This has been happening on and off for a long time. |
I'm hoping the issue is a simple timing issue, where the window is being accessed before it's loaded. That should be relatively easy to fix. That's what it sounds like is happening, but it's odd that the page doesn't recover without refreshing. I'll implement a fix for that soon, but I probably won't be able to 100% verify that it fixes the issue, since I've never seen the error before. |
Closing since the codebase has changed in ways that should have resolved this issue. |
I'm having trouble with scanning in one specific website. I've checked the dictionaries and reloading the page, it seems everything is in order. Thanks! |
What website? |
This one: I have used Yomichan in this site many times without issues, but lately it hasn't been working... |
It seems to work for me. Can you:
|
Hi, is this printscreen what you were asking for? Also, I had to convert the exported Yomichan settings file, because I couldn't upload a .json file here. I'm sorry if I got it wrong, I'm totally new to this. |
Add the .json file to a .zip, or rename to a .txt; github doesn't let you upload json for some reason. |
yomichan-settings-2021-06-23-12-01-36.txt Is this what you were asking for? I tried uninstalling the dictionaries and reinstalling, but the same issue keeps happening only with this particular website. |
I see the issue now. As a temporary workaround, go to the settings and disable Show iframe popups in the root frame under the Popup heading (you'll need to enable Advanced mode) and the website should work. I'll work on a fix for the issue for when that setting is enabled. |
Done, it's working now! Thank you so much!! |
Hi, Thanks! |
@toasted-nutbread should already be available :) |
Thanks so much, it has started working again!! |
@FooSoft My mistake, thanks! |
Hi, Thanks! |
The actual issue is #2093, Google has made some changes which basically block Yomichan from functioning on Google Docs. |
This error happened on Bunpro (which happens occasionally, though it usually works), but I've also seen scanning randomly fail on other websites over many months. I wonder if there's something about how their JavaScript is written that causes a conflict or race condition with the extension.
Here is the error for this occurrence:
The text was updated successfully, but these errors were encountered: