File[] () { final String userHome = SystemProperties.getUserHome(); if (SystemInfo.isMac) { return new File[] { new File(userHome, "Library" + File.separator + "Mozilla" + File.separator + "Firefox"), new File(userHome, "Library" + File.separator + "Application Support" + File.separator + "Firefox"), }; } if (SystemInfo.isUnix) { return new File[] {new File(userHome, ".mozilla" + File.separator + "firefox")}; } String localPath = "Mozilla" + File.separator + "Firefox"; return new File[] { new File(System.getenv("APPDATA"), localPath), new File(userHome, "AppData" + File.separator + "Roaming" + File.separator + localPath), new File(userHome, "Application Data" + File.separator + localPath) }; }