14

When I select a tag on the "Activity" tab of a user in the Mobile Safari on an iPhone, the user id is "auto-detected" as a phone number, and clicking on the user id initiates a phone call:

enter image description here

I could observe that behaviour only on Stack Overflow, not on other Stack Exchange sites, and I am fairly sure that this is a recent change.

8
  • 1
    That will be a setting somewhere in your browser or phone. Nothing to do with Stack Overflow. See How to disable phone number linking in Mobile Safari? Commented Aug 6, 2016 at 7:36
  • 7
    @DavidPostill: Well, it can be disabled in the HTML code provided by the server (as your link shows), and I think it should. I could disable it on the phone only globally. – Also I am pretty sure that that did not happen some days ago, and it does not happen on other SE sites.
    – Martin R
    Commented Aug 6, 2016 at 7:39
  • 1
    You are in Germany - I think Safari's phone-number auto-detection should take that into account and not detect a number like that, which wouldn't be a valid number in the country? I'm not completely sure. Maybe it's a bug on Safari's end? Or you accidentally changed your country setting to a country where that is a valid phone number? That seems unlikely though.
    – Pekka
    Commented Aug 6, 2016 at 8:47
  • 1
    @Pekka 웃 user 110 proved to be extremely motivated, they even suggested visiting me at home. Among other things, they are experts on illegal behaviour. So if your code is against the specification, they should quickly spot that. Yes, it's "them", because there's always another person on the phone. I suppose this is to be active on SO 24/7. I'd say all members of the team should get a badge, but they all have one already on their blue shirts. Most of them are probably mods because they carry handcuffs and guns.
    – null
    Commented Aug 6, 2016 at 10:08
  • 1
    @null yes, the support team at 110 is extremely proactive. Proof that not all customer service in Europe is crappy
    – Pekka
    Commented Aug 6, 2016 at 10:09
  • This also happens with the view counts on some questions. E.g. stackoverflow.com/questions/122102/… Commented Aug 6, 2016 at 15:46
  • 1
    From Apple URL Scheme Reference | Phone Links: "In Safari on iOS, telephone number detection is on by default. However, if your webpage contains numbers that can be interpreted as phone numbers, but are not phone numbers, you can turn off telephone number detection [by setting] the format-detection meta tag as follows: <meta name = "format-detection" content = "telephone=no">".
    – jww
    Commented Aug 8, 2016 at 0:18
  • related: meta.stackexchange.com/q/243640/215176
    – Omar
    Commented Aug 8, 2016 at 10:42

1 Answer 1

1

I suspect this happens because 7-digit numbers (such as most user IDs on Stack Overflow) are valid phone numbers in some countries.

In other words, you probably stumbled upon something that is .

4
  • Good point about the 7-digit numbers. However, I am fairly sure that this did not happen some time ago, so something must have changed.
    – Martin R
    Commented Aug 6, 2016 at 7:57
  • 17
    @MartinR: no, it has been like that for ages on my iPad as well. It is possible to add some HTML attributes to suppress it - but it is superbly annoying. And why should all webpage authors in the world bow to Apple anyway 😡 It's them who ought to disable it entirely, or at least make it a user preference.
    – Jongware
    Commented Aug 6, 2016 at 8:59
  • 3
    It would make more sense for web pages to be able to opt in to treating a number as a phone number, rather than having to add attributes to opt out.
    – Cody Gray Mod
    Commented Aug 7, 2016 at 4:43
  • 4
    I think its a bug; and I don't believe status-bydesign would be a good choice to dismiss it. When Safari browsers are detected, <meta name = "format-detection" content = "telephone=no"> can be used to disable the documented behavior. Also see Apple URL Scheme Reference | Phone Links.
    – jww
    Commented Aug 8, 2016 at 0:20

Not the answer you're looking for? Browse other questions tagged .