code: function resetAmoPreviewUrls() {
    var prefSrv = prefs.preferences;
  
    for each (var preference in AMO_PREFERENCES) {
      prefSrv.clearUserPref(preference.name);
    }
  }
docs: Reset all preferences which point to the preview sub domain