Firefox: Tree Style Tab compatibility

Fixes #1447.