solving tab opening in firefox