谷歌浏览器显示无法翻译此网页的两种解决方法
谷歌瀏覽器顯示無法翻譯此網(wǎng)頁(yè)怎么解決?最近有用戶反映在使用谷歌瀏覽器的時(shí)候,遇到了自帶翻譯功能不能使用的情況,導(dǎo)致沒辦法正常瀏覽英文網(wǎng)頁(yè),這是怎么回事呢?針對(duì)這一問題,本篇帶來了詳細(xì)的兩種解決方法,操作簡(jiǎn)單,分享給大家。
谷歌瀏覽器顯示無法翻譯此網(wǎng)頁(yè)的兩種解決方法
方法一
1、雙擊打開此電腦,在其中找到C:WindowsSystem32driversetc目錄下的hosts文件。
2、選中“hosts”文件,將其后綴名改成“.txt”變成文本文檔格式,并對(duì)它進(jìn)行編輯。
3、雙擊打開,在頁(yè)面最下方添加以下兩個(gè)地址:#203.208.46.200 translate.google.com#203.208.46.200 translate.googleapis.com接著將文件擴(kuò)展名刪除,即變成之前的格式。
4、快捷鍵“win+R”開啟運(yùn)行對(duì)話框,在其中輸入“cmd”命令并以管理員權(quán)限運(yùn)行,進(jìn)入命令提示符窗口后輸入“ipconfig /flushdns”命令,回車鍵執(zhí)行,當(dāng)下方出現(xiàn)提示即可。
方法二 首先在本站下載谷歌瀏覽器bat腳本一鍵執(zhí)行【點(diǎn)擊下載】 注意:要以管理員身份打開! @setlocal enabledelayedexpansion @echo off set “source_domain=google.cn” set “target_domain=translate.googleapis.com” set “hosts_file=C:\Windows\System32\drivers\etc\hosts” for /f “skip=4 tokens=2” %%a in (‘“nslookup %source_domain% 2>NUL”’) do set ip=%%a set “old_rule=null” set “new_rule=%ip% %target_domain%” for /f “tokens=*” %%i in (‘type %hosts_file%’) do ( set “l(fā)ine=%%i” :: Retrieve the rule If the target domain has been exists in the line. if not “!line:%target_domain%=!”==“%%i” set “old_rule=%%i” ) if not “%old_rule%”==“null” ( if not “%old_rule%”==“%new_rule%” ( echo Deleting the rule “%old_rule%” echo Adding the rule “%new_rule%” for /f “tokens=*” %%i in (‘type “%hosts_file%” ^| find /v /n “” ^& break ^> “%hosts_file%”’) do ( set “rule=%%i” set “rule=!rule:*]=!” if “%old_rule%”==“!rule!” set “rule=%new_rule%” >>%hosts_file% echo(!rule! ) ) else ( echo The rule already exists, nothing to do. ) ) else ( echo Adding the rule “%new_rule%” echo.>>%hosts_file% echo.>>%hosts_file% echo # Fix Google Translate CN>>%hosts_file% echo %new_rule%>>%hosts_file% ) echo Done. pause
總結(jié)
以上是生活随笔為你收集整理的谷歌浏览器显示无法翻译此网页的两种解决方法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 抖音怎么把音乐变成自己创作原声?抖音怎么
- 下一篇: 完美世界对战平台玩csgo游戏闪退怎么解