Link to home
Start Free TrialLog in
Avatar of myyis
myyis

asked on

chrome click to call mixed content problem

When I wrap phone numbers in hyperlinks with the tel: schema as described here https://developers.google.com/web/fundamentals/native-hardware/click-to-call/

I receive  

Mixed Content: The page at 'https://abc.com' was loaded over HTTPS, but requested an insecure resource 'tel:05356449491'. This content should also be served over HTTPS.

How will I overcome?
Thank you.
Avatar of Nicholas
Nicholas

If you are specifying a schema source you need to use https for it as well
Avatar of David Johnson, CD
Always supply the phone number using the international dialing format: the plus sign (+), country code, area code, and number. While not absolutely necessary, it’s a good idea to separate each segment of the number with a hyphen (-) for easier reading and better auto-detection.

Perhaps it is your formatting
tel:05356449491 change it to +011-90-0535-644-9491

https://ee2902564320170527105205.azurewebsites.net/
Avatar of myyis

ASKER

It looks like it is totally normal and there's nothing to do with it. Same happens when I use mailto:xx@xx.com
I don't get the mixed mode using chrome
https://ee2902564320170527105205.azurewebsites.net/
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Test of Telephone Number</title>
</head>
<body>
    NIST Telephone Time-of-Day Service
    <a href="tel:+1-303-499-7111">+1 (303) 499-7111</a>
   <address>
    Written by <a href="mailto:postmaster@example.com">John Doe</a><br />
    Visit us at: <br />
       Example.com<br />
       Box 13, Radioland<br />
       USA
    </address>
</body>
</html>

Open in new window

Avatar of myyis

ASKER

When I put it in an iframe (within the same domain) I get the mixed content error.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.