<legend id='guwM8'><style id='guwM8'><dir id='guwM8'><q id='guwM8'></q></dir></style></legend>

    1. <small id='guwM8'></small><noframes id='guwM8'>

      <i id='guwM8'><tr id='guwM8'><dt id='guwM8'><q id='guwM8'><span id='guwM8'><b id='guwM8'><form id='guwM8'><ins id='guwM8'></ins><ul id='guwM8'></ul><sub id='guwM8'></sub></form><legend id='guwM8'></legend><bdo id='guwM8'><pre id='guwM8'><center id='guwM8'></center></pre></bdo></b><th id='guwM8'></th></span></q></dt></tr></i><div id='guwM8'><tfoot id='guwM8'></tfoot><dl id='guwM8'><fieldset id='guwM8'></fieldset></dl></div>
        <bdo id='guwM8'></bdo><ul id='guwM8'></ul>
      <tfoot id='guwM8'></tfoot>

      什么是完整性和跨域属性?

      时间:2023-09-03
        • <bdo id='fqwkr'></bdo><ul id='fqwkr'></ul>
          <tfoot id='fqwkr'></tfoot>
          <i id='fqwkr'><tr id='fqwkr'><dt id='fqwkr'><q id='fqwkr'><span id='fqwkr'><b id='fqwkr'><form id='fqwkr'><ins id='fqwkr'></ins><ul id='fqwkr'></ul><sub id='fqwkr'></sub></form><legend id='fqwkr'></legend><bdo id='fqwkr'><pre id='fqwkr'><center id='fqwkr'></center></pre></bdo></b><th id='fqwkr'></th></span></q></dt></tr></i><div id='fqwkr'><tfoot id='fqwkr'></tfoot><dl id='fqwkr'><fieldset id='fqwkr'></fieldset></dl></div>
          1. <legend id='fqwkr'><style id='fqwkr'><dir id='fqwkr'><q id='fqwkr'></q></dir></style></legend>

              <tbody id='fqwkr'></tbody>

              <small id='fqwkr'></small><noframes id='fqwkr'>

              • 本文介绍了什么是完整性和跨域属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                Bootstrapcdn 最近更改了他们的链接.现在看起来像这样:

                Bootstrapcdn recently changed their links. It now looks like this:

                <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" 
                rel="stylesheet" 
                integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" 
                crossorigin="anonymous">
                

                integritycrossorigin 属性是什么意思?它们如何影响样式表的加载?

                What do the integrity and crossorigin attributes mean? How do they affect the loading of the stylesheet?

                推荐答案

                Bootstrap CDN 中添加了这两个属性来实现 子资源完整性.

                Both attributes have been added to Bootstrap CDN to implement Subresource Integrity.

                子资源完整性定义了一种机制,用户代理可以通过该机制验证获取的资源是否已在没有意外操作的情况下交付 参考

                Subresource Integrity defines a mechanism by which user agents may verify that a fetched resource has been delivered without unexpected manipulation Reference

                完整性属性是允许浏览器检查文件源,以确保如果源被操纵,则永远不会加载代码.

                Integrity attribute is to allow the browser to check the file source to ensure that the code is never loaded if the source has been manipulated.

                Crossorigin 属性 在使用CORS"加载请求时出现,现在这是在未从同源"加载时进行 SRI 检查的要求.更多关于crossorigin的信息

                Crossorigin attribute is present when a request is loaded using 'CORS' which is now a requirement of SRI checking when not loaded from the 'same-origin'. More info on crossorigin

                更多关于 Bootstrap CDN 实施的细节

                这篇关于什么是完整性和跨域属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:是否可以捕获 CORS 错误? 下一篇:在 http 页面上使用 https 的 Ajax

                相关文章

                最新文章

              • <small id='z7AUZ'></small><noframes id='z7AUZ'>

              • <i id='z7AUZ'><tr id='z7AUZ'><dt id='z7AUZ'><q id='z7AUZ'><span id='z7AUZ'><b id='z7AUZ'><form id='z7AUZ'><ins id='z7AUZ'></ins><ul id='z7AUZ'></ul><sub id='z7AUZ'></sub></form><legend id='z7AUZ'></legend><bdo id='z7AUZ'><pre id='z7AUZ'><center id='z7AUZ'></center></pre></bdo></b><th id='z7AUZ'></th></span></q></dt></tr></i><div id='z7AUZ'><tfoot id='z7AUZ'></tfoot><dl id='z7AUZ'><fieldset id='z7AUZ'></fieldset></dl></div>
                    <bdo id='z7AUZ'></bdo><ul id='z7AUZ'></ul>
                  <legend id='z7AUZ'><style id='z7AUZ'><dir id='z7AUZ'><q id='z7AUZ'></q></dir></style></legend>
                  1. <tfoot id='z7AUZ'></tfoot>