(Redirected from Wiktionary:BOOK)
See also: Help:Tips and tricks/Bookmarklets - Contains core bookmarklets!

A Wiktionary bookmarklet is something that a Wiktionarian has found so useful, they have created a bookmarklet for. Any task that a sysop finds himself doing over and over again is a likely candidate for being bookmarkleted. The idea is to use your browser to do a little bit of the grunt-work.

The method of using a bookmarklet, is to first create a bookmark (that points anywhere, for example, this page) then change the title to something appropriate, and the location to be the javascript code below.

Note: In all cases, the Javascript must be pasted in as one single line, in the "location" of the bookmark.
Note: In Firefox, you can use Ctrl - and Ctrl + to increase and decrease the font size, to get it down to a single line you can cut-n-paste.

On Firefox, move your bookmark to the "Personal toolbar folder" to make a "Button" of it. In IE, move it to the "Links" folder, and turn it on via View, Toolbars, Links.


Creates a bookmarklet that will take whatever word is currently selected and look it up in the English Wiktionary.
Firefox/Netscape/Mozilla, etc

javascript:Wi=document.getSelection(); if (!Wi) {void(Wi=prompt('Type word for Wiktionary:',''))} if (Wi) location.href='http://en.wiktionary.org/wiki/'+escape(Wi)+' '

Internet Explorer

javascript:Wi=document.selection.createRange().text; if (!Wi) {void(Wi=prompt('Type word for Wiktionary:',''))} if (Wi) location.href='http://en.wiktionary.org/wiki/'+escape(Wi)

Check all checkboxes on a pageEdit

Ever have 500 checkboxes to check, but need only two or three un-checked? javascript:for (i=0; i<document.forms.length; i++) { for (j=0; j<document.forms[i].elements.length; j++) { f= document.forms[i].elements[j]; if (f.type == 'checkbox') f.checked= true; } } void 0

Wikify all termsEdit

A quick and dirty way of wikifying all terms. Specific to Firefox. USing it: select and copy some text, click bookmarklet, paste & [ok], select and copy all from result & [ok], paste in edit box.

javascript:Wi=document.getSelection(); Wi=prompt(Wi); if (Wi) { var l=Wi.split(%22 %22); var Wo=%22%22; for (var i=0; (i<l.length) ; i++) { Wo+=%22[[%22+l[i]+%22]] %22;} void(pr=prompt(%22%22, Wo));}