Typical. I’ve been working on this for a whole day, and 15 minutes after posting my question I found the answer.
So it is not cross-domain.
I had the input element wrong (Elements where the clicks are intercepted)
It is working! Thanks for the awesome plug-in!