ssl - How to import javascript code from external website with different protocol -


this question has answer here:

i use advertisement system (popup) on website, have installed ssl certificate on , visitors redirect https mode, javascript code doesn't load in https.. js code:

<script type="text/javascript">var popupsky_user_id = xxxx;</script> <script type="text/javascript" src="http://xxxxxxx/website/js"></script> 

how can use js code on website? possible? thanks

http://xxxxxxx/website/js 

will blocked on https website need reference https instead i.e.

https://xxxxxxx/website/js 

Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - href attribute breaking an element -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -