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.umd.js
CHANGED
|
@@ -770,8 +770,8 @@
|
|
|
770
770
|
return;
|
|
771
771
|
}
|
|
772
772
|
const tagName = target.tagName.toLowerCase();
|
|
773
|
-
//
|
|
774
|
-
if (!['img', 'script', 'link', 'video', 'audio', 'source'].includes(tagName)) {
|
|
773
|
+
// 只监控特定标签的资源(包括 iframe)
|
|
774
|
+
if (!['img', 'script', 'link', 'video', 'audio', 'source', 'iframe'].includes(tagName)) {
|
|
775
775
|
return;
|
|
776
776
|
}
|
|
777
777
|
// 获取资源 URL
|