Copyright © ITmedia, Inc. All Rights Reserved.
Олег Давыдов (Редактор отдела «Интернет и СМИ»)
。一键获取谷歌浏览器下载对此有专业解读
Continue reading...
This is a well-known browser security technique. In JavaScript, calling .toString() on a native browser function returns "function appendBuffer() { [native code] }". Calling it on a JavaScript function returns the actual source code. So if your appendBuffer has been monkey-patched, .toString() will betray you; it’ll return the attacker’s JavaScript source instead of the expected native code string.