Hi Radu
I think it is good it would help me.
As I noted above in regard to webapps I want to pass variables id of the webapp from the menu.json to the app
Currently I use this "attr":{"href":"/Admin/AppLoader.aspx?client_id=digifuel-app&itemID=19440" and use referrer which your solution will not work for.
But I have a solution if I am allowed. I have not fully test it on all browser etc. but it seems to work.
"attr":{"href":"/Admin/AppLoader.aspx?client_id=digifuel-app&redirect_uri=edit.html?itemID =17001" if you use &redirect_uri=PAGE.html?YOURQUERY it redirects and has the query included in the app url.
Question? is this legal use of redirect_uri if so I can use your sendAdminMessage() once available and redirect_uri and no referrer.