Hello Georg,
> We could add a hook at the end of index.php, remote.php and
> public.php.
> something like OC_Hook::emit('OC_Core','page_loaded');
> and connect the background app with it.
I really don't like this idea because the user will always see a "page
loading" spinner. It's better to use an ajax request IMHO.
Regards,
Jakob