Skip to content

Instantly share code, notes, and snippets.

@elmimmo
Created October 23, 2013 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elmimmo/7120325 to your computer and use it in GitHub Desktop.
Save elmimmo/7120325 to your computer and use it in GitHub Desktop.
Bookmarklet para buscar una palabra (la seleccionada, si hay alguna) en el Diccionario de la Real Academia de la Lengua Española (RAE)
javascript:void(q=window.getSelection?window.getSelection():(document.getSelection?document.getSelection():(document.selection?document.selection.createRange().text:'')));if(q=='')void(q=prompt('Introduce%20una%20palabra%20para%20buscarla%20en%20el%20DRAE:',''));if(q)%7Bvoid(window.open('http://drae22.rae.es/'+encodeURIComponent(q)));%7D;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment