There are now clever virtual keyboards on Google's localised sites. The really nice thing is that you can use your physical keyboard to type on the virtual one. No need for a mouse.
You can then copy the text in another application if needed. (Command-v does not work for me in Firefox, but right click and copy from the pop-up menu works.)