Rightly so. Thank you for your observation. In kits I have replaced querySelectorAll
with an one-time “live” getElementsByClassName. Moreover:
- Only a single observer is created for all the macros, as they all share the same class.
- Unless you see an actual difference by enabling/disabling your
custom.js
, there is something else to blame for the delay.
You may open a feature request about this.