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 return 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/don't 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>
|