# IPA Keyboard for Linguistics.SE

This script adds an IPA keyboard button to the editing toolbar

## Usage

If you click the little schwa button on the editor, a keyboard will pop up. You can use it like any normal on-screen keyboard, just click on the symbols.

The blue circled letters are so that one can easily find a symbol1 (they look similar to the symbols in their group). They also double up as keyboard shortcut indicators. For example, if you press and hold Alt, hit A twice, and release Alt, you get the second symbol in the "A" group, that is, the a-e ligature. This lets you cycle between symbols rapidly, without even having to look at the keyboard. For example, a typical procedure would be to identify which letter the symbol looks like (pretty easy), hit Alt, keep pressing that letter until the symbol shows up, then release Alt. If you can't find it, they keyboard is right there.

1. Idea taken from http://ipa.typeit.org/full/

-
Great! It works perfectly (except not with Noscript, see my comment on the Linguistics Meta.) –  Cerberus Dec 17 '12 at 1:33
I have tested this script again, and it's great when it works. And it does work, but on some pages the right half gets cut off for me. On this page, for example, the right half gets cut off. I'm on the latest Firefox with Noscript and a bunch of other things. On the page you're reading now, it works fine for me. –  Cerberus Aug 29 '13 at 2:55
@Cerberus Ah, that used to give me problems too. No guarantee about fixing it with NoScript, however I've noticed that the layout is very sensitive to site style. I'll try to rectify that (when I get time). –  Manishearth Aug 29 '13 at 6:34
No worries, I realise that there is an infinite number of browser configurations! Can't help them all. –  Cerberus Aug 29 '13 at 13:41
Installed on Chrome and I see "IPA Keyboard 1.0" enabled in the list of extensions. But I refreshed this page and don't see that little "schwa" button... –  Yan King Yin Nov 12 '13 at 13:20
@YanKingYin Are there any errors in the error console (Ctrl-Shift-J)? –  Manishearth Nov 12 '13 at 13:21
Yes there seems to be an error -- debugger paused in jquery.min.js. –  Yan King Yin Nov 12 '13 at 13:24
The error is from ajax.googleapis.com, maybe unrelated? And I don't see IPA keyboard loaded as a content script in the "sources" tab. –  Yan King Yin Nov 12 '13 at 13:33
@YanKingYin Unrelated then. Maybe Chrome isn't running it on the site? Which site are you running it on? –  Manishearth Nov 12 '13 at 13:38
Oh silly... it works, in linguistics.SE! Thanks! –  Yan King Yin Nov 12 '13 at 13:43
@YanKingYin hahaha, if you want I can set it up for all SE sites, but you probably don't want that :P –  Manishearth Nov 12 '13 at 13:43
I actually want it to be used on unrelated websites... all input boxes... is it possible? Can you point me some direction to do that? :) –  Yan King Yin Nov 12 '13 at 13:45
@YanKingYin Copy the source from here, save it as IPA.user.js, edit the line with "linguistics" on it to say http://*.stackexchange.com, and drag-drop this new file to the extensions directory. This won't work on Stack Overflow and sites that are not of the form *.stackexchange.com, so if you want it for them as well, I can provide you with a separate script. –  Manishearth Nov 12 '13 at 13:49
Oh, wait, all input boxes. Hmm. That's a bit tough, but you'd have to basically make changes starting from this line, and run it as a bookmarklet. I might make these changes later, but I'm busy for the next two weeks. –  Manishearth Nov 12 '13 at 13:51
Thanks for the tip -- so it may be possible... I'll try if I can do that :) –  Yan King Yin Nov 12 '13 at 13:59