破解所谓的“网页源代码加密”

7 views
Skip to first unread message

翔龙

unread,
Mar 13, 2006, 4:17:23 AM3/13/06
to cntfly
破解所谓的“网页源代码加密”


在地址栏或按Ctrl+O,输入:

javascript:s=document.documentElement.outerHTML;document.write('<body></body>');document.body.innerText=s;

源代码就出来了。不论加密如何复杂,最终都要还原成浏览器可以解析的html代码,而documentElement.outerHTML正是最终的结果。

Reply all
Reply to author
Forward
0 new messages