Firefox 中国账户与国际账户 标签数据同步问题

最近安装了新的机器,firefox里面mark了不少有用的标签,需要同步, 登录后发现标签一直无法同步,账号头像也不同。后面对比发现现在登录用的地址是https://accounts.firefox.com  而以前电脑用的是https://accounts.firefox.com.cn 随后去firefox官方论坛上查了下,还真发现了有人提了这个问题。

以下官方的解释:

  Because the great wall in China, we need to provide local service as default sync service in China. And users can switch between local service and global service by enable/disable a preference.  (https://bugzilla.mozilla.org/show_bug.cgi?id=1227843)

通俗解释:中国有长城,国内用户可能无法访问到FF国际版的账户,所以在国内提供了一个特供版的本地同步服务。用户可以在本地服务和国际同步服务之间切换。

 

下面说说怎么切换:

原文:https://www.firefox.net.cn/read-49572

  
1.安装扩展(推荐)。

(1)安装“附加组件管理器”扩展。
(2)如果以前有配置过同步,请到同步设置页,点击“忘记此邮箱”=》切换至本地服务=》重启Firefox=>登录。应该就没问题了。
(3)要是不喜欢安装这个扩展,直接卸载即可,同步功能仍能继续正常工作。
详见谋智网络关于火狐同步本地服务的FAQ中的Q2。这个扩展的其实就是自动帮你做了方法2的工作。



2.手动修改pref.js。(2015.12.5已更新完整版 感谢#58的 @yoyocheung)

在确认火狐浏览器关闭的情况下,找到位于用户配置文件根目录的pref.js。复制以下内容到相应位置,保存,启动火狐。再用“火狐通行证”账户重新登陆火狐同步即可。


2016/10/29 更新(摘自58#)


//同步到国内服务器
//50以上版本必须将https://accounts.firefox.com.cn加入webchannel.allowObject.urlWhitelist记得空格
user_pref("identity.fxaccounts.migrateToDevEdition", true);
user_pref("identity.fxaccounts.auth.uri", "https://api-accounts.firefox.com.cn/v1");
user_pref("identity.fxaccounts.remote.force_auth.uri", "https://accounts.firefox.com.cn/force_auth?service=sync&context=fx_desktop_v3");
user_pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.firefox.com.cn/v1");
user_pref("identity.fxaccounts.remote.profile.uri", "https://profile.firefox.com.cn/v1");
user_pref("identity.fxaccounts.remote.signin.uri", "https://accounts.firefox.com.cn/signin?service=sync&context=fx_desktop_v3");
user_pref("identity.fxaccounts.remote.signup.uri", "https://accounts.firefox.com.cn/signup?service=sync&context=fx_desktop_v3");
user_pref("identity.fxaccounts.remote.webchannel.uri", "https://accounts.firefox.com.cn/");
user_pref("identity.fxaccounts.settings.uri", "https://accounts.firefox.com.cn/settings?service=sync&context=fx_desktop_v3");
user_pref("identity.sync.tokenserver.uri", "https://sync.firefox.com.cn/token/1.0/sync/1.5");
user_pref("services.sync.fxa.privacyURL", "https://accounts.firefox.com.cn/legal/privacy");
user_pref("services.sync.fxa.termsURL", "https://accounts.firefox.com.cn/legal/terms");
user_pref("services.sync.statusURL", "https://accounts.firefox.com.cn/status/");


要注意的是,火狐同步本地服务默认只同步书签,需要到同步的设置界面将其他项目手动勾选才行。
另外,暂不支持移动版(但可以手动将上述preference添加到移动版的pref.js)
如果同步出现问题,重做上述操作即可。

更多问题参见火狐同步(本地服务) FAQ

 

转载于:https://www.cnblogs.com/Sean-BI/p/7212236.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值