Add HTML for long-loading spinner

I don't think I've seen this way of doing things before (javascript: foo inside an href). Is it cross browser friendly?