I think that only the user can add a site in the future multi-site support feature.
If the extension automatically add sites, I think it could be annoying. Eventually an option could be present to enable the extension to propose a list of the visited discourse site and the user can finally choose to activate them.
Don’t poll /notifications?silent=true - use the message bus instead.
The extension already using MessageBus.
/notifications?silent=true is used only on boot to get the user id. It is the only method I have discovered to get the user id as I explained in this post , because I did not found the documentation. I’ve asked about it. It exists ?
Also, how about “Notifications for Discourse” for the title?
I’ve changed the title as suggested by @codinghorror.