I’m sorry if this isn’t relevant to the issue but I can’t leave this uncommented:
Originally Posted by many_tentacles
Remove this and never ever do it again.
And to add to this: A link has
to be functional (i. e. link somewhere). If it doesn’t serve any purpose other than executing a script then there’s no need for an anchor in the first place, you could use any
element. And if it’s just supposed to execute a script you can as well not hard code it into the HTML at all but rather add it dynamically through JS since the element would be useless if JS wasn’t available.