Un bookmarklet ridicule
Par Nucleos le dimanche 12 novembre 2006, 20h - World Wide Web & co - Lien permanent
Spécial geek : ce bookmarklet (?) sert à convertir en français (et éventuellement en suisse et en belge, voire en belche) nos amis les nombres :
javascript:w=(window.getSelection?window.getSelection():document.selection.createRange().text);if(w==)w=prompt('Nombre (virgule accept%C3%A9e)',);if(w){void(open('http://www.leconjugueur.com/frnombre.php?nombre='+escape(w)))}else{void(0)}
D'où huit-cent-huitante-huit billions huit-cent-huitante-huit milliards huit-cent-huitante-huit millions huit-cent-huitante-huit-mille-huit-cent-huitante-huit virgule sept-cent-septante-sept.
Commentaires
C'est moche le suisse, quand même.