hacky way of not showing ads or analytics in local dev
Fixes #8278: fix  on print