so example.
extensions add an event listener to the page, listening the event "nip123:requestAPI" for example.
then the page loads and the webapp listens the event "nip123:announceAPI", then it dispatches the event "nip123:requestAPI".
then the extension listening on that event respond with their...