⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 urllist_cn.htm

📁 一款很好用的浏览器
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<html>
<head>
<meta http-equiv="Content-Script-Type" content="text/javascript">
   <title>Links List</title>
<link rel="stylesheet" href="..\myie2style.css" type="text/css">
<script>
/*************************************
 * Urllist for MyIE modified version
 * improved by mdlist
 * mdlist's version 5.4
 * Credits to Tomtom aka Zobo Master,
 * Tara and Ptma
 *************************************/


function ALink(name, url)
{this.name = name;
 this.url = url;
}

function LinkArray() 
{with(LinkArray)
 {this.length = arguments.length / 2;
  var j = 0;
  for (var i = 0; i < this.length; i++) 
   {this[i] = new ALink(arguments[j], arguments[j+1]);
    j += 2;
   }
 }
}

function MailtoArray() 
{with(MailtoArray)
 {this.length = arguments.length / 2;
  var j = 0;
  for (var i = 0; i < this.length; i++) 
   {this[i] = new ALink(arguments[j], arguments[j+1]);
    j += 2;
   }
 }
}

function copy(link) {
	field.innerText = link.innerText;
	txtCopied = field.createTextRange();
	txtCopied.execCommand("RemoveFormat");
	if(txtCopied.execCommand("Copy")) {
		
		link.outerHTML = '<span class="cpd">' +  link.innerText + "<b> [已复制]</b>";
	}
	return true;
}

/** Reset filters field excepted the selected one **/
function reset(nb) { 
	if(nb != "URL") {
	document.all.filter5.value="All";
	if(document.all.filter6.value == "All")
		document.all.filter6.value='';
	}
	if(nb != "link") {
	document.all.filter6.value="All";
	if(document.all.filter5.value == "All")
		document.all.filter5.value='';
	}
	for(var i = 0; i < document.all.tags("SELECT").length; i++)
		if(i != nb) {
			document.all.tags("SELECT")(i).selectedIndex = 0;
		}
}

function ToggleCheckAll()
  {
  var sa=false;
  if(document.UrlList.CheckAll.checked)
    sa=true;

  for (var i=0;i<document.UrlList.elements.length;i++)
    {
    var e = document.UrlList.elements[i];
    if(sa)
      e.checked=true;
    else
      e.checked=false;
    }
  }
  
function ToggleCheckAllMail()
  {
  var sa=false;
  if(document.MailList.CheckAll.checked)
    sa=true;

  for (var i=0;i<document.MailList.elements.length;i++)
    {
    var e = document.MailList.elements[i];
    if(sa)
      e.checked=true;
    else
      e.checked=false;
    }
  }

function OpenLinks()
{
  if (numlinks) {
    for (i=1; i<numlinks; i++) {
      var nL=document.links[i+1]+"";
      Mse = /@/i;
      Jse = /javascript:/i;
      if (nL.search(Jse) == 0) {
	nL = nL.substring(11,nL.length);
      }
      else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2+1].checked == true) {
              window.open(nL);
      }
    }
  }
}

function OpenYourLinks(){
CheckedYourLinks = 0;
NumYourLinks = 0;
CheckYourLinks();
if (NumYourLinks > 20) {
	if (confirm("此页面包含 " + NumYourLinks + " 个链接满足你的默认过滤设置。\n\n你确定要打开所有的链接吗?")) {
	CheckedYourLinks = 1;
	CheckYourLinks();
	}
	else alert("没有链接被打开。\n\n请针对你感兴趣的内容使用更具体的过滤");
}
else {
	CheckedYourLinks = 1;
	CheckYourLinks();
}
}

