為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can one disable the embedded Google Translate

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 guigs

more options

Hi,

some websites have embedded the Google Translate in the code. I.E. every time one opens the site, you get this blue "Do you want to translate this page" - bar. Is there an extension one can use to block the stupid bar. I manage English just fine on my own and if I need translation, I will ask for it, I do not need to be asked about it every time. (My Firefox and O.S. are not the English versions).

I know I can use cookies to let the pages know that I do not want the translation, but I have set Firefox to deletye cookies upon exit, and I will keep it that way.

Hi, some websites have embedded the Google Translate in the code. I.E. every time one opens the site, you get this blue "Do you want to translate this page" - bar. Is there an extension one can use to block the stupid bar. I manage English just fine on my own and if I need translation, I will ask for it, I do not need to be asked about it every time. (My Firefox and O.S. are not the English versions). I know I can use cookies to let the pages know that I do not want the translation, but I have set Firefox to deletye cookies upon exit, and I will keep it that way.

所有回覆 (1)

more options

Hi Just this one question, Thank you for your question. I understand that you are asking if there is a way to disable the question "Do you want to translate this page" when you come to a site that has Google Translate in its code. I do not have a complete understanding of how this is implemented without an example website, however it is possible use the do not track option to conceal information about you to other websites.

It looks like the embedded widget uses the html lang tags to note what the page was mechanically translated from: http://en.wikipedia.org/wiki/IETF_language_tag and their support should be provided by the site using the API.

I did find that you can add a span class to not translate, but this would require adding it to every page you visit. https://cloud.google.com/translate/v2/faq#technical Or maybe you can try an add on that just blocks connections: https://www.googleapis.com/language/t.../v2, I have not tried this.