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 -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -