funtionality for firefox