Spaces:
Running
Running
lalashechka
commited on
Update index.html
Browse files- index.html +9 -9
index.html
CHANGED
@@ -87,21 +87,21 @@ observer3.observe(targetNode3, config3);
|
|
87 |
|
88 |
|
89 |
<script>
|
90 |
-
const
|
91 |
-
const
|
92 |
-
const
|
93 |
for(let mutation of mutationsList) {
|
94 |
if (mutation.type === 'childList') {
|
95 |
-
const
|
96 |
-
const
|
97 |
-
const
|
98 |
-
|
99 |
observer.disconnect(); // Останавливаем наблюдение после изменения
|
100 |
}
|
101 |
}
|
102 |
};
|
103 |
-
const
|
104 |
-
|
105 |
</script>
|
106 |
|
107 |
<script>
|
|
|
87 |
|
88 |
|
89 |
<script>
|
90 |
+
const targetNode54135 = document.body; // или другой родительский элемент
|
91 |
+
const config54135 = { childList: true, subtree: true };
|
92 |
+
const callback54135 = function(mutationsList, observer) {
|
93 |
for(let mutation of mutationsList) {
|
94 |
if (mutation.type === 'childList') {
|
95 |
+
const grApp54132 = document.getElementById('ga33');
|
96 |
+
const targetDiv54135 = grApp54132.querySelector('#component-19');
|
97 |
+
const targetSpan54135 = targetDiv54135.querySelector('label[data-testid="block-label"]');
|
98 |
+
targetSpan54135.textContent = "Результат:";
|
99 |
observer.disconnect(); // Останавливаем наблюдение после изменения
|
100 |
}
|
101 |
}
|
102 |
};
|
103 |
+
const observer54135 = new MutationObserver(callback54135);
|
104 |
+
observer54135.observe(targetNode54135, config54135);
|
105 |
</script>
|
106 |
|
107 |
<script>
|