Skip to content

Instantly share code, notes, and snippets.

@mohamedmansour
Created January 9, 2011 07:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mohamedmansour/771503 to your computer and use it in GitHub Desktop.
Save mohamedmansour/771503 to your computer and use it in GitHub Desktop.
Google Chrome Extension for No Browsing History
<!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