Firefox Sync detection
Refactored