Files
agent-police-department-cla…/options.html
T
2026-06-14 13:18:56 +00:00

49 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Agent Police Department — Options</title>
<link rel="stylesheet" href="popup.css">
<style>
body { width: 600px; margin: 20px auto; background: #f5f5f7; }
.container { background: white; border-radius: 8px; padding: 20px; }
h2 { font-size: 18px; margin-bottom: 12px; }
.setting { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.setting:last-child { border-bottom: none; }
.setting-label { font-weight: 600; font-size: 13px; }
.setting-desc { font-size: 12px; color: #666; margin-top: 4px; }
</style>
</head>
<body>
<div class="container">
<h2>🚔 Agent Police Department — Advanced Settings</h2>
<div class="setting">
<div class="setting-label">Extension Version</div>
<div class="setting-desc" id="version">1.0.0</div>
</div>
<div class="setting">
<div class="setting-label">Data Storage</div>
<div class="setting-desc">All audit logs and violations are stored locally in your browser. No data is sent to external servers.</div>
</div>
<div class="setting">
<div class="setting-label">Reset All Data</div>
<div class="setting-desc">Clear all audit logs, violations, and settings.</div>
<button id="reset-all" class="btn-secondary" style="margin-top: 8px; width: auto; padding: 8px 16px;">Reset All Data</button>
</div>
<div class="setting">
<div class="setting-label">Documentation</div>
<div class="setting-desc">Learn more about Agent Police Department at <a href="https://bunbunlabs.com/products/agent-police-department" target="_blank">bunbunlabs.com</a></div>
</div>
</div>
<script>
document.getElementById('version').textContent = chrome.runtime.getManifest().version;
document.getElementById('reset-all').addEventListener('click', async () => {
if (confirm('Are you sure? This will delete all audit logs and settings.')) {
await chrome.storage.local.clear();
alert('All data cleared. Reload the extension to reset.');
}
});
</script>
</body>
</html>