Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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>
Add Comment
Please, Sign In to add comment