suburbia

Premshree's (品速力) Personal Weblog

etc.

Previous Entry Add to Memories Share Next Entry
Greasemonkey Dict
suburbia
premshree

It’s quite common to lookup dictionaries for words on web pages. I wrote a Greasemonkey script to make life a tad easier for me:

Now I don’t know if there’s such a script already. Anyway, doesn’t matter now. I’m using OneLook to fetch the definition. I know it’s probably not the best thing to do, however, I don’t know of any dictionary services that provide an API. Know any?

Well, I could set one up locally, but that’d work for me only. Oh well. Laters.

Oh yeah, using it: just double click on the word that you want to know the meaning of... if it does mean anything, a ncie box will appear, nothing happens otherwise.

Script’s here. That’s it for now from Monkeyland!


Interesting. You could at least setup one for all of us at Y! atleast... ;)


I use WordWeb for the same purpose. See if they have an interface for programs - they might.

Dude, this absolutely rocks! I was just reading Swaroop's recent entry and was feeling very jealous about Firefox not having the same capability, and ... voila! Here it is!

*Bows*

I was jealous too, and terribly bored at the same time.

One suggestion Icould give is that, instead of having a blue-on-grey X button to close it (something that wasn't initially obvious), the popup can be made to close automatically as soon as the mouse stops hovering above the definition?

Just a thought.

It’s not a blue-on-grey button, actually. It takes the color of whatever style A would have on that page.

I thought about that closing thing. Maybe I should do it. Lesse.

They also have a DICT server running. One doesn't even have to screen-scrape. Wouldn't work from behind my office firewall though.

Best option would be setting up a server within the company.

Why not use Wordweb instead? Ctrl+Alt+W and you have the meaning, antonym, nearest, types, etc.

Wordweb is a desktop application isn't it? Last time I checked it didn't run on linux or freebsd.

Yes, I just checked - it doesn't run on Linux, but they are looking at one in the near future.

IAC, a desktop app doesn't help unless everyone in the world installs it. That's not possible because they can't support every platform in the world (like premshree's phone for example). That's why the web is such a universal platform.

Understood.

I didn't take Premshree's post in the win/linux/global sense. For personal use, I find wordweb way easier than other web-based dictionaries.

Word web was a big part of my college projects back in the day.

It was a part of my GRE preparation days.

How to use this script ??

You’ll need Greasemonkey. The script won’t work with the versions available for download, though. And it is recommended that you don’t install the earlier versions because of a security issue.

Really makes life a lot easier.

Very useful, thanks :)

Nifty piece of work this, thanks. It works now with the 0.5 beta release, I had modified the script earlier to pop up a new window to get around, when GM_xmlhttpRequest was disabled for a while.
-Rohit

spellcheck made simple

shantanuo

2005-09-11 07:28 am (UTC)

Here are the other options available.

1) Dictionary Tooltip is better since it does not require greasemonkey.
http://tinyurl.com/dh9sn

2) Clusty Toolbar looks promising too!
http://clusty.com/toolbar

3) ConQuery: context sensitive webquery extension
http://conquery.mozdev.org/screenshots.html

4) And the last but not the least, you can use YubNub a (social) command line for the web.
http://yubnub.org
Install the plugin...
http://tinyurl.com/amwt9

I still prefer wordweb since it works in any application. (or is it "that old habits die hard"). It is the only software I recommend that is worth downloading.

Re: spellcheck made simple

premshree

2005-09-11 07:37 am (UTC)

I just wanted something that would need no effort, so I wrote that script.

greasemonkey dict

(Anonymous)

2005-11-03 03:38 am (UTC)

oh my goodness! this script is wonderful.

Don't listen to the naysayers on the other posts who are whining about all the other things you should try. This is the one to keep.

Good job.