|
test = "我來(lái)加個(gè)密玩玩,雖然是垃圾別見怪啊!"
str = ""
for( i=0; i<test.length; i++ )
{
temp = test.charCodeAt(i).toString(16);
str += "http://u"+ new Array(5-String(temp).length).join("0") +temp;
}
document.write (str)
</script>
JavaScript技術(shù):通過(guò)Unicode轉(zhuǎn)義序列來(lái)加密,按你說(shuō)的可以算是混淆吧,轉(zhuǎn)載需保留來(lái)源!
鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請(qǐng)第一時(shí)間聯(lián)系我們修改或刪除,多謝。