1/ 用chrome或者edge浏览器打开账号的setting界面:
2/ F12或者鼠标右键检查,切换到console,复制粘贴下面代码,然后回车
var spinR = require([“SiteData”]).__spin_r;
var spinB = require([“SiteData”]).__spin_b;
var spinT = require([“SiteData”]).__spin_t;
var jazoest = require([“SprinkleConfig”]).jazoest;
var fbdtsg = require([“DTSGInitData”]).token;
var userId = require([“CurrentUserInitialData”]).USER_ID;
var hsi = require([“SiteData”]).hsi;
var email = “fakemailtest@changemail.com”;
var url = “https://www.facebook.com/add_contactpoint/dialog/submit/”;
var data = “jazoest=22134&fb_dtsg=” + fbdtsg + “&next=&contactpoint=” + email + “&__user=” + userId + “&__a=1&__dyn=&__req=1&__be=1&__pc=PHASED%3ADEFAULT&dpr=1&__rev=&__s=&__hsi=” + hsi + “&__spin_r=” + spinR + “&__spin_b=” + spinB + “&__spin_t=” + spinT;
fetch(url, {
method: ‘POST’,
body: data,
headers: {
‘Content-Type’: ‘application/x-www-form-urlencoded’
}
}).then(e => e.text()).then(e => {})
fakemailtest@changemail.com这里改成自己的邮箱
3/ 刷新setting页面,可以看到新邮箱已经添加