How to load https:// websites on click of chrome extension
I have made a Chrome Extension for webpage translation but when I load a https:// based website and click on the chrome extension, it shows the shield icon and asks to click on to load unsafe script. But what I want is, when I click on chrome extension it should automatically load that page and start the translating process, I don't want that shield message to intervene between clicking on chrome extension and my servlet code. I have read about a command --allow-running-insecure-content and I don't know how to use it in my java code to automatically load that website.
I have not done it yet because I am not sure that this is write solution or not and it is also related to security so I didn't want to take risk with my computer without any proper guidance about it. Kindly help me. How to automatically load the scripts without clicking on that shield button.
Thanks in advance.
try to remove the http: or https: and use just //
http://path.to.image => //path.to.image