HistoryCleaner/extension/options.html
2019-06-25 11:08:59 -04:00

35 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="options.css">
</head>
<body>
<div id="box">
<table id="settings">
<tr>
<td>Number of days to keep history (set to 0 to disable)</td>
<td><input id="days" type="number" min="0"></td>
</tr>
<tr>
<td>Maximum number of visits</td>
<td><input id="visitCount" type="number" min="0"></td>
<tr>
<td>Delete Mode</td>
<td>
<select id="mode">
<option value="days">Delete older than X days</option>
<option value="visits">Delete URLs with &lt; X visits</option>
</select>
</td>
</tr>
</table>
<p>Setting the number of days will delete anything older than that amount of days. (Setting it to 7 will delete any history older than a week)</p>
<p>Setting a number of visits will cause it to delete sites only with that amount of visits or less. (Setting it to 5 will delete any URLs from your history that you only visited 5 or less times.)</p>
<p>If you have both a number of days and a number of visits set, it will delete history older than the number of days AND less than the number of visits. (Setting them to 7 and 5 will cause it to delete any is both older than a week AND has been visited 5 or less times.)</p>
</div>
<script src="webext_utilities.js"></script>
<script src="options.js"></script>
</body>
</html>