Autofocus on button click

Thanks @avivtech — Works great when the input field is on the same page as the link.

But what if the link is on a different page?

We’d have to add window.location.href to the script… But how?