-
Notifications
You must be signed in to change notification settings - Fork 231
[feature request] iframe support #29
Comments
Could you link me to specific page(s) that does not work? |
Well, it might be a niche use-case, but if you go to https://translate.google.com/toolkit/ and upload some Japanese text to work on, then open it, the left pane in the workbench (the opened file) isn't being parsed |
Twitter widget: http://dic.nicovideo.jp/ |
So this is still appears to be a problem for the twitter widget, but the latest release solves IFRAME issues in general. I think the problem is that the Twitter IFRAME is procedurally generated so that the content script is not injected into it? Need to investigate this further. |
I'm still seeing some iframe issues. Take this Amazon page. Scanning the text in the description (starting with 1000年後の日本。) don't show the popup. I've seen the popup not work on other sites, but I'm not sure if they were iframe issues and I don't remember the sites off hand. |
@seanblue For me the popup shows up, but it's almost unusable because the iframe is so small. It would be possible to open a popup on the root page with the framework that was added in recursive popups (#185), but there could be some problems positioning the popup according to #185 (comment). |
I have looked into supporting iframes after the recursive popups were added, and the only issue that really prevents it is that there is no way to determine which |
I seem to have the same problem. |
Looking a bit more into this: the issue I mentioned in my previous comment in this thread is still present, but it may be worth it to support the "Full width" display mode as a first step. However, another issue has presented itself: iframes don't load in a specific order, and they can also load before the root frame has completed loading. The result of this is that the proxy communication port that is (attempted to be) opened will occasionally fail because the root frame loads after the iframe. This is another issue which will need to be resolved before any sort of iframes support can work. |
FYI @m-azuma: A change has been made to the development branch which makes the user script you mentioned in #29 (comment) work with Yomichan: cc989f4. This change should be included in a future release. |
@seanblue with #417 merged, it will soon be possible to show popups created with iframe content on the root frame so that the popup size is not limited by the iframe size. It's found at "Show iframe popups in root frame" under General Options when advanced options are enabled. This option won't work when the iframe is in fullscreen mode, and there's #432 to track a workaround for it. Another issue with the popup not showing up at all was already fixed earlier in cc989f4. |
There are several sites, like google translator toolkit, where different parts of the page are broken up into iframes. It would be nice to be able to check text in all the frames on sites that still use them.
The text was updated successfully, but these errors were encountered: