Webview ignores the # (hash) argument when opening links in an external browser

I have a webview in which I am processing an html file containing a link ( anchor tag with target="_blank" ) that will open in an external browser . Here is the code for html:

"<html><body><a href='https://mail.google.com/mail/ca/u/0/?shva=1#sent' target='_blank'>Test</a></body></html>";

When a link is clicked when it opens in an external browser, the hash part is removed . Why is this happening?

How can I prevent this or overcome this defect?

UPDATE

In further experiments, I found that the external browser ignores #fragment if the default browser is not IE. ( Non-Metro )

+4
source share
1 answer

This is part of the standard, and then again, it is not. Read this question to understand what you are facing. Fragment URL and 302 redirects

+1
source

All Articles