We have a link that we get from server (Url) and we want to open it in new window. We are using following code to do that:
<a class="block img-holder usedsearch-img-holder position-rel no-direct" target="_blank" href='/m@(Url)'>
This is working fine but is not opening new window in mozilla firefox. I read similar issue and workaround by using onclick here.
Only problem is that bots (especially non-google search engines) might not be able to index these pages. How can we achieve both i.e. open link in all browsers w/o javascript dependency?
href
value is coming from server code, please post whole HTML tag. – Brawnera
tag after server rendering. Thehref
value might have some invalid characters. – Brawnerabout:config
in FireFox browser and turn on the required setting that you found best match – Brawner