If you’re using Safari on Mac and you want to quickly clear your browser history without scrolling through menus, you can take care of it with a keyboard shortcut and a click by creating a custom shortcut in System Preferences. Here̵
First we need to go to “System Preferences” to create the custom shortcut. On your Mac, click the “Apple” icon in the top left corner and select “System Preferences”.
In ‘System Preferences’, select ‘Keyboard’. In the “Keyboard” preferences, click the “Shortcuts” tab.
Click on ‘App Shortcuts’ in the sidebar menu.
Click the plus sign (+) at the bottom of the window to add a new shortcut.
A pop-up window will appear. First, click on the drop-down menu labeled ‘Application’ and select ‘Safari.app’.
In the text box, type “Menu Title” “
Clear History...Exactly. It should include the three dots at the end, as it must match the existing Safari menu command under the “History” menu.
Then select the “Keyboard Shortcut” box and type the shortcut you want to use to clear Safari browser history. We chose Shift + Command + H, but you can enter any unused keyboard combination.
Then click the “Add” button, and the shortcut will be added to the list. You are now free to close System Preferences (unless you want to adjust the keyboard shortcut after testing it.)
Open “Safari” and press the keyboard shortcut you just defined. A small pop-over window will appear with a drop-down menu and two buttons. In the “Delete” menu you can choose how much of your history is deleted. When you are done, click on the “Clear History” button.
Your Safari browsing history will be cleared to the level you selected. Safari will remember the setting you chose in the “Clear” menu, so the next time you bring up the window with your custom shortcut, just click the “Clear History” button.
If you find yourself regularly clearing your browsing history, consider trying Safari’s Private Browsing mode, a special mode that doesn’t track your browsing history. You can even configure Safari to start with a private window every time you open the app.
RELATED: Always start Safari in private browsing mode on a Mac