Wikipedia:Morebits

Morebits contains entire classes for GUI creation and api-based page interaction. They are hidden gadgets (you won't be able to see them in preferences or enable them) that can be loaded from within other scripts.

Documentation for it can be found here.