Hey guys,
Now, I'm developing a website, that is QR Code Reader, to use WebRTC on front end environment.
It supposed to be running on ios Safari.
My problem is that when it requests from Https to Http server , it appears security prompt on Safari.
I'm looking for how to turn off that prompt permanently.
So, is there any way to turn off that prompt on ios Safari ??
I've tried to check on safari preferences which is no option, put below meta tag on HTML page
, and run javascript when it requests as POST request like below.
But, it's still appearing....
Now, I'm developing a website, that is QR Code Reader, to use WebRTC on front end environment.
It supposed to be running on ios Safari.
My problem is that when it requests from Https to Http server , it appears security prompt on Safari.
I'm looking for how to turn off that prompt permanently.
So, is there any way to turn off that prompt on ios Safari ??
I've tried to check on safari preferences which is no option, put below meta tag on HTML page
Code Block <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
, and run javascript when it requests as POST request like below.
Code Block let el = document.createElement('meta') el.setAttribute('http-equiv', 'Content-Security-Policy') el.setAttribute('content', 'upgrade-insecure-requests') document.head.append(el)
But, it's still appearing....