shr: add background support