mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
* started browsingData example * Added browsingData example * Remove unwanted files * Remove logging statements * Added comments * Simplify storage inititialization * Fix review comments
41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="stylesheet" href="options.css"/>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<section class="clear-options">
|
|
<span class="title">Time range to forget:</span>
|
|
<select id="since">
|
|
<option value="hour" selected>Last hour</option>
|
|
<option value="day">Last day</option>
|
|
<option value="week">Last week</option>
|
|
<option value="forever">Forever</option>
|
|
</select>
|
|
</section>
|
|
|
|
<section class="clear-options data-types">
|
|
<div class="title" >Type of data to forget:</div>
|
|
|
|
<label>Downloads<input type="checkbox" checked="true" data-type="downloads"/></label>
|
|
<label>Cache<input type="checkbox" checked="true" data-type="cache"/></label>
|
|
<label>Passwords<input type="checkbox" data-type="passwords"/></label>
|
|
<label>History<input type="checkbox" checked="true" data-type="history"/></label>
|
|
<label>Plugin data<input type="checkbox" data-type="pluginData"/></label>
|
|
<label>Form data<input type="checkbox" data-type="formData"/></label>
|
|
<label>Cookies<input type="checkbox" data-type="cookies"/></label>
|
|
<label>Service workers<input type="checkbox" data-type="serviceWorkers"/></label>
|
|
|
|
</section>
|
|
|
|
<input type="button" value="Save preferences" id="save-button"/>
|
|
|
|
<script src="options.js"></script>
|
|
</body>
|
|
|
|
</html>
|