Farpait ! Je stocke quelques exemples ici
-
pour une recherche Wikipédia Fr depuis le texte sélectionné à l'écran :
-
vers une nouvelle fenetre 1000x600
javascript:(function(){if(window.getSelection){description=window.getSelection();}else%20if(document.getSelection){description=%20document.getSelection();}window.open('https://fr.wikipedia.org/wiki/'+description,'_blank','menubar=yes,height=600,width=1000,toolbar=yes,scrollbars=yes,status=yes');})(); -
vers un nouvel onglet
javascript:(function(){if(window.getSelection){description=window.getSelection();}else%20if(document.getSelection){description=%20document.getSelection();}window.open('https://fr.wikipedia.org/wiki/'+description,'_blank');})();
-
-
Carte OSM en sélectionnant "latitude/longitude" vers un nouvel onglet:
javascript:(function(){if(window.getSelection){selection=window.getSelection();}else%20if(document.getSelection){selection=%20document.getSelection();}window.open('https://www.openstreetmap.org/#map=12/'+selection,'_blank');})(); -
Traduction Deepl Anglais vers Français :
javascript:(function(){if(window.getSelection){q=window.getSelection();}else%20if(document.getSelection){q=%20document.getSelection();}window.open('https://www.deepl.com/translator#en/fr/'+q,'_blank');})();
Ce serait nickel si on pouvait éditer le js directement en plus non ? --> merci Bronco o/ c'est top