mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-07-01 14:29:41 +00:00
17 lines
374 B
HTML
17 lines
374 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<div id="status"></div>
|
|
</body>
|
|
<script>
|
|
addEventListener('message', function(e) {
|
|
if (e.data == 'clear') {
|
|
navigator.mozApps.getSelf().onsuccess = function() {
|
|
this.result.clearBrowserData();
|
|
document.getElementById('status').textContent = 'done';
|
|
};
|
|
}
|
|
});
|
|
</script>
|
|
</html>
|