Traducteur Brave et Firefox avec code java

Fermé
Marc - 26 juin 2021 à 18:27
pistouri Messages postés 18326 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 19 avril 2024 - 26 juin 2021 à 19:29
Bonjour,
Inutile de télécharger l'extension traduction , Voilà la solution en attendant le traducteur intégré ,je lai également sur firefox ça fonctionne nickel copier coller ce patch ci dessous dans la barre des favoris ensuite il suffit de le renommée Traduction ou Traducteur et le tour et jouer

javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.fr/translate_t?text='+t+'&hl=fr&langpair=auto|fr&tbb=1&ie='+e;}else{location.href='http://translate.google.fr/translate?u='+escape(location.href)+'&hl=fr&langpair=auto|fr&tbb=1&ie='+e;};

1 réponse

pistouri Messages postés 18326 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 19 avril 2024 8 355
26 juin 2021 à 19:29
Bonjour,

Merci pour cette astuce.

Avec Firefox j'ai ce code java:

javascript:if(typeof%20zZwxxe58==typeof%20alert)zZwxxe58();var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/?text='+t+'&hl=fr&langpair=auto|fr&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&

Je l'ai appelé -►Francais
L'astuce date d'une très lointaine version de Firefox.


A+
0