Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use shortcut in reader view #124

Open
book987 opened this issue Nov 20, 2020 · 5 comments
Open

Cannot use shortcut in reader view #124

book987 opened this issue Nov 20, 2020 · 5 comments

Comments

@book987
Copy link

book987 commented Nov 20, 2020

Hi.

reader view: no response using shortcut, option in right-click menu works fine
normal view: both work fine

Is this known? Anyone else face the same?

Firefox 83.0 (20201112153044)
Mac Catalina (10.15.6)

@book987
Copy link
Author

book987 commented Nov 20, 2020

window.getSelection().toString() got <empty string>

chrome.tabs.executeScript({code: "window.getSelection().toString();"}, function (selection) {...}) got selection is undefined at background/translate.js:98

@book987
Copy link
Author

book987 commented Nov 20, 2020

Oh there's another exception said Missing host permission for the tab. tab.url in reader mode is something like about:reader?url=xxx. maybe it's the root cause?

@Vanquish081
Copy link

Same problem....
image

Firefox 87.0(64bit) but in the previous version same error...

@Magnetarus
Copy link

Magnetarus commented Jun 1, 2021

As a workaround, go to the add-ons menu, open the Google Translate extension > Options, then enable Open in New Tab. image

Alternatively, you can click the + sign in the upper right corner which will also open the translator in a new tab.

@WBienePeC
Copy link

What is an "add-ons menu"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants