简体   繁体   中英

HTML/XHTML TEL: and USSD String

Hi All I'm trying to get the <a href='tel:*120*5xxxx#' /> to work but it does not like the USSD part. Is there a way to use tel: with a USSD string ?

PS. xxxx above represents numeric value's and yes i have tried urlencoding.

As far as i know, Iphone doesn't permit that html links have in them USSD codes, they are ignored. this answer explain it better maybe.

Android from it's side, has different behaviours. I usually escape the string that contain the USSD, it depends on the lenguage you are programming it on, i mean, in javascript could be escape() or urlencode() for example if you are on php. Anyway, doing some tests, it seems that Android phones could or could not follow the links with USSD codes this because it has been found a vulnerability on some phones (galaxy s3 for first) where you could reset the phone with a proper USSD code, without any user prompt. Thes has lead to a patch from Android (as far as I know), but I don't know what happens next.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM