Add 'hash to input' and 'input to hash' functionality

save the search input value in the hash and use hash as input