Android Mozilla FireFox not opening page in a new tab
Asked Answered
C

0

0

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?

Correll answered 11/11, 2017 at 7:8 Comment(7)
I don't see issue on my test. If href value is coming from server code, please post whole HTML tag.Brawner
i am testing on mozilla firefox v 56.0, device android,Correll
Please post whole a tag after server rendering. The href value might have some invalid characters.Brawner
<a class="listingTxt block text-default no-direct" id="listingTxt" title="Honda City 1.5 S MT" profileid="D1405814" target="_blank" href="/m/used/cars-in-mumbai/honda-city-2011-2014-d1405814/">TestLink</a>Correll
Link is ok. Go to about:config in FireFox browser and turn on the required setting that you found best matchBrawner
Not working. It's already 0.Correll
Let us continue this discussion in chat.Correll

© 2022 - 2024 — McMap. All rights reserved.