Looks like the Great Firewall or something like it is preventing you from completely loading www.skritter.com because it is hosted on Google App Engine, which is periodically blocked. Try instead our mirror:

legacy.skritter.cn

This might also be caused by an internet filter, such as SafeEyes. If you have such a filter installed, try adding appspot.com to the list of allowed domains.

Skrittdef - add your own definitions

PlutonB   December 10th, 2009 2:04p.m.

OK, since I got the thumbs up for publishing this code here goes.

I've missed having my own definitions in Skritter since I started using it this summer. Thanks to Google Chrome's easy interface I've now programmed an addon in javascript that injects your own definitions into the practice page. The data is based on a "database" in the js-file so nothing else besides Chrome and a little bit of setup is needed.

To get started you first need to enable extentions as per these instructions: http://googlesystem.blogspot.com/2009/03/first-google-chrome-extensions.html

Then download the zip-file http://rapidshare.com/files/319053361/skrittdef.zip and extract it to the "myextension" directory.

Finally update "skrittdef.js" by adding/removing entries in the last part where the "database" is located.

I hope there are not too many bugs since I've only used it for one day. So far it's working great for me, and has made studying Heisig with Skritter work like a charm.

PlutonB   December 10th, 2009 2:10p.m.

Rapidshare was a bad choice, seems like you have to be a premium user to download. I've uploaded the file here as well: http://www.4shared.com/file/169941605/8ebde057/skrittdef.html

PlutonB   December 10th, 2009 2:17p.m.

For those studying Heisig here is the database I use. Just paste the content in the last part of skrittdef.js replacing the last function.

http://www.4shared.com/file/169948024/b209817b/dbheisig.html

nick   December 10th, 2009 3:40p.m.

Hey, pretty cool! It really is easy to write a Chrome extension. I'm looking forward to have my Chrome tricked out with dozens of these bad boys.

The instructions you linked to for enabling extensions are old. The new way is better:
1) Make sure you're on beta channel Chrome (or developer channel on a Mac)
2) Click the wrench -> Extensions -> Developer Mode -> Load Unpacked Extension and select the directory where you unzipped skrittdef.js & manifest.json.

We are planning on building Heisig keywords in at some point, for both Chinese and Japanese, but it'll probably be a while. If anyone is studying Heisig now and uses Chrome, check this extension out!

jiaming   December 12th, 2009 3:50a.m.

Hmm, I believe I did everything correctly, but it doesn't seem to be working for me for some reason. I would love to get this working as I am studying from Heisig's book as well.

PlutonB   December 12th, 2009 5:43a.m.

Maybe the .js isn't updated correctly with the data
after all?

For Heisig users here is a really easy option to install. I've packed my .js file with the Heisig database in a plugin package that is easy to install:

1) Download the latest Developer version of Chrome.
2) Download this file: http://www.4shared.com/get/171135804/dd707a18/skrittdef.html
3) Type chrome://extensions/ in the adress field of Google Chrome to open the extensions window
4) Drag the skrittdef.crx file to the Chrome extensions window and accept install.
5) Start skritting with Heisig definitions added!

When I get the time, I will make a new version with crx file and a standalone dbfile which is easier to edit I think.

sonorier   December 13th, 2009 1:16a.m.

Are you in China? I get a connection reset when trying to download the file from 4shared.com, it might be blocked here.

jiaming   December 13th, 2009 8:40a.m.

I was able to get it to work. Not sure what the problem was before.

As far as 4shared.com is concerned, it appears it is blocked here in China. Lucky I was able to get my friend to download it for me. Rapidshare does seem to be accessible here though.

wb   April 13th, 2010 5:42a.m.

Hi PlutonB, how did you create the "database"? all by hand? I use the traditional Heisig, so the database doesn't fit a 100%

PlutonB   April 26th, 2010 2:55p.m.

No, I converted it from a database I already had downloaded into Anki. Don't know if there is a traditional version somewhere though..

This forum is now read only. Please go to Skritter Discourse Forum instead to start a new conversation!