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.

Add to Bookmarklet Function in China

seriously   September 8th, 2012 11:38a.m.

Hey guys, Everytime I try to use this function it'll just show the "Great Firewall is stopping you" site of Skritter and I have to click there once again. Anybody know how to get the link working immediately in China?

mcfarljw   September 8th, 2012 7:37p.m.

There is a way to fix this so the bookmarklet tool will route through the Chinese portal of the site. By default it's probably using the COM domain. You need to edit the bookmarklet link. It should look like this now:

javascript:(function(){try{var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));javascript:window.open('http://www.skritter.com/vocab/api/add?from=bookmarklet&lang=zh&word='+encodeURIComponent(t),'_bookmarklet');}catch(e){}})();

You need to change "http://www.skritter.com" to "http://www.skritter.cn". Then it should work. You can also just replace the link with this one:

javascript:(function(){try{var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));javascript:window.open('http://www.skritter.cn/vocab/api/add?from=bookmarklet&lang=zh&word='+encodeURIComponent(t),'_bookmarklet');}catch(e){}})();

Laspimon   September 10th, 2012 6:31a.m.

Why have I not seen this bookmarklet before? Is it in the faq somewhere?
I don't see myself using it a lot, but I fear I am missing out on other features disclossed at the same source.

scott   September 11th, 2012 6:55p.m.

@Laspimon: it's under 'tools' in the home page.

I've tweaked the code to automatically have the bookmarklet setup code be based on whatever domain you're on. Until then, josh's instructions will do the job.

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