check whether browser active