3 ms·
What do you mean? I don't recall ever using Safari on iPhone and having tap-and-hold not do the Safari default thing (pop up contextually-dependent menus giving
by glhaynes 17y ago
What do you mean? I don't recall ever using Safari on iPhone and having tap-and-hold not do the Safari default thing (pop up contextually-dependent menus giving choices like "Copy" and "Open in New Window" for links, "Save" and "Copy" for images, etc) and don't think that JavaScript has access to that.
- Zev 17y agoThe closest thing that I can think of is -webkit-user-select, although I'm not sure if thats available on the iPhone. Nor would it let you change UIMenuController behavior. I suspect that if it is possible, it would be under an NDA. That is, after all, how these things seem to work. Would love to be wrong though. Alternate, Occams Razor take: Apple just hardcodes the options, based on the type of object that is selected.