发表时间:2006-4-6 18:28:00
function getCurrentFactPageIndex()
{
 var url = window.***.href;
 var currentPageIndex = 1;
 if(url.toLowerCase().indexOf('factindex='http://www.blog.com.cn/) != -1)
 {
  var temp = url.substring(url.toLowerCase().indexOf('factindex='));
  if(temp.indexOf('&') != -1)
   temp = temp.substring(0,temp.indexOf('&'))
  if(temp != '')
   temp = temp.toLowerCase().replace('factindex=','')
  if(/^"d+$/img.test(temp))
   currentPageIndex = temp;
  else
   currentPageIndex = 1;
 }
 return currentPageIndex;
}

相关文章:

  • 2022-02-27
  • 2021-11-20
  • 2022-02-12
  • 2021-12-28
  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2021-07-03
  • 2022-01-10
  • 2021-09-09
  • 2021-11-17
  • 2021-11-27
相关资源
相似解决方案