Let's introduce a trigger mechanism instead of hard-coding it. We whitelist extensions that are allowed to be automatically through a button or menu item. In this case the bookmark dialog requests a trigger (the same mechanism will be usable for the toolbar context menu). The extension registers the trigger in extension_init.
Let's introduce a trigger mechanism instead of hard-coding it. We whitelist extensions that are allowed to be automatically through a button or menu item. In this case the bookmark dialog requests a trigger (the same mechanism will be usable for the toolbar context menu). The extension registers the trigger in extension_init.