Skip to content

Instantly share code, notes, and snippets.

@buley
Forked from mohamedmansour/background.html
Created January 14, 2011 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buley/779967 to your computer and use it in GitHub Desktop.
Save buley/779967 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<script>
// Fired when a URL is visited, providing the HistoryItem data for that URL.
chrome.history.onVisited.addListener(function(historyItem) {
// Deletes all items from the history.
chrome.history.deleteAll(function() {});
});
</script>
</head>
</html>
{
"name": "No Browsing History",
"version": "0.1",
"description": "Absolutely no browsing history while using Chrome.",
"permissions": [
"history"
],
"background_page": "background.html"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment