Translations:Userscript Guidelines/9/en Geschiedenis weergeven

Versie door WTranlatebot (overleg | bijdragen) op 10 aug 2018 om 10:22 (Importing a new version from external source)
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)

Also it is best not to rely too much on setTimeout() or setInterval() for the inner workings of your script. If too many of these are being executed in userscripts, the user experience can suffer a lot due to performance issues. If you want to monitor changes to a certain element, consider using a MutationObserver instead. As an example, below is shown how to execute code whenever the settings tab is opened: