javascript - Any number starting with a 0 is recognized as a phone number? -
during testing noticed on mobile devices, number displayed starting 0 recognized phone number. how can keep happening?
we have policy number listed out in header. need them remain unclickable , white in color instead of becoming link mobile users.
there seem lots of options turning phone number recognition off pages , links, have phone numbers on site , need mobile phone recognition remain working. need ability turn off 1 section of site - header.
any suggestions?
edit
does know how set format numbers want recognize phone numbers? way wouldn't worry having setup number directly.
for example: want number follow format recognized on mobile devices phone number - 888.888.8888
to disable click give :
pointer-events: none;
to disable styles:
text-decoration:none; color:#fff;
something this:
.selector { pointer-events: none; text-decoration:none; color:inherit; }
Comments
Post a Comment