Bookmarklet against a bug of non-ASCII search on Jbovlaste (was Re: jbovlasteが文字化けしています。)

30 views
Skip to first unread message

guskant

unread,
May 11, 2016, 9:18:05 PM5/11/16
to ロジバン相談室, lojban, lojban-b...@googlegroups.com
English translation is shown below.

すでに周知のことかもしれませんが、記録として掲載します。
暫定措置として、けぺけんさんが jbovlaste の検索結果の文字化けを無理やり修正するブックマークレットを作ってくださいました。
https://twitter.com/kepeken/status/730426293636894720

日本語の他、ロシア語、中国語、フランス語、ドイツ語など、jbovlaste上の全ての言語で有効です。

使い方
1. ご使用中のブラウザで、以下の文字列をURLとするブックマークを作成します(ブックマーク名は適当に考えて入れてください)。
javascript:!function(x){x.open('GET','',!1);x.send();document.write(decodeURIComponent(escape(x.response)))}(new XMLHttpRequest)

2. jbovlasteの検索エンジンの database 欄で Lojban to Japanese や Japanese to Lojban などの非ASCII文字を使う言語を選び、検索したい語を入力し、 "Submit query" ボタンをクリックします。

3. 検索結果が表示されたら、1 で登録したブックマークをクリックします。

以上

English translation.

As provisional measures against a bug of jbovlaste, Kepeken kindly created a bookmarklet for taking back non-ASCII search results on jbovlaste.

https://twitter.com/kepeken/status/730426293636894720

It is applicable to any language on jbovlaste including Japanese, Russian, Chinese, French, German and so on.

Instructions:
1. Create a bookmark on your web browser in use with the following string as URL (apply any reasonable name to the bookmark):
javascript:!function(x){x.open('GET','',!1);x.send();document.write(decodeURIComponent(escape(x.response)))}(new XMLHttpRequest)

2. On the search page of jbovlaste, select a database that require non-ASCII characters, for example "Lojban to Japanese" or "Japanese to Lojban", input your word to search, and click on the "Submit query" button.

3. After the search result is shown, click on the bookmark created in the process 1 above.

That's all.


Reply all
Reply to author
Forward
0 new messages