Archive for October, 2007
Wikipedia Language Changer: Language Change Utility for Wikipedia
/* How does it work ? */
This Greasemonkey script change language of Wikipedia quickly.
I know there are many links to other languages at bottom of sidebar. However, I has some problems.
- Troublesome scrolling to bottom of page
- Too many languages in sidebar
for these probrem, I have created Greasemonkey has following functions:
- Add language link as tab into top of page
- Show only languages frequently use as tab
- Add language changer as drop-down list
- Double-click to toggle language(next version support multiple-language)
/* Install */
This script already uploaded to Userscripts.org. So please install it from this pase.
wikipedia_language_changer.user.js
/* Settings */
There are 3 main functions:
- Language tab : Add tab into tab-bar have ‘main’, ‘note’ at top of page
- Language list : Add drop-down list. select to jump.
- Quick toggle : Double-click to toggle language
Configurable items
| name | description | value | type |
| enable | enable/disable function. | true or false | Boolean |
| lang | a list of Wikipedia language codes | Array(String) | |
| tab.lang | language as tab. If you don’t specify, it won’t show any language. | ||
| list.lang | language into drop-down list. If you don’t specify, it show all languages. | ||
| label | language label. You can choose format from “English”(name), “en”(code), “English [en]“(both). | ‘name’, ‘code’ or ‘both’ | String |
| default | It use as default language when use quick toggle. | Wikipedia language code | String |
Sample settings
// configurations
var cfg = {
// lang tab
tab: {
// true or false
enable: true,
// lang code you want to show as tab
// *** if you don't specify, it won't show any langs ***
lang: ['ja', 'en', 'de'],
// 'code', 'name' or 'both'
label: 'name'
},
// lang drop-down list
list: {
enable: true,
// lang code you want to show as drop-down list
// *** if you don't specify, it will show all langs ***
lang: [],
label: 'both'
},
// quick toggle
toggle: {
enable: true,
// if you don't specify, it will set first element of cfg.toggle.lang
default: 'ja',
// pair of toggle language
lang: ['ja', 'en']
}
};
/* Conclusion */
I have inspired by Google Language Code Changer. Recently, the chance that talk with foreign people via Skype chat was increased. So I appreciate Wikipedia. I wish this script make Wikipedia more useful.
The quality of code is not good. However, I enjoyed coding. I love JS.
enjoy Wikipedia ! ;)
Twitter DM helper : Send DM to Multiple Friends
/* How does it work? */

This script provides the features to send DM (direct message) to multiple users with one-click.
In Twitter, there is the feature to send private message to your follower, called DM. It’s very useful feather but doesn’t have ability sending to multiple followers. So I created this.