Bug 896945 Customize the open-app treatment based on the showApp and showOnly flags r=alive r=fabrice