mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-23 01:32:51 +02:00
Forget it (#183)
* started browsingData example * Added browsingData example * Remove unwanted files * Remove logging statements * Added comments * Simplify storage inititialization * Fix review comments
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user