non-trivial firefox stuff