문제

I have to prevent detection of Phone number in my application.

I am using:

<meta name = "format-detection" content ="telephone=no"/>

meta tag in my html. This prevents the phone number detection on Xolo device. But it doesn't work on HTC device. Is that a device specific issue? Which workaround can I use to prevent the phone number detection in all devices?

P.S: In my case, date field is being picked up as Number. And the dialer screen is being opened upon clicking a date. (Date format: DD-MM-yyyy)

도움이 되었습니까?

해결책

Nothing worked. And finally, I had to change the date format as DD/MM/yyyy.

That somehow prevents opening dialler screen.

다른 팁

On Android and iOS it should work with:

<meta name="format-detection" content="telephone=no">

I'm not sure if the spaces matters in your code, other than that it seems the same.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top