Sunday, June 2, 2024
 Popular · Latest · Hot · Upcoming
119
rated 0 times [  125] [ 6]  / answers: 1 / hits: 17129  / 11 Years ago, thu, august 8, 2013, 12:00:00

When i open a link this shows following message in chrome
[blocked] The page at https://www.loadmytrailer.com/beta/postload.php ran insecure content from http://code.jquery.com/ui/1.10.2/jquery-ui.js.
but run fine in firefox.



[I googled it and found that when your site run on Secure SSL then it blocked some insecure content from external http sources. ]



So i want to loads these insecure content anyway in chrome
Please guys help me .


More From » php

 Answers
14

You can use protocol-relative URLs.The browser will use the page's protocol to try to obtain the file. On non-secure pages- http. On secure pages it will use https.



For example, instead of:



http://code.jquery.com/ui/1.10.2/jquery-ui.js


...you can use:



//code.jquery.com/ui/1.10.2/jquery-ui.js


! notice absence of protocol


[#76464] Wednesday, August 7, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
reina

Total Points: 241
Total Questions: 82
Total Answers: 94

Location: New Caledonia
Member since Thu, Mar 23, 2023
1 Year ago
;