function CheckYourLinks(){
    for (i=5; i<urllinks.length+5; i++) {
      var nL=document.links[i*2-8]+"";
      Mse = /@/i;
      voi = /void/i;
      Jse = /javascript:/i;
      if (nL.search(Jse) == 0) {
	nL = nL.substring(11,nL.length);
      }
      else if (nL.charAt != "#" && nL.search(Mse) == -1 && nL.search(voi) == -1 && urllinks[i-5].name.toLowerCase().indexOf(set.toLowerCase())>=0 && typ=="link"  && CheckedYourLinks == 1) {
              window.open(nL);
      }
      else if (nL.charAt != "#" && nL.search(Mse) == -1 && nL.search(voi) == -1 && urllinks[i-5].url.toLowerCase().indexOf(set.toLowerCase())>=0 && typ=="URL"  && CheckedYourLinks == 1) {
              window.open(nL);
      }
      else if (nL.charAt != "#" && nL.search(Mse) == -1 && nL.search(voi) == -1 && urllinks[i-5].name.toLowerCase().indexOf(set.toLowerCase())>=0 && typ=="link"  && CheckedYourLinks == 0) {
              NumYourLinks++;
      }
      else if (nL.charAt != "#" && nL.search(Mse) == -1 && nL.search(voi) == -1 && urllinks[i-5].url.toLowerCase().indexOf(set.toLowerCase())>=0 && typ=="URL"  && CheckedYourLinks == 0) {
              NumYourLinks++;
      }
    }
}


function SendMail()
{
var mailaddresses = "mailto:"
var aL=mailtos.length;
  if (aL) {
    for (i=0; i<aL; i++) {
      if (document.MailList.elements[i+1].checked == true) {
      	str = mailtos[i].url.substring(7,500);
      	mailaddresses = mailaddresses + str + ";";
      }
    }
  }

mailaddresses = mailaddresses + "?Body=";

  if (numlinks) {
    for (i=0; i<numlinks; i++) {
      var nL=document.links[i+2]+"";
      Mse = /@/i;
      Jse = /javascript:/i;
      if (nL.search(Jse) == 0) {
	nL = nL.substring(11,nL.length);
      }
      else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2+1].checked == true) {
              mailaddresses = mailaddresses + escape(nL) + "%0D%0A";
      }
    }
  }
  window.open(mailaddresses);
}

var nowflag = 0;

function ShowHelp(){
		if(nowflag == 1) {
			document.all["helpcontent"].style.display = "none";
			nowflag = 0;
			document.all["linklist"].style.display = "block";
		} else {
			setflag = 1;
			showdownload();
			document.all["helpcontent"].style.display = "block";
			nowflag = 1;
			document.all["linklist"].style.display = "none";
		}
}


function StartCheck(){
	numlinks = urllinks.length;
	manager = getCookie("managercode");
	pause = getCookie("pause");
	downsel = document.downloadselect.downloadmanager;
	for (i=0; i<downsel.options.length; i++) {
		if(downsel.options[i].value == manager)
			downsel.options[i].selected = true;
	}
	if(pause == "true") document.downloadselect.pause.checked = true;
	if (urllinks.length > 200) {
	    if (confirm("此页面包含 " + urllinks.length + " 个链接。\n显示页面链接将需要一些时间\n使用过滤将可能使 MyIE2 停止响应.\n\n你确定要创建“页面链接”吗?")) {
	    displaylinks("","URL");
	    }
	    else alert("无法创建页面链接列表。\n\n“页面链接”窗口将被关闭");
	}
	else displaylinks("","URL");
	document.all.defaults.focus();
}

function setCookie(name,value) {
   var today = new Date();
   var expires = new Date();
   expires.setTime(today.getTime() + 1000*60*60*24*365);
   document.cookie = name + "=" + escape(value) + "; expires=" + expires.toGMTString();
}

function getCookie(Name) {
   var search = Name + "=";
   if(document.cookie.length > 0) {
      offset = document.cookie.indexOf(search);
      if(offset != -1) {
         offset += search.length;
         end = document.cookie.indexOf(";", offset);
         if(end == -1) end = document.cookie.length;
         return unescape(document.cookie.substring(offset, end));
      }
      else return('');
   }
   else return('');
}

function setdefault() {
if(nowfilter == "" || nowtype == "") alert("你没有使用任何过滤条件!\n设定过滤后再点击这里!");
else {
setCookie("filtersetting",filtersetting);
setCookie("filtertype",filtertype);
alert('你的默认过滤设置已经保存\n'+filtertype+'包含 '+filtersetting);
location.href = location.href;
}
}

function firstdownloadcheck() {
if(firstdownload == 0 && pause == "true"){
	if (confirm("准备好下载下一个文件了吗?")) {
	    i = i;
	    }
	    else {
		alert("此文件后的下载将停止。");
		i = numlinks+1;
	    }
}
firstdownload = 0;
}

