Check if active form element is input before getting search text
Check if active form element is input before getting search text

Fixes: https://bugs.launchpad.net/midori/+bug/1159631


dokidokivisual/midori,dokidokivisual/midori,dokidokivisual/midori,dokidokivisual/midori,dokidokivisual/midori