Inā ʻoe e hoʻopili i nā palapala i hōʻike ʻole ʻia i ka ʻaoʻao <head> a kāhea i kahi ʻaoʻao me kahi palapala SSL i hoʻopunipuni ʻia, kuhi ʻia kēia mau palapala a no laila ʻaʻole hoʻokō ʻia. Inā haʻalele ʻoe i ke kaʻina hana, kāhea ʻia nā script a pau i loko o ka palapala hoʻopunipuni inā kiʻi ʻia ka pūnaewele ma o https: // - i unencrypted ʻole.
No kēia e hoʻohana ma kahi
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
maʻalahi
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
ʻO ka lua wale nō e hōʻoia e hiki ke kiʻi ʻia i ka script me ka ʻole o https. ʻO ka mea maʻamau, ʻaʻole kēia he maʻalea, akā ua kuhikuhi ʻia ka hana ma RFC 3986: "Uniform Resource Identifier (URI): Generic Syntax" , ma ka ʻāpana "4.2. ʻ Referencelelo Pili:
A relative reference that begins with two slash characters is termed a network-path reference; such references are rarely used.