Adapt to browser