Add getFindBar for Fx extension (refactor)

Same as #4753, plus:
- Fixes support for old Firefox versions;
- Fixes test case.