Quickly Search Chinese Dictionaries From Your Browser Address Bar

Here’s a great tip for making searching online Chinese dictionaries a lot easier and faster. It can be annoying when reading or writing Chinese online to have to type in the URL of the dictionary you want to search, then type or paste the word into the search box and hit the search button. With this tip you can cut all that down to one step (well, two steps if you include opening a new tab a step – but hitting ‘Ctrl + T’ hardly counts as a step).

Search a website from your address bar

Search from your address bar

The result of this hack is that all you need do when you want to search an online dictionary is type a keyword following by the word you want to search for. For instance when I want to search Yahoo’s Chinese dictionary for a word all I need do is type ‘d’ in the address bar followed by the word I want to search for (in the image below you can see I am about to search for the word 網站). I chose the letter ‘d’ as it stands for ‘dictionary’, but you can use anything.

Custom Chinese Dictionary Search

How to set it up

This is really easy to set up and simply involves creating a bookmark in your browser – I’ll be covering Firefox and Chrome here.

Firefox Configuration

First browse to the dictionary that you want to search and perform a search. Next, copy the address from the URL bar. Using Yahoo Dictionary as an example and my search for 網站 above, I copied the following from the address bar:

http://tw.dictionary.yahoo.com/dictionary?p=網站

Open up the bookmark manager in Firefox and choose a place for your new bookmark to – In the image below you can see I have created a new folder for Chinese dictionaries. Right click and select ‘New Bookmark’.

New Bookmark

In the New Bookmark dialogue paste in the URL that you just copied from the address bar.

Here’s the important part – replace the word that you searched for with ‘%s’, and then enter the word or letter you would like to use to represent the dictionary in the ‘Keyword’ field. Here I have used ‘d’ as I mentioned above:

Dictionary Keyword

Chrome Configuration

The process is a little bit different for Chrome, as you need to create a custom search engine rather than a special bookmark.

First, right click in the address bar and choose ‘Edit Search Engines’:

Chrome - Edit Search Engines

The following preferences panel will appear for adding search engines. In the ‘Other search engines’ section add a new search engine using the same method that we used for adding a bookmark to Firefox. The first field is the name of the search engine, the middle field is for the keyword we will be using to represent this dictionary, and lastly is the URL with the search term replaced with %s, as shown here:

Chrome SearchEngines

Search URLs

Now you don’t have to waste time typing URLs or memorising websites – just create a series of custom search engines for the dictionary websites you use on a regular basis. Here’s a list of some common Chinese dictionaries and the search URL you can use to create your custom search engine:

Yahoo! Chinese Dictionary
http://tw.dictionary.yahoo.com/dictionary?p=%s

2u4u.com.cn
http://test.2u4u.com.cn/online/online_dict_new.php?lang=en&word=$s

MDBG Traditional Chinese
http://www.mdbg.net/chindict/chindict.php?page=worddict&wdrst=1&wdqb=%s

MDBG Simplified Chinese
http://www.mdbg.net/chindict/chindict.php?page=worddict&wdrst=0&wdqb=%s

cDict.net
http://cdict.net/?q=%s

Yellow Bridge
http://www.yellowbridge.com/chinese/wordsearch.php?searchMode=C&dialect=M&word=%s&search=Search

Written Chinese
http://dictionary.writtenchinese.com/#sk=%s&svt=null

If your dictionary isn’t listed and you create a custom search engine with please post the URL string in the comments below and I’ll add it to this list!

unfortunately nciku and the Taiwanese MOE Dictionary do not work as each search is given a unique ID and only works from within the site.

Other Browsers

I was planning to write up how to accomplish this is in IE< though the method doesn't seem to be the same across IE versions and Safari doesn't seem to be able to accomplish this without the aid of an extension.

If you have any similar tips or know how to add custom search to other browsers then please post a comment below.

  • ffs can’t believe I didn’t know this.

    • Hey Dave. You gonna add it to the list? 🙂

      Quote:
      If your dictionary isn’t listed and you create a custom search engine with please post the URL string in the comments below and I’ll add it to this list!

      • Hi John,

        Did you get this working in Firefox?
        It works in Chrome but doesn’t seem to work in Firefox. For instance:

        http://dictionary.writtenchinese.com/#sk=%E8%BB%8A&svt=null

        In Firefox all I get is a blank page, but in Chrome it loads ok.

        • Hmm. Seems to work fine for me in the current version of Firefox (7.0.1). What version did you test it on?

          • Strange, seems to be working now, added to the list.

  • John insists on having “his” dictionary added to the list. In fact, all those dictionaries give the same definitions as each other, because they are all based on CC-CEDICT (of which I am an editor, by the way). John’s website even used a crawler script to copy the *format* of the MDBG site! How about adding some dictionaries that are not just clones of MDBG, such as http://test.2u4u.com.cn/online/

    • Hi Richwarm,

      Thanks for the dictionary suggestion, I have added it to the list!

      Dave

    • I couldn’t get this dictionary you posted to work. Any suggestions?

      • Hi Nora, Can you provide a bit more information?
        What browser are you using and when you say it doesn’t work what exactly happens?
        Dave

        • Sure, I clicked the link in the post by “Richwarm” and a new tab opened to a blank page. I used Chrome and tried it 3 times. Now that I try again a day later on my office computer (on which I’m also using Chrome) it works just fine.

          This seems like a great dictionary for Chinese speakers, but I’m a little confused as a beginner-intermediate speaker. Is there an English interface?

          Thanks!

          • Richard Warmington

            I don’t think an English interface to FLTRP is available, but if you use Chrome with the Zhongwen Chrome extension, you can get instant popup translations of the Chinese text:

            https://chrome.google.com/webstore/detail/kkmlkkjojmombglmlpbpapmhcaljjkde

            I also find the FLTRP dictionary site to be rather flaky, unfortunately. Sometimes it just seems to time out when you search for a word. that was the case for over a week just recently 🙁

  • In Chrome, for nciku use:

    http://m.nciku.com/en/zh/detail/?query=%s

    or

    http://m.nciku.com/zh/example/?query=%s

    Mobile site only but better than nothing!

    For the main site url you need to Uri encode the chinese characters, and I don’t know how to do that in Chrome search engines.

    Hanping Chinese Dictionary does it automatically though, so you’re OK if you’re running Anroid 🙂