如何触发JS代码以在注册表单打开或关闭时执行?

Is it possible to monitor this event (open and closing of the signup modal) via the plugin API and fire some other JS code?

Is there a boilerplate code to monitor all events fired by the plugin API and log via the console?