sobey-monitor-sdk 1.1.15 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -764,8 +764,8 @@ function installResourceErrorHandler() {
|
|
|
764
764
|
return;
|
|
765
765
|
}
|
|
766
766
|
const tagName = target.tagName.toLowerCase();
|
|
767
|
-
//
|
|
768
|
-
if (!['img', 'script', 'link', 'video', 'audio', 'source'].includes(tagName)) {
|
|
767
|
+
// 只监控特定标签的资源(包括 iframe)
|
|
768
|
+
if (!['img', 'script', 'link', 'video', 'audio', 'source', 'iframe'].includes(tagName)) {
|
|
769
769
|
return;
|
|
770
770
|
}
|
|
771
771
|
// 获取资源 URL
|