You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
3.5 KiB
122 lines
3.5 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>YACY: Blacklist Manager</title>
|
|
#[metas]#
|
|
</head>
|
|
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
|
|
#[header]#
|
|
<br><br>
|
|
<h2>Blacklist</h2>
|
|
<p>This function provides an url filter to the proxy; any blacklisted url is blocked
|
|
from loading. You can define several blacklists and activate them separately.
|
|
You may also provide your blacklist to other peers by sharing them; in turn you may
|
|
collect blacklist entries from other peers.</p>
|
|
|
|
<table border="0" cellspacing="10" cellpadding="0">
|
|
<tr>
|
|
<td colspan="3">
|
|
|
|
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
|
<tr>
|
|
<td valign="top">
|
|
Edit List:
|
|
<select name="blackLists" size="1">
|
|
#{blackLists}#
|
|
<option value="#[name]#" #(selected)#::selected#(/selected)#>#[name]# #(active)#not active::active#(/active)# #(shared)#not shared::shared#(/shared)#</option>
|
|
#{/blackLists}#
|
|
</select>
|
|
<input type="submit" name="changelistbutton" value="select"><br>
|
|
<br>
|
|
New List:
|
|
<input type="text" name="newlist">
|
|
<input type="submit" name="newlistbutton" value="create">
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<input type="submit" name="activatelistbutton" value="enable/disable this list"><br>
|
|
<input type="submit" name="sharelistbutton" value="share/do not share this list"><br>
|
|
<input type="submit" name="dellistbutton" value="delete this list"><br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<hr>
|
|
</td></tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<h3>Active List: #[filename]#</h3>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
these are the domain name / path patterns in this blacklist:<br>
|
|
you can select them here for deletion<br>
|
|
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="filename" value="#[filename]#">
|
|
<select name="Itemlist" size="10">
|
|
<!--<option disabled>blocked Sites</option>-->
|
|
#{Itemlist}#
|
|
::
|
|
<option value="#[item]#">#[item]#</option>
|
|
#{/Itemlist}#
|
|
</select>
|
|
<br>
|
|
<input type="submit" name="delbutton" value="Delete URL pattern">
|
|
<p>
|
|
Enter new domain name / path pattern in the form:<br>
|
|
"<domain>/<path-regexpr>":<br>
|
|
<input type="text" name="newItem" size="50"><br>
|
|
<input type="submit" name="addbutton" value="Add URL pattern">
|
|
|
|
</td>
|
|
<td bgcolor="#889988" width="1px"></td>
|
|
<td valign="top">
|
|
</form>
|
|
Import Blacklist Items from other YACY Peers:<br>
|
|
<form action="sharedBlacklist_p.html" method="get">
|
|
<input type="hidden" name="filename" value="#[filename]#">
|
|
Host: <select name="hash">
|
|
#{otherHosts}#
|
|
<option value="#[hash]#">#[name]#</option>
|
|
#{/otherHosts}#
|
|
</select>
|
|
<br>
|
|
<input type="submit" value="Load new Blacklist Items">
|
|
</form>
|
|
|
|
<p>Import Blacklist items from URL:<br>
|
|
<form action="sharedBlacklist_p.html" method="get">
|
|
<input type="hidden" name="filename" value="#[filename]#">
|
|
URL: <input type="text" name="url">
|
|
<br>
|
|
<input type="submit" value="Load new Blacklist Items">
|
|
</form>
|
|
|
|
<p>Import Blacklist items from File:<br>
|
|
<form action="sharedBlacklist_p.html" method="get">
|
|
<input type="hidden" name="filename" value="#[filename]#">
|
|
File: <input type="text" name="file">
|
|
<br>
|
|
<input type="submit" value="Load new Blacklist Items">
|
|
</form>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p>
|
|
#(status)#
|
|
::
|
|
<b>#[item]#</b> was removed from Blacklist
|
|
::
|
|
<b>#[item]#</b> was added to the BlackList
|
|
#(/status)#
|
|
|
|
|
|
#[footer]#
|
|
</body>
|
|
</html>
|