📄 urllist.htm
字号:
function EnterKeyPress(what) {
if (urllinks.length < 60) {
if (what == "URL") displaylinks(document.all.filter6.value,'URL');
if (what == "link") displaylinks(document.all.filter5.value,'link');
}
return;
}
<!--LINK LIST HERE-->
</script>
<script language="VBScript"><!--
function FlashGet(nL)
set JetCarCatch=CreateObject("JetCar.Netscape")
call JetCarCatch.AddUrl(nL,"Download from link list",nL)
End function
function NetTransport(nL)
set NTIECatcher=CreateObject("NTIEHelper.NTIEAddUrl")
call NTIECatcher.AddLink(nL, nL, "Download from link list")
End function
function NetAnts(nL)
On Error Resume Next
set NetAntsApi=CreateObject("NetAnts.API")
if err<>0 then
MsgBox("NetAnts not properly installed on this PC!")
else
if NetAntsApi.IsUrlExist(nL) then
MsgBox(nL+vbCrLf+"already in queue")
else
call NetAntsApi.AddUrl(nL, "Download from link list", nL)
end if
end if
End function
function ReGet(nL)
set Application=CreateObject("ClickCatcher.DownloadFromContextMenu")
if err<>0 then
MsgBox("ClickCatcher not properly installed on this PC!")
else
Application.Url = nL
Application.Info = "Download from link list"
Application.Referer = nL
call Application.AddDownload()
end if
End function
function HiDownload(nL)
set NetMolesApi=CreateObject("NetMoles.NetMoles")
if err<>0 then
MsgBox("NetMoles not properly installed on this PC!")
else
NetMolesApi.NMAddUrl nL, nL
end if
End function
function DLExpert(nL)
set dlexpertapi= CreateObject("dlexpertapi")
call dlexpertapi.addjob(nL,nL)
End function
// --></script>
</head>
<body style="border:none;" onResize="setSize()" onload="StartCheck();">
<textarea id="field" style="display:none;" rows="1" cols="20">
</textarea>
<div class="opt">
<table cellSpacing="0"><col width="15%"><col width="22%"><col width="11%"><col width="2%"><col width="15%"><col width="22%"><col width="11%"><col width="2%">
<tr class="optr">
<td class="tt">
<span style="font-size: 8pt">Text/HTML:</span>
</td>
<td colspan=2>
<select name="filter1" class="sel" onChange="reset(0);displaylinks(this.options[this.selectedIndex].value,'URL');this.blur();">
<option value="">All</option>
<option value=".htm">.htm;.html</option>
<option value=".shtm">.shtm</option>
<option value=".asp">.asp</option>
<option value=".php">.php</option>
<option value=".txt">.txt</option>
<option value=".xml">.xml</option>
<option value=".vrml">.vrml</option>
<option value=".cfm">.cfm</option>
<option value=".js">.js</option>
</select>
</td>
<td>
</td>
<td class="tt">
<span style="font-size: 8pt">Protocols:</span>
</td>
<td colspan=2>
<select name="filter2" class="sel" onChange="reset(1);displaylinks(this.options[this.selectedIndex].value,'URL');this.blur();">
<option value="">All</option>
<option value="http:">http:</option>
<option value="https:">https:</option>
<option value="ftp:">ftp:</option>
<option value="file:">file:</option>
<option value="javascript:">javascript:</option>
<option value="mms:">mms:</option>
<option value="rtsp:">rtsp:</option>
</select>
</td>
<td>
</td>
</tr>
<tr class="optr">
<td class="tt">
<span style="font-size: 8pt">Binaries:</span>
</td>
<td colspan=2>
<select name="filter3" class="sel" onChange="reset(2);displaylinks(this.options[this.selectedIndex].value,'URL');this.blur();">
<option value="">All</option>
<option value=".exe">.exe</option>
<option value=".zip">.zip</option>
<option value=".doc">.doc</option>
<option value=".swf">.swf</option>
<option value=".pdf">.pdf</option>
<option value=".bin">.bin</option>
<option value=".rar">.rar</option>
<option value=".mp3">.mp3</option>
<option value=".wm">.mma;.wmv</option>
<option value=".rm">.rm;.rmvb</option>
</select>
</td>
<td>
</td>
<td class="tt">
<span style="font-size: 8pt">Pictures:</span>
</td>
<td colspan=2>
<select name="filter4" class="sel" onChange="reset(3);displaylinks(this.options[this.selectedIndex].value,'URL');this.blur();">
<option value="">All</option>
<option value=".jp">.jpg;.jpeg</option>
<option value=".gif">.gif</option>
<option value=".png">.png</option>
<option value=".tif">.tif;.tiff</option>
<option value=".bmp">.bmp</option>
<option value=".psd">.psd</option>
</select>
</td>
<td>
</td>
</tr>
<tr class="optr">
<td class="tt">
<span style="font-size: 8pt">Links with:</span>
</td>
<td>
<input type="text" style="width:100%;" value="All" title="Displays link texts containing the written text" name="filter5" class="bt" onfocus="reset('URL');" size="20">
</td>
<td>
<button align="center" class="bt" style="width:95%;vertical-align:0%;" title="Opens all selected links in new windows" onclick="displaylinks(document.all.filter5.value,'link');" HIDEFOCUS="true">Filter</button>
</td>
<td>
</td>
<td class="tt">
<span style="font-size: 8pt">URLs with:</span>
</td>
<td>
<input type="text" style="width:100%;" value="All" title="Displays URLs containing the written text" name="filter6" class="bt" onfocus="reset('link');" size="20">
</td>
<td>
<button align="center" class="bt" style="width:95%;vertical-align:0%;" title="Opens all selected links in new windows" onclick="displaylinks(document.all.filter6.value,'URL');" HIDEFOCUS="true">Filter</button>
</td>
<td>
</td>
</tr>
</table>
<table cellSpacing="0"><col width="33%"><col width="34%"><col width="33%">
<tr>
<td align=center>
<button class="bt" style="width:120px;text-align:center;vertical-align:10%;" HIDEFOCUS="true" onclick="javascript:showdownload();" title="Sets your download manager for the link list">Set Download Manager</button>
</td>
<td align=center>
<button class="bt" style="width:120px;text-align:center;vertical-align:10%;" HIDEFOCUS="true" onclick="javascript:ShowHelp();" title="Shows/hides the help/info text">Help/Info</button>
</td>
<td align=center>
<button class="bt" style="width:120px;text-align:center;vertical-align:10%;" HIDEFOCUS="true" onclick="javascript:setdefault();" title="Sets your default filter selection: filter the way you want and click this link to set it as default">Set as default filter</button>
</td>
</tr>
<tr id="helpcontent" style="display:none;">
<td colspan=3>
<SPAN style="width:100%;overflow-y:auto;height:100%;text-align:center;">
<SPAN style="width:80%;overflow-y:visible;height:100%;text-align:justify;">
<br>Use the options above to filter out only the links you want to use. The Link and URL filters sort out links containing only the string you write in their fields.
Start
the Link and URL filtering with their Filter buttons. The quick menus will filter
automatically
on selection.<br><br>You can use the URL filter to filter out file types
that not are included in the quick menus. If you e.g. write ".mp3"
in the URL filter field, only URLs with ".mp3" will be shown.<br><BR>Select the links you want to open or the mail addresses you want to use in a mail.
The checkbox at the top selects/unselects all the links/addresses
below. Open the links and create the mail with the buttons at the bottom. If
you select links and press the mail button the selected links will be included
in the message.<br><br>You
may set a default filter selection. When it is set, the "Open
default" button will open all links sorted out through your default
filter. Set the default filter by filtering the way you want and click the
link "Set as default filter" to set that filtering as default. Check the
set default filter by moving the mouse over the "Open default"
button. The tool tip that will pop up after a second shows the active setting.<br><br>If
the page you want to link list contains a large number of links
the link list may take some time to create, and some time to filter.
If the number of links is <b>very</b> high Maxthon might maybe even stall.
Therefore a warning message will be shown if the page contains more
than 200 links. An option to not create the link list will then be given. Most computers can handle much more than that amount of links without problems though.<br>
A similar warning will also be given if the defaults button is about to open more than
20 pages.<BR><br>Tip: Hitting the keys Enter (if not a menu or button has
the focus) or Esc will close the link list. Since the "Open default"
button has focus when the link list opens, two quick Enter hits will
first open all default links, then close the link list. That could often
be handy!<br><BR>This version (5.4) was created by <a href="http://mdlist.free.fr" target=_blank>mdlist</a>. Credits also to Tomtom, <a href="http://www.myie2.smsnet.pl" target=_blank>Tara</a> and Ptma.<br><br>
<button class="bt" style="width:80px;text-align:center;vertical-align:10%;" HIDEFOCUS="true" onclick="javascript:ShowHelp();" title="Hides the help/info text">Hide this text.</button><br>
</SPAN></SPAN>
</td>
</tr>
<tr id="setdownload" style="display:none;">
<td colspan=3>
<SPAN style="width:100%;overflow-y:auto;text-align:center;">
<SPAN style="width:70%;overflow-y:visible;text-align:justify">
<form name=downloadselect method=post>
<br>
Select the download manager you want to use with the link list. It may be a different from the one you use in Maxthon. If you want the link list to stop between each downloaded file (if your download manager doesn't support automatic saving, for example) - check that option.<br><br>Please note: the download feature is not fully tested - may not work as supposed with every manager or file type.<br><br>
<select id="selecten" name="downloadmanager" class="sel" style="width:200px;">
<option value="">None selected</option>
<option value="FlashGet">FlashGet</option>
<option value="NetTransport">Net Transport</option>
<option value="NetAnts">NetAnts</option>
<option value="DownloadExpress">Download Express</option>
<option value="ReGet">ReGet</option>
<option value="HiDownload">HiDownload</option>
<option value="Intertnet Download Accelerator">Intertnet Download Accelerator</option>
<option value="Mass Downloader">Mass Downloader</option>
<option value="Star Downloader">Star Downloader</option>
<option value="Download Master">Download Master</option>
<option value="DLExpert">DLExpert</option>
<option value="LeechGet">LeechGet</option>
<option value="DAP">DAP</option>
</select>
<br>
<input type=checkbox name="pause" title="Makes the link list to stop between each downloaded file" value="ON"> Pause between each downloaded file<br><br>
<button class="bt" style="width:80px;text-align:center;vertical-align:10%;" title="Opens all selected links in new windows" onclick="setdownload(document.downloadselect.downloadmanager.options[document.downloadselect.downloadmanager.selectedIndex].value,document.downloadselect.pause.checked);" HIDEFOCUS="true">Set</button>
<br><br>
<button class="bt" style="width:80px;text-align:center;vertical-align:10%;" HIDEFOCUS="true" onclick="javascript:showdownload();" title="Hides this section again" >Hide Section</button>
</form>
</SPAN></SPAN>
</td>
</tr>
</table>
</div>
<div id="linklist" style="top:85px;}"></div>
<script>
function displaylinks(filter,type){
if (urllinks.length > 50) {
thistop=self.screenTop+document.body.offsetHeight/2-30;
thisleft=self.screenLeft+document.body.offsetWidth/2-75;
oWin=window.showModelessDialog("loading.htm",window,"dialogWidth:150px;dialogHeight:60px;unadorned:no;edge:sunken;help:no;resizable:no;status:no;scroll:no;dialogTop:"+thistop+";dialogLeft:"+thisleft);
setTimeout("return true;",500);
doc = oWin.document;
doc.open('text/html');
doc.write('<HTML><HEAD><TITLE>Loading...<\/TITLE><\/HEAD><body bgcolor="#FCFCFC" text="black"><table align="center" cellpadding="0" cellspacing="0" width="100%" height="100%"><tr height="100%" align="center" valign="middle"><td width="100%" height="100%" align="center" valign="middle"><p align="center"><b><font face="Arial" color="#003399">Loading list!<br>Please wait...<\/font><\/b><\/p><\/td><\/tr><\/table><\/body><\/HTML>');
doc.close();
}
filtersetting = filter;
nowfilter = filter;
filtertype = type;
nowtype = type;
var str="";
var cpt=0;
with(linklist)
{
innerHTML = "";
str += "<table><form name=UrlList method=post><col width=\"5%\"><col width=\"35%\"><col width=\"55%\"><col width=\"5%\"><tr class=\"hd\"><th>#</th><th>Link</th><th>URL</th><th><input type=checkbox title='Selects/unselects all links' name=CheckAll onClick=ToggleCheckAll()></th></tr>";
for (var i=0; i<urllinks.length; i++)
{
if(filter=="" || urllinks[i].name.toLowerCase().indexOf(filter.toLowerCase())>=0 && type=="link")
{
cpt++;
str += "<tr class=l" + cpt%2 + "><td class=\"nl\"><center>" + cpt + ".</center></td><td style=\"padding-left:2px;\">";
str += "<a href="+urllinks[i].url+ " title=\"Click to open this link\" target=new>"+urllinks[i].name+"</a>";
str += "</td><td style=\"padding-left:2px;\">";
str += "<a class=\"ulinks\" title=\"Click to copy URL\" href=javascript:void(0) onClick=copy(this)>" + urllinks[i].url + "</a>";
str += "</td><td align=center><input type=checkbox name=" + cpt + " title='Selects link to be opened'></td></tr>";
}
else
{
if(filter=="" || urllinks[i].url.toLowerCase().indexOf(filter.toLowerCase())>=0 && type=="URL")
{
cpt++;
str += "<tr class=l" + cpt%2 + "><td class=\"nl\"><center>" + cpt + ".</center></td><td style=\"padding-left:2px;\">";
str += "<a href="+urllinks[i].url+ " title=\"Click to open this link\" target=new>"+urllinks[i].name+"</a>";
str += "</td><td style=\"padding-left:2px;\">";
str += "<a class=\"ulinks\" title=\"Click to copy URL\" href=javascript:void(0) onClick=copy(this)>" + urllinks[i].url + "</a>";
str += "</td><td align=center><input type=checkbox name=" + cpt + " title='Selects link to be opened'></td></tr>";
}
}
}
str += "</form></table>";
insertAdjacentHTML("beforeEnd", str);
str = "<br><table><form name=MailList method=post><col width=\"5%\"><col width=\"35%\"><col width=\"55%\"><col width=\"5%\"><tr class=\"hd\"><th>#</th><th>Name</th><th>Email</th><th><input type=checkbox title='Selects/unselects all mail addresses' name=CheckAll onClick=ToggleCheckAllMail()></th></tr>";
for (var i=0; i<mailtos.length; i++)
{
str += "<tr class=l" + (i+1)%2 + "><td class=\"nl\"><center>";
str += (i+1);
str += ".</center></td><td style=\"padding-left:2px;\">";
str += "<a href="+mailtos[i].url+ " title=\"Click to send mail to this address\">"+mailtos[i].name+"</a>";
str += "</td><td style=\"padding-left:2px;\">";
var tmp = mailtos[i].url;
tmp = tmp.substring(7,tmp.length)
str += "<a class=\"ulinks\" title=\"Click to copy email address\" href=javascript:void(0) onClick=copy(this)>" + tmp + "</a>";
str += "</td><td align=center><input type=checkbox name=" + i + " title='Selects the address to be included in the mail'></td></tr>";
}
str += "</form></table><br>";
insertAdjacentHTML("beforeEnd", str);
}
numlinks = cpt*2;
if (window.oWin) {
oWin.close();
}
}
</script>
<script>
// written by Tara
function setSize() {
var wh=document.body.offsetHeight;
linklist.style.pixelHeight=wh-110;
helpcontent.style.pixelHeight=wh-110;
}
setSize();
</script>
<p class="refr" style="background-color:#fcfcfc;bottom:0px;">
<table style="height:100%;" cellSpacing="0"><col width="100%">
<tr>
<td style="text-align:center;">
<button class="bt" style="width:15%;" title='Reloads the link list and resets the filters' onclick="reset();document.all.filter5.value='All';document.all.filter6.value='All';history.go();this.blur();" HIDEFOCUS="true">Reset</button>
<button class="bt" style="width:15%;" title="Opens all selected links in new windows" onclick="OpenLinks();" HIDEFOCUS="true">Open Links</button>
<script language="JavaScript">
set = getCookie("filtersetting");
typ = getCookie("filtertype");
document.write("<button class='bt' style='width:15%;' title='Opens all links with your default filter selection in new windows. Active default filter: ");
if (set){
document.write(typ+"s containing ");
document.write(set);
}
else document.write("none set");
document.write("' onclick='OpenYourLinks();blur();' HIDEFOCUS='true' name='defaults'>Open Defaults</button>");
</script>
<button class="bt" style="width:15%;" title="Creates a mail addressed to all selected addresses" onclick="SendMail();" HIDEFOCUS="true">Send Mail</button>
<button class="bt" style="width:15%;" title="Downloads all selected links with your download manager" onclick="downloadthem();" HIDEFOCUS="true">Download</button>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -