第一步:首先我找一位朋友的QQ空間(在復制前最好先征得對方的同意),呵呵~卡通的透明背景Flash、飄移的文字……估計大多數人都喜歡這種布局吧(如圖1)。

圖1
第二步:找到要復制的QQ空間后,記下對方的QQ號碼,接著在IE瀏覽器中輸入“http://q-zone.qq.com/fcg-bin/cgi_access_self.fcg?uin=對方的QQ號碼&type=0”,此時會打開一個XML文件,在QQ空間中所有自定義的模塊和設置都在這個XML文件里了,以下是部分代碼:
<?xml version="1.0" encoding="gb2312" ?>
- <data>
<style>7</style>
<scenari_no>496</scenari_no>
<icoke>-1</icoke>
- <items>
- <item>
<type>1</type>
<itemno>1333</itemno>
<posx>0</posx>
<posy>0</posy>
<width>0</width>
<height>0</height>
<zindex>0</zindex>
</item>
- <item>
<type>6</type>
<itemno>703</itemno>
<posx>706</posx>
<posy>280</posy>
<width>210</width>
<height>120</height>
<zindex>0</zindex>
</item>
- <item>
<type>7</type>
<itemno>3942</itemno>
<posx>0</posx>
<posy>0</posy>
<width>1</width>
<height>73</height>
<zindex>0</zindex>
</item>
</items>
第三步:新建一個文本文件,接著將XML文件的“<itemno></itemno>”中的數字以如下形式進行整理:
1333|703|3942|3942……
第四步:在IE瀏覽器中輸入“http://q-zone.qq.com/fcg-bin/cgi_diy_window.fcg?uin=對方的QQ號碼&type=11&wndid=在文本文件中整理的數字”,呵呵~打開后你看到了什么?是不是有些像自定義的代碼呢?下面是部分代碼:
<?xml version="1.0" encoding="gb2312" ?>
- <data>
- <window>
<id>219107532</id>
<title>滾動條</title>
- <item>
<id>18134</id>
<style>0</style>
<img>http://</img>
<title />
<url>http://</url>
<content><img src="javascript:document.getElementById
('initd').style.overflow='hidden';"></content>
</item>
</window>
- <window>
<id>220026097</id>
<title>flash2</title>
- <item>
<id>17966</id>
<style>0</style>
<img>http://</img>
<title />
<url>http://</url>
<content><img src="javascript:document.getElementById ('Mlogo').innerHTML+='<div
style=\'position:absolute;top:0;left:0;\'><EMBED
src=\'http://imgfree.21cn.com/free/flash/9.swf\' quality=high wmode=\'transparent\'
WIDTH=\'925\' HEIGHT=\'655\' TYPE=\'application/x-shockwave-flash\'></div>';"></content>
</item>
</window>
- <window>
<id>216267259</id>
<title>鼠標</title>
- <item>
<id>17780</id>
<style>0</style>
<img>http://</img>
<title />
<url>http://</url>
<content><img src="javascript:document.body.style.cursor='url
(\'http://qqjia.com/learn/q-zone/ani6/1.ani\')'"></content>
</item>
</window>
對,就是它!在打開頁面中黑色顯示的文字就是該QQ空間自定義的模塊代碼了。
第五步:你現在要做的就是將頁面中黑色的自定義代碼一一添加到你的QQ空間里即可。
