Profile/Live configuration

You can change some configuration live with JavaScript API.

This is usefull if you need to enable/disable features depending user profile.

Best exemple for this is disabling advertisement for premium users.

Profile JavaScript API

JavaScript API app.profile provides functions to change app behaviour:

Advertisement

You can disable advertisement for current user.

Prefetch

You can disable prefetch/sync of content for current user.