ixrock / XTranslate

Easy translate text on web pages (chrome extension)
https://chrome.google.com/webstore/detail/xtranslate/gfgpkepllngchpmcippidfhmbhlljhoo
114 stars 27 forks source link

The pop-up window doesn't work on offline pages #54

Closed tellator closed 2 years ago

tellator commented 2 years ago

the translation icon is not displayed next to the highlighted text if the html page is on the local computer. Other ways to call a pop-up window (keyboard shortcut, for example) don't work either

ixrock commented 2 years ago

Your issue would be fixed if you enable checkbox "Allow access to file URLs" in the "Details" (of extension in the list of extensions at chrome://extensions/ ?)

ixrock commented 2 years ago

@Ijkol so, I assume "offline pages" == "local pages" (which URL starting from file://*) right? If so you should enable checkbox ^, otherwise you cannot expect this extension to work offline.. (except probably cases with saved dictionary words)

tellator commented 2 years ago

@Ijkol so, I assume "offline pages" == "local pages" (which URL starting from file://*) right? If so you should enable checkbox ^, otherwise you cannot expect this extension to work offline.. (except probably cases with saved dictionary words)

thank you, providing access to the file urls worked. Yes, I was referring specifically to local html files, when viewing them, the pop-up window did not work even with the Internet. Everything is fine now, thank you