function downloadthem() {
firstdownload = 1;
  if (numlinks) {
    for (i=2; i<numlinks+1; i++) {
      var nL=document.links[i]+"";
      Mse = /@/i;
      Jse = /javascript:/i;
      if (nL.search(Jse) == 0) {
	nL = nL.substring(11,nL.length);
      }

else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "FlashGet") {
	firstdownloadcheck();
	FlashGet(nL);
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "NetTransport") {
	firstdownloadcheck();
	NetTransport(nL);
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "NetAnts") {
	firstdownloadcheck();
	NetAnts(nL);
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "DownloadExpress") {
	firstdownloadcheck();
	
var DP = new ActiveXObject("Mdpph.API.1");
if(DP)DP.DownloadFile(nL, document.Url, "");
else 
alert("没有安装 DownloadExpress"); 

      } 
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "ReGet") {
	firstdownloadcheck();
	ReGet(nL);
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "HiDownload") {
	firstdownloadcheck();
	HiDownload(nL);
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "Intertnet Download Accelerator") {
	firstdownloadcheck();
	
var IDACOMObj = new ActiveXObject("idaie.moveurlida");
if(IDACOMObj)
{IDACOMObj.AddURL(nL, document.Url);}
else{alert("IDAIE.DLL 的 ActiveX 对象没有注册或已经损坏。 请重新安装 Internet Download Accelerator");}

      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "Mass Downloader") {
	firstdownloadcheck();
	
var MassDown = new ActiveXObject("MassDown.AddUrl.1");
if(MassDown)
MassDown.AddUrlWithReferer(nL, "Download from link list", document.Url);
else
alert("MassDown.dll 没有注册。 请运行“regsvr32.exe MassDown.dll”进行注册");

      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "Star Downloader") {
	firstdownloadcheck();
	
var SDIE = new ActiveXObject("sdext.stardownext");
if(SDIE)SDIE.DownloadURL(nL, document.Url);
else 
alert("找不到 sdext.dll 。 请重新安装 Star Downloader"); 
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "Download Master") {
	firstdownloadcheck();
	
var DMCOMObj = new ActiveXObject("dmie.moveurl");
if(DMCOMObj)
DMCOMObj.AddURL(nL, document.Url);
else
alert("DMIE.DLL 的 ActiveX 对象没有注册或已经损坏。 请重新安装 Download Master");
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "DLExpert") {
	firstdownloadcheck();
	DLExpert(nL);
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "LeechGet") {
	firstdownloadcheck();
	
var LeechGet = new ActiveXObject("LeechGetIE.AddURL");
if(LeechGet)LeechGet.AddUrl(nL);
else alert("LeechIE.dll 没有经过注册. 请运行“regsvr32.exe LeechIE.dll”进行注册");
      }
else if (nL.charAt != "#" && nL.search(Mse) == -1 && document.UrlList.elements[i/2].checked == true && manager == "DAP") {
	firstdownloadcheck();
	
var DAPExt = new ActiveXObject("dapie.catcher");if(DAPExt) DAPExt.MenuUrl(nL, document.Url, ""); else alert("DAPIE.DLL 没有注册或已经损坏。 请重新安装 Download Accelerator Plus");
      }
    }
  }

if (manager == "") {
	alert('没有设置下载工具!\n\n请为“页面链接”设置下载工具,或者\n点击"打开所选链接"在 MyIE2 中打开, \n然后在 MyIE2 中使用下载工具下载!');
      }
}

var setflag = 0;

function showdownload(){
		if(setflag == 1) {
			document.getElementById("setdownload").style.display = "none";
			document.getElementById("selecten").style.display = "none";
			setflag = 0;
			document.all["linklist"].style.display = "block";
		} else {
			nowflag = 1;
			ShowHelp();
			document.all["setdownload"].style.display = "block";
			document.getElementById("selecten").style.display = "block";
			setflag = 1;
			document.all["linklist"].style.display =  "none";
		}
}

function setdownload(managercode,pause){
   setCookie("managercode",managercode);
   setCookie("pause",pause);
   alert("你的下载设置已经保存");
   location.href = location.href;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -