javascript - Script Image Loading on HTTPS -


i have script tag on html page references external script url. html page , script run on https urls. however, script creates img tag references image on http url. don't have control on script (it hosted third party). problem browser complains loading http content on https page.

i tried following:

  • hiding image using css display property - still causes image load , browser complain
  • changing src attribute of image using javascript/jquery - doesn't solve problem because script , image load first , javascript runs

the image not necessary, can hide or remove it. also, if needed, can host image myself on https, still need change src attribute before image loads.

any suggested workarounds?


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -