Store and retrieve input source in the URL hash.

This allows linking to a particular code sample.