A link with a JavaScript href has been created:
<a href="javascript:document.location='http://'+location.hostname.replace('.com', '.co.uk')">stackoverflow uk</a>
Is there a way to provide a direct link like this when JavaScript is disabled?
<a href="http://stackoverflow.co.uk/questions/ask"> stackoverflow uk</a>
I am aware of the noscript tag:
<noscript><a href="http://stackoverflow.co.uk/questions/ask"> stackoverflow uk</a></noscript>
However, this will show both the broken link and the correct link. How can I remove the broken link from the user interface?