Traducteur Brave et Firefox avec code java
Fermé
Marc
-
26 juin 2021 à 18:27
pistouri Messages postés 18825 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 14 avril 2025 - 26 juin 2021 à 19:29
pistouri Messages postés 18825 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 14 avril 2025 - 26 juin 2021 à 19:29
1 réponse
pistouri
Messages postés
18825
Date d'inscription
dimanche 14 juin 2015
Statut
Contributeur
Dernière intervention
14 avril 2025
Ambassadeur
8 477
26 juin 2021 à 19:29
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+
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+