Inject offline content in browser as well as app