Google翻译某些主机上的自阻止功能?

时间:2019-03-27 11:40:46

标签: google-translate

我在某些主机上的网站上尝试加载Google翻译时遭到了阻止。

Refused to execute script from 'https://translate.googleapis.com/translate_a/l?client=te&alpha=true&hl=fr&cb=_callbacks____0jtr2z0a8' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

HTTP响应为:

_callbacks____0jtr2z0a8({"sl":{"auto":"Détecter la langue","af":"Afrikaans","sq":"Albanais","de":"Allemand","am":"Amharique","en":"Anglais","ar":"Arabe","hy":"Arménien","az":"Azéri","eu":"Basque","bn":"Bengali","be":"Biélorusse","my":"Birman","bs":"Bosniaque","bg":"Bulgare","ca":"Catalan","ceb":"Cebuano","ny":"Chichewa","zh-CN":"Chinois","si":"Cingalais","ko":"Coréen","co":"Corse","ht":"Créole haïtien","hr":"Croate","da":"Danois","es":"Espagnol","eo":"Espéranto","et":"Estonien","fi":"Finnois","fr":"Français","fy":"Frison","gd":"Gaélique (Écosse)","gl":"Galicien","cy":"Gallois","ka":"Géorgien","el":"Grec","gu":"Gujarati","ha":"Haoussa","haw":"Hawaïen","iw":"Hébreu","hi":"Hindi","hmn":"Hmong","hu":"Hongrois","ig":"Igbo","id":"Indonésien","ga":"Irlandais","is":"Islandais","it":"Italien","ja":"Japonais","jw":"Javanais","kn":"Kannada","kk":"Kazakh","km":"Khmer","ky":"Kirghiz","ku":"Kurde","lo":"Laotien","la":"Latin","lv":"Letton","lt":"Lituanien","lb":"Luxembourgeois","mk":"Macédonien","ms":"Malaisien","ml":"Malayalam","mg":"Malgache","mt":"Maltais","mi":"Maori","mr":"Marathi","mn":"Mongol","nl":"Néerlandais","ne":"Népalais","no":"Norvégien","uz":"Ouzbek","ps":"Pachtô","pa":"Panjabi","fa":"Persan","pl":"Polonais","pt":"Portugais","ro":"Roumain","ru":"Russe","sm":"Samoan","sr":"Serbe","st":"Sesotho","sn":"Shona","sd":"Sindhî","sk":"Slovaque","sl":"Slovène","so":"Somali","su":"Soundanais","sv":"Suédois","sw":"Swahili","tg":"Tadjik","tl":"Tagalog","ta":"Tamoul","cs":"Tchèque","te":"Telugu","th":"Thaï","tr":"Turc","uk":"Ukrainien","ur":"Urdu","vi":"Vietnamien","xh":"Xhosa","yi":"Yiddish","yo":"Yorouba","zu":"Zoulou"},"tl":{"af":"Afrikaans","sq":"Albanais","de":"Allemand","am":"Amharique","en":"Anglais","ar":"Arabe","hy":"Arménien","az":"Azéri","eu":"Basque","bn":"Bengali","be":"Biélorusse","my":"Birman","bs":"Bosniaque","bg":"Bulgare","ca":"Catalan","ceb":"Cebuano","ny":"Chichewa","zh-CN":"Chinois (simplifié)","zh-TW":"Chinois (traditionnel)","si":"Cingalais","ko":"Coréen","co":"Corse","ht":"Créole haïtien","hr":"Croate","da":"Danois","es":"Espagnol","eo":"Espéranto","et":"Estonien","fi":"Finnois","fr":"Français","fy":"Frison","gd":"Gaélique (Écosse)","gl":"Galicien","cy":"Gallois","ka":"Géorgien","el":"Grec","gu":"Gujarati","ha":"Haoussa","haw":"Hawaïen","iw":"Hébreu","hi":"Hindi","hmn":"Hmong","hu":"Hongrois","ig":"Igbo","id":"Indonésien","ga":"Irlandais","is":"Islandais","it":"Italien","ja":"Japonais","jw":"Javanais","kn":"Kannada","kk":"Kazakh","km":"Khmer","ky":"Kirghiz","ku":"Kurde","lo":"Laotien","la":"Latin","lv":"Letton","lt":"Lituanien","lb":"Luxembourgeois","mk":"Macédonien","ms":"Malaisien","ml":"Malayalam","mg":"Malgache","mt":"Maltais","mi":"Maori","mr":"Marathi","mn":"Mongol","nl":"Néerlandais","ne":"Népalais","no":"Norvégien","uz":"Ouzbek","ps":"Pachtô","pa":"Panjabi","fa":"Persan","pl":"Polonais","pt":"Portugais","ro":"Roumain","ru":"Russe","sm":"Samoan","sr":"Serbe","st":"Sesotho","sn":"Shona","sd":"Sindhî","sk":"Slovaque","sl":"Slovène","so":"Somali","su":"Soundanais","sv":"Suédois","sw":"Swahili","tg":"Tadjik","tl":"Tagalog","ta":"Tamoul","cs":"Tchèque","te":"Telugu","th":"Thaï","tr":"Turc","uk":"Ukrainien","ur":"Urdu","vi":"Vietnamien","xh":"Xhosa","yi":"Yiddish","yo":"Yorouba","zu":"Zoulou"},"al":{}})

可以使用多年并且可以在许多主机上运行(Win / Mac / ...)。但是有几天,我无法在某些主机上完全加载Google Translate(大多数作品一如既往)。 似乎不依赖浏览器也不依赖操作系统。

1 个答案:

答案 0 :(得分:0)

我删除Cookie“ cookie:NID = 179 = S ..........”,然后Google翻译又回来了!