返回列表 发帖

浏览器不能打开上回关闭的页面列表了

本帖最后由 混神 于 2009-9-14 12:22 编辑

突然之间,浏览器不能打开上回关闭的页面列表了。

  1. res://G:\XXX\XXX\XXX\theworld\theworld.exe/twhome.htm
复制代码
不论怎么关闭打开都不行,连我重新下载个最新1.4.4.1绿色版,单独放在一个空文件夹下都不行。

下面是空白页面的源代码

  1. <html>
  2. <head>
  3. <title>上次访问的网址</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  5. <style type="text/css">
  6. <!--
  7. .styleTW {
  8. color: #000000; font-size: 12px
  9. }
  10. A:link {font-size:12px;text-decoration:none;color: 015A9D}
  11. A:visited {font-size:12px;text-decoration:none;color: 015A9D}
  12. A:active {font-size:12px;text-decoration: none;color: #033B7D}
  13. A:hover {font-size:12px;text-decoration:none;color: #FF5A00}
  14. -->
  15. </style>
  16. <script language="JavaScript">
  17. function tw_getOldUrlData( nIndex )
  18. {
  19. return window.external.twgetlasturl( window, "", nIndex, 1 );
  20. }
  21. function tw_getLastUrlData( nIndex )
  22. {
  23. return window.external.twgetlasturl( window, "", nIndex, 0 );
  24. }
  25. function openWindow( str_url )
  26. {
  27. window.external.twnewnavigate( window, "", str_url, //BSTR bstrUrl,
  28.        1, //Active
  29.        0, //ForceNew
  30.        0, //Lock
  31.        1 //FindBlank )
  32.         );
  33. }
  34. var g_arr_argName = new Array(100);
  35. var g_arr_argUrl = new Array(100);
  36. var g_nCount = 0;
  37. var g_arr_argNameOld = new Array(100);
  38. var g_arr_argUrlOld = new Array(100);
  39. var g_nCountOld = 0;
  40. var g_bShowPic = true;
  41. var g_nPercent = 70;
  42. var g_str_Src = "";

  43. function tw_DeleteItemOld( nIndex )
  44. {
  45. num = new Number( 0 );
  46. num = Number( nIndex ) + 0;

  47. str_url = g_arr_argUrlOld[num];
  48. window.external.twdeletelasturl( window, "", g_arr_argUrlOld[num], 1 );
  49. document.getElementById( str_url ).removeNode( true );// = "hidden";
  50. // alert( document.getElementById( str_url ).style.visibility );
  51. // location.reload();
  52. }
  53. function tw_DeleteItem( nIndex )
  54. {
  55. num = new Number( 0 );
  56. num = Number( nIndex ) + 0;

  57. str_url = g_arr_argUrl[num];
  58. window.external.twdeletelasturl( window, "", g_arr_argUrl[num], 0 );

  59. document.getElementById( str_url ).removeNode( true );
  60. }
  61. function tw_getAllUrl( )
  62. {
  63. var nIndex = 0;
  64. try{
  65.   while( 1 )
  66.   {
  67.    str_data = tw_getLastUrlData( nIndex );
  68.    if( str_data.length == 0 )
  69.     break;
  70.    if(str_data.indexOf("**")!=-1)
  71.     arr_temp = str_data.split("**");
  72.    else
  73.     arr_temp = str_data.split("::");
  74.    
  75.    g_arr_argUrl[nIndex] = arr_temp[0];
  76.    g_arr_argName[nIndex] = arr_temp[1];
  77.    
  78.    g_nCount++;
  79.    nIndex++;
  80.   }
  81. }catch(err){}
  82. nIndex = 0;
  83. try{
  84.   while( 1 )
  85.   {
  86.    str_data = tw_getOldUrlData( nIndex );
  87.    if( str_data.length == 0 )
  88.     break;
  89.    if(str_data.indexOf("**")!=-1)
  90.     arr_temp = str_data.split("**");
  91.    else
  92.     arr_temp = str_data.split("::");
  93.    
  94.    g_arr_argUrlOld[nIndex] = arr_temp[0];
  95.    g_arr_argNameOld[nIndex] = arr_temp[1];
  96.    
  97.    g_nCountOld++;
  98.    nIndex++;
  99.   }
  100. }catch(err){}
  101. }
  102. function tw_Openall()
  103. {
  104. for( i = 0; i < g_nCount; i ++ )
  105. {
  106.   str_url = g_arr_argUrl;
  107.   openWindow( str_url, target="_blank" );
  108. }
  109. if( moreCheck.checked == true )
  110. {
  111.   for( i = 0; i < g_nCountOld; i ++ )
  112.   {
  113.    str_url = g_arr_argUrlOld;
  114.    openWindow( str_url, target="_blank" );
  115.   }
  116. }
  117. }
  118. function tw_Zoom(nIndex)
  119. {
  120. if( nIndex == 1 )
  121.   g_nPercent += 10;
  122.   else if( nIndex == 0 )
  123.    g_nPercent = 100;
  124.   else
  125.    g_nPercent -= 10;
  126.   if( g_nPercent<=0 || g_nPercent>=2000)
  127.     g_nPercent = 100;
  128.    
  129.   document.all.frame_moreinfo.style.zoom = g_nPercent+"%";
  130. }
  131. function tw_naviNew()
  132. {
  133. if( g_str_Src != "" )
  134.   window.open( g_str_Src, target="_blank" );
  135. }
  136. function tw_ChangeActive( strItem )
  137. {
  138. g_bShowPic = false;
  139. try{
  140.   if( strItem.length > 0 )
  141.   {
  142.    td_ad.style.display = "none";
  143.    td_moreinfo.style.display = "";
  144.    g_str_Src = strItem;
  145.    window.open( strItem, "frame_preview" );
  146.   }
  147. }catch(err){}
  148. }
  149. function tw_ShowMoreUrl()
  150. {
  151. if( moreCheck.checked == true )
  152.   moreUrlTab.style.display = "";
  153. else
  154.   moreUrlTab.style.display = "none";
  155. }
  156. function keepPicSize( imgObj, finWidth, finHeight )
  157. {
  158. // imgObj.width = finWidth;
  159. if( imgObj.width > finWidth
  160.    || imgObj.height > finHeight )
  161. {
  162.   xScale = finWidth/imgObj.width;
  163.   yScale = finHeight/imgObj.height;
  164.   var tempScale;
  165.   
  166.   if( xScale > yScale )
  167.    tempScale = yScale;
  168.   else
  169.    tempScale = xScale;
  170.    
  171.   imgObj.width *= tempScale;
  172. //  imgObj.height *= tempScale;
  173. }
  174. }
  175. tw_getAllUrl();
  176. </script>
  177. </head>
  178. <body bgcolor="#FFFFFF" text="#000000" class="styleTW">
  179. <table border="0" width="50%" height="24" cellspacing="0" cellpadding="0" bordercolor="#F4F4F4" id="table4" bgcolor="#FFFFFF" class="styleTW">
  180. <tr><td valign='center'>
  181. <a href="javascript:tw_Openall();window.opener=null;window.close();">打开全部页面</a></td>
  182. <td valign='center' align="right">
  183. <input id="moreCheck" type=checkbox onclick="javascript:tw_ShowMoreUrl();" >显示更多</input></td>
  184. </table>
  185. <table border="0" width="100%" height="90%" cellspacing="0" cellpadding="0" bordercolor="#F4F4F4" id="table4" bgcolor="#FFFFFF">
  186. <tr>
  187.   <td width="50%" height="100%">
  188.    <div style="position:static;width:100%;height:95%;z-index:1; overflow:auto;">
  189.     <table border="1" width="100%" bordercolor="#F3F3F3" bgcolor="#F4F4F4" cellpadding="4" cellspacing="0" class="styleTW">
  190.      <tr><td width='24' valign='center'>预览</td><td valign='center'>上次退出前访问的网页</td></tr>
  191.     </table>
  192.     <table style="display:none" id="moreUrlTab" bordercolor="#F3F3F3" bgcolor="#F6F6F6" border="1" width="100%" cellpadding="4" cellspacing="0" class="styleTW">
  193.      <script language="JavaScript">
  194.       var nIndex = 0;
  195.       for( i = 0; i < g_nCountOld; i ++ )
  196.       {
  197.        str_url = g_arr_argUrlOld;
  198.        str_name = g_arr_argNameOld;   
  199.        str_td =  "<tr ID="+str_url +"><td width='16' align='center' valign='center'><a href=\"javascript:tw_ChangeActive('"+str_url+"');\"><img alt='Click for Preview' border='0' src='IMG/289' width='11' height='11'></a></td>"
  200.        document.write( str_td );
  201.        str_td = "<td width='16' valign='center'><a href=\"javascript:tw_DeleteItemOld('"+i+"');\">" + "<img border='0' src='IMG/304' width='11' height='11'></a></td>";
  202.        document.write( str_td );
  203.       
  204.        str_td = "<td valign='center'><a target='_blank' href=" + str_url + ">" + str_name + "</a></td></tr>";
  205.        document.write( str_td );
  206.       }
  207.      </script>
  208.     </table>
  209.     <table border="1" width="100%" bordercolor="#F3F3F3" bgcolor="#FAFAFA" cellpadding="4" cellspacing="0" class="styleTW">
  210.       <script language="JavaScript">
  211.        var nIndex = 0;
  212.        for( i = 0; i < g_nCount; i ++ )
  213.        {
  214.         str_url = g_arr_argUrl;
  215.         str_name = g_arr_argName;   
  216.         str_td =  "<tr ID="+str_url +"><td width='16' align='center' valign='center'><a href=\"javascript:tw_ChangeActive('"+str_url+"');\"><img alt='Click for Preview' border='0' src='IMG/289' width='11' height='11'></a></td>"
  217.         document.write( str_td );
  218.         str_td = "<td width='16' valign='center'><a href=\"javascript:tw_DeleteItem('"+i+"');\">" + "<img border='0' src='IMG/304' width='11' height='11'></a></td>";
  219.         document.write( str_td );
  220.         str_td = "<td valign='center'><a target='_blank' href=" + str_url + ">" + str_name + "</a></td></tr>";
  221.         document.write( str_td );
  222.        }
  223.        if( g_nCount == 0 )
  224.        {
  225.         moreCheck.checked = true;
  226.         tw_ShowMoreUrl();        
  227.        }
  228.       </script>
  229.     </table>
  230.    </div>
  231.   </td>
  232.     <td width="50%" height="100%" valign="top">
  233.       <table border="0" width="100%" height="100%" id="table6" cellpadding="0" cellspacing="0">
  234.         <tr>
  235.           <td id="td_ad" colspan="2" aligh="right" valign='center'>
  236.            <div id="imgdiv" scroll="none" style="position:absolute;width:100%;height:95%;z-index:1; overflow:hidden;">
  237.            </div></td>
  238.           <td style="display:none" id="td_moreinfo">
  239.            <table width="100%" height="100%" border="1" bordercolor="#F4F4F4" cellpadding="0" cellspacing="0" >
  240.           <tr><td align="right" bgcolor="DCDCDC" width="100%" height="24"><img src="pbutton.gif" width="82" height="16" usemap="#Map" border="0"></td></tr>
  241.           <tr><td><iframe width="100%" height="100%" frameborder="0" name="frame_preview" id="frame_moreinfo" style="zoom:50%"></iframe></td></tr>
  242.          </table>
  243.           </td>
  244.         </tr>
  245.       </table>
  246.   </td>
  247. </tr>
  248. </table>
  249. <script language="JavaScript">
  250. function tw_showRandomPic()
  251. {
  252. if( g_bShowPic )
  253. {
  254.   try
  255.   {
  256.    strPic = window.external.twgetrandompic( window, "" );
  257.    if( strPic.length > 0 )
  258.    {
  259.     strImg = "<img id='ranpicshow'  onload='javascript:keepPicSize(this,imgdiv.offsetWidth-2, imgdiv.offsetHeight-2 );' src='" + strPic +"'></img>";
  260.     imgdiv.innerHTML = strImg;
  261.     window.setTimeout( "tw_showRandomPic();", 10000 );
  262.    }
  263.   }
  264.   catch( err )
  265.   {
  266.   }
  267. }
  268. }
  269. tw_showRandomPic();
  270. </script>
  271. <map name="Map">
  272.   <area shape="rect" coords="0,0,18,16" href="javascript:tw_Zoom(1);" alt="放大">
  273.   <area shape="rect" coords="17,0,34,16" href="javascript:tw_Zoom(0);" alt="原始比例">
  274.   <area shape="rect" coords="34,0,51,16" href="javascript:tw_Zoom(-1);" alt="缩小">
  275.   <area shape="rect" coords="63,0,79,16" href="javascript:tw_naviNew();" alt="在新窗口中浏览">
  276. </map>
  277. </body>
  278. </html>
复制代码
混神日志(韩磊BLOG)
http://www.hanlei.cn

莫名其妙的就好了,不知道是什么原因,假死机,太累了





现金游戏
现金棋牌
棋牌
现金游戏

TOP

莫名其妙的就好了,不知道是什么原因,早上7点半到8点前我打开后还是不行,现在8点40了,却可以了。
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

返回列表