Update dev-tools.js
Browse files- dev-tools.js +0 -15
dev-tools.js
CHANGED
@@ -566,7 +566,6 @@
|
|
566 |
LCP: null,
|
567 |
TTFB: null
|
568 |
};
|
569 |
-
let observer;
|
570 |
// DOM変更を監視するMutationObserver
|
571 |
let observer = new MutationObserver((mutations) => {
|
572 |
mutations.forEach((mutation) => {
|
@@ -594,20 +593,6 @@ const loadWebVitals = () => {
|
|
594 |
});
|
595 |
};
|
596 |
|
597 |
-
// DOMContentLoaded内に追加
|
598 |
-
observer = new MutationObserver((mutations) => {
|
599 |
-
mutations.forEach((mutation) => {
|
600 |
-
if (mutation.type === 'childList') {
|
601 |
-
mutation.addedNodes.forEach((node) => {
|
602 |
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
603 |
-
highlightNode(node);
|
604 |
-
}
|
605 |
-
});
|
606 |
-
}
|
607 |
-
});
|
608 |
-
refreshElementsPanel();
|
609 |
-
});
|
610 |
-
|
611 |
observer.observe(document.documentElement, {
|
612 |
childList: true,
|
613 |
subtree: true,
|
|
|
566 |
LCP: null,
|
567 |
TTFB: null
|
568 |
};
|
|
|
569 |
// DOM変更を監視するMutationObserver
|
570 |
let observer = new MutationObserver((mutations) => {
|
571 |
mutations.forEach((mutation) => {
|
|
|
593 |
});
|
594 |
};
|
595 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
596 |
observer.observe(document.documentElement, {
|
597 |
childList: true,
|
598 |
subtree: true,
|