Use gBrowser.getTabForBrowser(), if available
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Method/getTabForBrowser
Mark compatible with Firefox 37.0a1 and SeaMonkey 2.34a1
Note: only with disabled e10s…