Google Translate iframe workaround

前端 未结 4 662
礼貌的吻别
礼貌的吻别 2020-12-20 11:10

I\'m using Google Translate tools to translate a web page and I also have an iframe on this page, that is not obviously translated with the page.

Is there a workarou

4条回答
  •  再見小時候
    2020-12-20 11:46

    If you need to translate the page with iframes, you can:

    1. Use Bing Translator, that proxyfies request, so it wouldn't be cross domain.

    site:

    https://www.bing.com/translator

    plugin that uses it (not tested):

    https://chrome.google.com/webstore/detail/translator/blndkmebkmenignoajhoemebccmmfjib

    2. You can run your browser (if it's Chrome) with --disable-web-security param, so it would allow access to frames from other domains.

    Please note that it's dangerous and should only be used on trusted sites.

提交回复
热议问题