Nettlesartillegg for Firefox
  • Utvidingar
  • Tema
    • for Firefox
    • Ordbøker og språkpakkar
    • Andre nettlesarplassar
    • Utvidingar for Android
Logg inn
Førehandsvising google translate element

google translate element av zupffwhy

Automatically inserts Google Translate Element into the page. Translate the entire page without leaving page or opening a new tab.

3.7 (50 reviews)3.7 (50 reviews)
7 282 brukarar7 282 brukarar
Du treng Firefox for å bruke denne utvidinga
Last ned Firefox og få utvidinga
Last ned fil

Metadata for utvidingar

Skjermbilde
Automatically inserts Google Translate Element into the page. Translate the entire page without leaving page or opening a new tab.Translate Twitter in real time. By using my other add-on "Twitter Old UI" you can use Twitter with the old interface. https://addons.mozilla.org/firefox/addon/twitter-old-ui/DeepL TranslatorDisplay the result of Google Translate in browser action panelDisplay the result of Bing Translator in browser action panelDisplay the result of Baidu Translate in the windowDisplay the result of Yandex translate in page action panelDisplay the result of papago in sidebarDisplay the result of excite translate in a tabDisplay the result of Weblio translate in a tabThe result of translating into Japanese after removing HTML links and decorative tags from the page.The upper left is the original page. The lower left is the result of deleting the tag. The upper right is the result of translating the original page. The lower right is the result of translating the page with the tag removed.The translation from the original is unnatural and difficult to understand, but the one translated with the tags removed is easier to understand.
Om denne utvidinga
This add-on may not work on some pages due to the Content Security Policy settings or other security restrictions on those pages.

This add-on automatically inserts Google Translate Element into the page. Translate the entire page without leaving page or opening a new tab.
To translate without leaving pages or tabs, you need to add the following code on the options page. This executes the remote code for Google Translate Element. For this reason, this code cannot be included in the add-on. Because Mozilla doesn't allow add-ons to use remote scripts because they can create serious security vulnerabilities. So you need to enable this code on your own will. Do not use this code if you don't trust it or if you don't trust the Google Translate Element service. Adding code at your own discretion is the same as writing a script for Greasemonkey and its derived add-ons. If you live in China, the add-on may work if you change .com in the code to .cn.
The function to translate without leaving the page will not work on some pages that have a Content Security Policy. For example it works on Wikipedia, but it does not work on GitHub. If you want to use this function even on a page with a Content Security Policy, you need to write the following Content Security Policy on the Options page at your own will. If you live in China, the add-on may work if you change .com to .cn.

In addition, there is a function to translate the selected text or the entire page in a separate tab, separate window or sidebar. You can use any translation engine such as Google or Bing.

In Wikipedia articles, symbols such as [3] that indicate sources and annotations appear in sentences. This often breaks sentences, and translation engines often do strange translations. To improve this, use an add-on that can delete these symbols.



I invite you to explore and help me translate this add-on in Crowdin.

Please make a donation through Kampa! (You can donate a minimum of 15 yen (15 cents)), Amazon (Recipient Email: heyxedjn@kampa.me) or PayPal.Me or Bit Coin 3FvQjLuiqQzZeWAoZBtwBwEV8TzWcEYQvt.

Tags: Google Translate toolbar EN>RU, Google Translate, Mirai Translate, DeepL Translator, Yandex Translate, 百度翻译, Papago Translator, エキサイト 翻訳, Bing Microsoft Translator, Weblio 翻訳


------ Code ------
function modify_page(pagelanguage, includedlanguages) {
if (document.querySelector("#google_translate_element")) {
return false;
}
let url = "//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit";
let loc = new URL(window.location);
if (loc.protocol != "http:" && loc.protocol != "https:") {
url = "https:" + url;
}
let s = `function googleTranslateElementInit() {new google.translate.TranslateElement({pageLanguage: "${pagelanguage}", includedLanguages: "${includedlanguages}", layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true,}, "google_translate_element" );}`;
let elem = document.createElement("script");
elem.setAttribute("id", "google_translate_element");
elem.appendChild(document.createTextNode(s));
document.body.appendChild(elem);
elem = document.createElement("script");
elem.setAttribute("src", url);
document.body.appendChild(elem);
return true;
}
true;
------ Content Security Policy ------
script-src 'unsafe-eval' 'unsafe-inline' translate.googleapis.com translate.google.com; style-src translate.googleapis.com; img-src translate.googleapis.com www.gstatic.com www.google.com translate.google.com;
Utviklarkommentarar
Bitcoin donations are also welcome: 1KMyBNyvVtnHn9iTT7YSCYzaWQA4WPFb8x
Vurdert 3,7 av 50 meldarar
Logg inn for å vurdere denne utvidinga
Ingen vurderingar enno

Stjernevurdering lagra

5
29
4
5
3
1
2
2
1
13
Les 50 vurderingar
Løyve og dataLes meir

Påkravde løyve:

  • Hent data frå utklippstavla
  • Tilgang til nettlesarhistorikken
  • Overvak utvidingsbruk og handter tema
  • Vis meldingar til deg
  • Få tilgang til nyleg attlatne faner
  • Gøym og vis nettlesarfaner
  • Få tilgang til nettlesarfaner
  • Tilgang tiil dataa dine frå alle nettsider

Valfrie løyve:

  • Hent data frå utklippstavla
  • Tilgang til nettlesarhistorikken
  • Få tilgang til nyleg attlatne faner
  • Gøym og vis nettlesarfaner
Meir informasjon
Lenker for tillegg
  • Heimeside
  • Brukarstøtteside
Versjon
2.2025.117.0
Storleik
381,42 KB
Sist oppdatert
7 månader sidan (17. jan. 2025)
Liknande kategoriar
  • Language Support
  • Tabs
Lisens
All Rights Reserved
Versjonshistorikk
  • Vis alle versjonar
Etikettar
  • google
  • search
  • shopping
  • translate
  • user scripts
  • youtube
Legg til i samling
Rapporter dette tillegget
Støtt denne utviklaren

Utviklaren av denne utvidinga spør om du kan hjelpe til med å støtte den vidare utviklinga med eit lite pengebidrag.

Bidra no

Fleire utvidingar av zupffwhy
  • Ingen vurderingar enno

  • Ingen vurderingar enno

  • Ingen vurderingar enno

  • Ingen vurderingar enno

  • Ingen vurderingar enno

  • Ingen vurderingar enno

Gå til Mozilla-heimesida

Utvidingar

  • Om
  • Firefox tilleggsblogg
  • Utvidingsverkstad
  • Utviklarsenter
  • Utviklarpraksis
  • Fellesskaps-blogg
  • Forum
  • Rapporter ein feil
  • Vurderingsguide

Nettlesar

  • Desktop
  • Mobile
  • Enterprise

Produkt

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Personvern
  • Infokapslar
  • Juridisk

Om ikkje noko anna er spesifisert, er innhaldet på denne nettstaden lisensiert under Creative Commons Attribution Share-Alike License v3.0 eller ein seinare versjon.