3 ms·
Indeed, but I just learned about the DOM mutation API[1], that can be used here. This also makes sense when additional content is loaded later via AJAX (was ach
by fphilipe 8y ago
Indeed, but I just learned about the DOM mutation API[1], that can be used here. This also makes sense when additional content is loaded later via AJAX (was achieving that with setInterval).
1: https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver https://developer.mozilla.org/en-US/docs/Web/API/MutationObs...
- Tade0 8y agoI wonder if whoever sets these attributes has also set appropriate DOM mutation listeners therefore creating and endless tug-of-war.