官术网_书友最值得收藏!

Troubleshooting and debugging CORS

Detecting problems with CORS requires enabling the crossorigin attribute in the <script> tag.

Normal script tags will pass the least information to window.onerror for scripts that do not pass the standard CORS checks. To allow error logging for sites that use a separate domain for static media, several browsers have enabled the crossorigin attribute for scripts using the same definition as the standard crossorigin attribute for the <img> tag.

Browser support for crossorigin attribute in the <script> tag

主站蜘蛛池模板: 城固县| 平凉市| 新巴尔虎左旗| 贡山| 沂水县| 海口市| 土默特右旗| 通江县| 青河县| 图木舒克市| 浮梁县| 高安市| 政和县| 寻乌县| 襄城县| 寻乌县| 贡觉县| 建水县| 长汀县| 宿松县| 淮滨县| 安阳市| 太康县| 铁岭市| 太原市| 南澳县| 文水县| 岚皋县| 万载县| 临夏县| 乳山市| 三门峡市| 达拉特旗| 米林县| 石首市| 清原| 天门市| 尚义县| 富源县| 正镶白旗| 弋阳县|