Firefox: Tree Style Tab compatibility

Fixes #1447.
Merge pull request #1527 from CyberShadow/tst-compat

Firefox: Tree Style Tab compatibility