-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Update 2016-9-1
Phantomjs work well now, without any modification at wechaty side.
It seems like js code in wx upgraded again, and the accident that disable phantomjs is not the purpose (more like a compatible bug of checksum code run in phantomjs).
before fix, you can switch to chrome instead of phantomjs to use wechaty as usual.
$ WECHATY_HEAD=chrome node example/ding-dong-bot.js
detail:
https://res.wx.qq.com/zh_CN/htmledition/v2/js/webwxApp2fd632.js
try { var p = angular.bootstrap.toString().replace(/\n"use strict";\n/, "") , h = m(p); "54c6b762ad3618c9ebfd4b439c8d4bda" !== h && ($.getScript("https://tajs.qq.com/stats?sId=54802481"), location.href = "https://wx.qq.com/?t=v2/fake") } catch (M) {} angular.bootstrap(document, ["webwxApp"])