I'm having a website which a part of HTML is loaded from external, in this part, they defined some resource such as javascript or css and these resources will be a part of my website (for stylesheet or javascript interaction)
Unfortunately, my owned website is running under a HTTPS, and external part contains some resources under HTTP, it's not good practice because inside a HTTPS page, there are no insecure content allowed. I don't have right to change everything in external to https, so I have to give a solution for this issue, something I was thinking about that is building an engine for parsing all external content, and change all links in http to valid URL, however there are several issues because I don't know what content contained within it.
If you were me, what solution should be given?