|
test = "我來加個密玩玩,雖然是垃圾別見怪啊!"
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ù):通過Unicode轉(zhuǎn)義序列來加密,按你說的可以算是混淆吧,轉(zhuǎn)載需保留來源!
鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請第一時間聯(lián)系我們修改或刪除,多謝。