过去可以使用JavaScript中的对象访问http://web.whatsapp.com/Store。几个小时前,它停止工作了。现在如何更新聊天数据?它必须将数据保存在某处。
小智 5
我正在使用它再次获得商店:
setTimeout(function() {
// Returns promise that resolves to all installed modules
function getAllModules() {
return new Promise((resolve) => {
const id = _.uniqueId("fakeModule_");
window["webpackJsonp"](
[],
{
[id]: function(module, exports, __webpack_require__) {
resolve(__webpack_require__.c);
}
},
[id]
);
});
}
var modules = getAllModules()._value;
// Automatically locate modules
for (var key in modules) {
if (modules[key].exports) {
if (modules[key].exports.default) {
if (modules[key].exports.default.Wap) {
store_id = modules[key].id.replace(/"/g, '"');
}
}
}
}
}, 5000);
function _requireById(id) {
return webpackJsonp([], null, [id]);
}
// Module IDs
var store_id = 0;
var Store = {};
function init() {
Store = _requireById(store_id).default;
console.log("Store is ready" + Store);
}
setTimeout(function() {
init();
}, 7000);
Run Code Online (Sandbox Code Playgroud)
只需在控制台上复制并粘贴,然后等待消息“存储已准备好”。请享用!
| 归档时间: |
|
| 查看次数: |
1717 次 |
| 最近记录: |