We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44049b commit dd2c894Copy full SHA for dd2c894
javascripts/Google Translate.js
@@ -6,7 +6,7 @@ if (window.getSelection) {
6
selection = document.selection.createRange().text;
7
}
8
if (selection === undefined || selection.length === 0) {
9
- window.open('https://translate.google.com/?op=websites&langpair=auto%7Cauto&u=' + encodeURIComponent(location.href), '_blank').focus();
+ window.open('https://translate.google.com/translate?langpair=auto%7Cauto&u=' + encodeURIComponent(location.href), '_blank').focus();
10
} else {
11
window.open('https://translate.google.com/?op=translate&langpair=auto%7Cauto&ie=' + encodeURIComponent(document.characterSet) + '&text=' + encodeURIComponent(selection), '_blank').focus();
12
0 commit comments