This blog post was brought to you by the generosity of AJATT's patrons!

If you would like to support the continuing production of AJATT content, please consider making a monthly donation through Patreon.

Right there ↑ . Go on. Click on it. Patrons get goodies like early access to content (days, weeks, months and even YEARS before everyone else), mutlimedia stuff and other goodies!

MDBG Bookmarklet

MDBG is great for looking up meanings of individual kanji/hanzi:

  • MDBG Bookmarklet
  • Bookmarklet source code: javascript:(function(){var w=window,d=w.document,s="";;if(d.selection){s=d.selection.createRange().text}else if(d.getSelection){s=d.getSelection()}else if(w.getSelection){s=window.getSelection()}""+encodeURIComponent(s),"_blank")})()

  6 comments for “MDBG Bookmarklet

  1. gurkenkralle
    November 10, 2010 at 01:31

    Hey guys…
    since English isn’t my L1 and I’m not so good with pc and so on… please explain me how to use this bookmarklets. They seem to be very handy

  2. あんど
    November 10, 2010 at 10:44


    Hey, man. 🙂 I’ll see if I can help you out with bookmarklets. They confused me for a while, too. Everywhere I’d look, people were talking about these great bookmarklets but nobody ever said how to actually USE them! Haha. So, here we go.
    Basically, you make a new bookmark in your web browser of choice (hint: the cool kids use Chrome ;P). You set the name of the bookmark to whatever you like, and instead of putting a URL like you would normally have, you place the Javascript code for the bookmarklet (so, for this bookmarklet, everything from “javascript” to that last “()”). Then to use the bookmarklet, simply click on it in your bookmark list. For this bookmarklet specifically, you highlight a kanji on a web page, then click the bookmarklet. The bookmarklet will then open a new tab featuring a page of a website with the information for the kanji you highlighted. Other bookmarklets work in a similar way. Just play around with them and see; it’s what I had to do, and it showed me some cool stuff. 🙂

    Hope that helped! And please, anybody, correct me if I got some information wrong.

  3. Lance
    November 11, 2010 at 02:06

    These instructions work on firefox and probably all other browsers.

    See the first bullet point, the link “MDBG Bookmarklet” ? Right click on it, select “Bookmark this link”. You now have a bookmark called “MDBG Bookmarklet”. Select/highlight a single kanji character in the text of a web page – for instance from the left column on this page. Now select “MDBG Bookmarklet” from your bookmark menu.

    Be careful not to click elsewhere on the page when selecting the “MDBG Bookmarklet” as that might deselect the kanji in the page text.

    Actually, you can select multiple kanji characters and MDBG will return the meanings for each.

  4. November 11, 2010 at 03:38

    I see. Interesting, I was confused too. And it has a Traditional Chinese option too.

  5. あんど
    November 11, 2010 at 22:43

    @Lance: bahaha, that is a much better guide than the one I’d written. Thanks a bunch for that. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *