Mixed content in Chrome and IE
Actually Firefox has started to do the same: How to fix a website with blocked mixed content
It makes sense. If the user access a site using HTTPS is expecting to have a secured experience, and he may not be aware of parts of the application loading under not secure connections. That is the reason why the browser blocks such inconsistency.
You will need to provide HTTPS on myothersite.com.
Obviously it's best not to have mixed content to prevent MITM attacks but for those who can't control the url this should do the trick:
Change the src="http://linkToUrl.com" to
src="//linkToUrl.com/script.js"
when i set the url : <a href="http://127.0.0.1:8080/download/1.txt"></a>
from a https request, it report error : Mixed Content: The page at 'https://127.0.0.1/index.html'
was loaded over HTTPS, but requested an insecure resource 'http://127.0.0.1:8080/download/1.txt'
.
This request has been blocked; the content must be served over HTTPS.Failed to load resource: net::ERR_CACHE_MISS
when i added the target="_blank"
to the url: <a target="_blank" href="http://127.0.0.1:8080/download/1.txt">
, it works! , it works! it's well known that target="_blank"
means opening the linked document in a new window or tab or a new request!