when are scripts ran? if I log win.document.documentElement.outerHTML in a script, I don't see the content of my pref pane. If I put
onload="Zotero.BetterBibTeX.PrefPane.load(window)"
that does show my prefs UI. Is this onload future-proof? If so, I'll just stick with that. I need to manipulate the DOM of my prefs, so if the [scripts] run before my part of the DOM is loaded I can't use that.
I suppose another option would be a mutation observer on vbox#zotero-prefpane-general, but if the onload attribute works, that seems simpler.